On Fri, 10 Oct 2025 15:38:58 GMT, Daniel Fuchs <[email protected]> wrote:

> We heavily use the HttpServer to test the HttpClient HTTP/1.1 stack. In the 
> Httpclient, we wanted to test that if the server didn't send 100, the client 
> would send the body after a reasonable timeout. Then we wanted to test that 
> the 100 would be ignored if it came after the client had started to send the 
> body. We also wanted to test that additional 100 would be ignored.

Adding auto-send in `getRequestBody().read()` allows this though? put a sleep 
in the handler before `getRequestBody().read()`. You have control if/when the 
100 is sent, no new public method required.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/27069#issuecomment-3390863439

Reply via email to