merlimat commented on issue #5361: [proxy] Fix proxy to be able to re-send 
request body
URL: https://github.com/apache/pulsar/pull/5361#issuecomment-541156217
 
 
   > not sure of an easy way to unit test it 
   
   I think it should be happening each time the proxy is handling a 307 and the 
request has a body.
   In 
https://github.com/apache/pulsar/blob/789075013b404780a62c89b2acfea343680d73b3/tests/integration/src/test/java/org/apache/pulsar/tests/integration/auth/token/PulsarTokenAuthenticationBaseSuite.java#L250-L254
   
   I was forcing multiple GET request to the proxy. The idea is that the proxy 
will round-robin the requests on the available brokers. 
   
   We could do the same for a PUT/POST request.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to