void-ptr974 opened a new pull request, #4802:
URL: https://github.com/apache/bookkeeper/pull/4802

   ### Motivation
   Server-side routing proxies table requests as InputStreams. When routing 
header interception fails after reading the stream, forwarding the same stream 
sends an already-consumed request to the backend.
   
   ### Changes
   - Preserve the original request bytes before attempting to mutate the 
routing header.
   - Rebuild the original request stream on interception failure.
   - Add a regression test for the fallback path.
   
   ### Testing
   - mvn -pl stream/storage/impl -am -P '!mac,!cargo-zigbuild' -DstreamTests 
-Dtest=RoutingHeaderProxyInterceptorTest 
-Dsurefire.failIfNoSpecifiedTests=false test


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to