Fix newly-uncovered bug when pipelining requests with HttpClient.
The headers for multiple responses could end up merged because the call to headers.clear() was happening too early. This manifested as `Content-Length: 7, 13` observed in the second pipelined response.
Showing
Please
register
or
sign in
to comment