Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: LinQuickDev/brpc
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: apache/brpc
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 16 commits
  • 68 files changed
  • 7 contributors

Commits on Nov 19, 2026

  1. Configuration menu
    Copy the full SHA
    f09379c View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2026

  1. reject bare LF and CTLs in http chunk extensions (apache#3758)

    * reject bare LF and CTLs in http chunk extensions
    
    * test valid chunk extension as control before mutating it
    sahvx655-wq authored Nov 20, 2026
    Configuration menu
    Copy the full SHA
    eb20139 View commit details
    Browse the repository at this point in the history
  2. Support RDMA SRQ (apache#3720)

    * Support RDMA SRQ
    
    * Fix socket reference ownership in RDMA test helpers
    
    * Improve SRQ progress efficiency, receive handling, and failure isolation
    
    * Update RDMA documents
    chenBright authored Nov 20, 2026
    Configuration menu
    Copy the full SHA
    51e26d5 View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2026

  1. Configuration menu
    Copy the full SHA
    9329edd View commit details
    Browse the repository at this point in the history
  2. perf(butil): use isb instead of yield for cpu_relax on ARM64 (apache#…

    …3755)
    
    * test(butil): add unit test verifying cpu_relax uses isb on ARM64
    
    Signed-off-by: James Lamb <admin@oranged.to>
    
    * perf(butil): use isb instead of yield for cpu_relax on ARM64
    
    Signed-off-by: James Lamb <admin@oranged.to>
    
    ---------
    
    Signed-off-by: James Lamb <admin@oranged.to>
    jimmystewpot authored Nov 21, 2026
    Configuration menu
    Copy the full SHA
    2c4b3cd View commit details
    Browse the repository at this point in the history
  3. fix(bazel): use @bazel_tools//src/conditions:darwin in test/BUILD.baz…

    …el for Apple Silicon (apache#3764)
    
    * fix(bazel): use @bazel_tools//src/conditions:darwin in test/BUILD.bazel
    
    Signed-off-by: James Lamb <admin@oranged.to>
    
    * fix(bazel): use @platforms//os:macos constraint in //bazel/config:darwin
    
    Signed-off-by: James Lamb <admin@oranged.to>
    
    ---------
    
    Signed-off-by: James Lamb <admin@oranged.to>
    jimmystewpot authored Nov 21, 2026
    Configuration menu
    Copy the full SHA
    5420bd2 View commit details
    Browse the repository at this point in the history
  4. Fix ObjectPool block item count race (apache#3675)

    * Fix ObjectPool block item count race
    
    * Fix object pool cleanup synchronization
    songgaoye authored Nov 21, 2026
    Configuration menu
    Copy the full SHA
    ee79e7c View commit details
    Browse the repository at this point in the history
  5. Fix bound InputMessenger non-protocol handlers (apache#3714)

    * fix: bound InputMessenger non-protocol handlers
    
    * Fix non-protocol handler capacity logging and test setup
    songgaoye authored Nov 21, 2026
    Configuration menu
    Copy the full SHA
    1b075b2 View commit details
    Browse the repository at this point in the history
  6. fix: preserve optional value lifetime (apache#3724)

    * fix: preserve optional value lifetime
    
    * Fix copy and move traits for C++14 optional
    
    * Fix converting optional move semantics
    
    * Fix optional swap noexcept specification
    songgaoye authored Nov 21, 2026
    Configuration menu
    Copy the full SHA
    6347867 View commit details
    Browse the repository at this point in the history
  7. fix(ubshm): reject truncated shared memory names (apache#3728)

    * fix(ubshm): reject truncated shared memory names
    
    * test(ubshm): cover overlong peer names in server handshake
    
    * fix(ubshm): preserve shared memory name logging
    songgaoye authored Nov 21, 2026
    Configuration menu
    Copy the full SHA
    8b17e15 View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2026

  1. Support RDMA for FlatBuffers RPC (apache#3746)

    * Support RDMA for FlatBuffers RPC
    
    * Separate FlatBuffers RDMA tests from the default test suite
    
    * Fix FlatBuffers RDMA allocation fallback and add CI coverage
    
    * Fix RDMA memory deregistration during shutdown
    chenBright authored Nov 23, 2026
    Configuration menu
    Copy the full SHA
    73ccf6a View commit details
    Browse the repository at this point in the history

Commits on Nov 24, 2026

  1. keep rejected lengthSizeMinusOne out of AVCDecoderConfigurationRecord (…

    …apache#3625)
    
    * keep rejected lengthSizeMinusOne out of AVCDecoderConfigurationRecord
    
    * parse AVCDecoderConfigurationRecord into a copy and commit on success
    sahvx655-wq authored Nov 24, 2026
    Configuration menu
    Copy the full SHA
    3a285cd View commit details
    Browse the repository at this point in the history
  2. Validate C1 before claiming a connection as rtmp (apache#3766)

    * Validate C1 before claiming a connection as rtmp
    
    * Decide rtmp match from C1 version before C0+C1 is complete
    
    ---------
    
    Co-authored-by: brpc-oncall <brpc-oncall@localhost>
    wwbmmm and brpc-oncall authored Nov 24, 2026
    Configuration menu
    Copy the full SHA
    d39ac64 View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2026

  1. clear F_CHUNKED when a new Transfer-Encoding line starts (apache#3644)

    * clear F_CHUNKED when a new Transfer-Encoding line starts
    
    * clear F_CHUNKED at the Transfer-Encoding colon so empty values reset it
    sahvx655-wq authored Nov 25, 2026
    Configuration menu
    Copy the full SHA
    7c56210 View commit details
    Browse the repository at this point in the history
  2. fix(ubshm): create ring segments with owner-only permissions (apache#…

    …3765)
    
    * fix(ubshm): create ring segments with owner-only permissions
    
    Ring segments were created with mode 0666, so any local user could open
    and map an active connection's segments, whose names are predictable, and
    then read or rewrite the payloads.
    
    Create the segments with mode 0600 instead. Both the POSIX IPC backend and
    the UBS backend now use a single SHM_SEGMENT_MODE constant, and the client
    and the server are required to run as the same user.
    
    Add a unittest that creates an IPC segment under a permissive umask, checks
    that its permission bits are 0600, and verifies that a peer can still map
    it. The UBS allocation depends on the external ubsm SDK, which is not
    available in unit tests, so only the constant it passes to
    ubsmem_shmem_allocate is checked.
    
    * test(ubshm): check permissive umask case in a child process
    
    umask is process-wide, so setting it to 0 in the test could widen the
    permissions of a file created concurrently by a background thread. Fork a
    child process for the permissive-umask check instead and keep the umask of
    the test process untouched.
    
    * test(ubshm): run the umask check in an exec'd process
    
    Calling into the allocator in a child forked from the multithreaded test
    process is unsafe: the child may inherit a mutex held by a thread that no
    longer exists and deadlock, which also blocks the parent in waitpid.
    
    Spawn the permissive-umask check as a fresh exec'd process instead. The
    child is exec'd right after fork() and re-runs creates_owner_only_segment
    with an env var that makes it set umask(0).
    
    * docs(ubshm): note the same-user requirement applies to UBS too
    
    UbsShmLocalMalloc passes the same 0600 creation mode to the ubsm SDK, so
    processes that create and map a UBS segment must also run as the same
    user. Document it and make the constant test spell out the implication.
    
    Also terminate the executable path explicitly before execv(), since
    butil::GetProcessAbsolutePath does not guarantee a NUL terminator.
    
    ---------
    
    Co-authored-by: brpc-oncall <brpc-oncall@localhost>
    wwbmmm and brpc-oncall authored Nov 25, 2026
    Configuration menu
    Copy the full SHA
    c86b2b6 View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2026

  1. Fix ListOfABAFreeId::add() dropping new id after GC (apache#3776)

    * Fix ListOfABAFreeId::add() dropping new id after GC
    
    * test: tighten EAGAIN check in AbaListTest.TestGcPreservesAddedIds
    aschenmaker authored Nov 26, 2026
    Configuration menu
    Copy the full SHA
    e20a3e0 View commit details
    Browse the repository at this point in the history
Loading