8158690: GET request via HTTP/2 has a huge delays due to Nagle’s Algorithm and Delayed ACK clash
Reviewed-by: chegar
This commit is contained in:
parent
c53f3cbcbe
commit
d90e966a97
@ -128,6 +128,7 @@ class PlainHttpConnection extends HttpConnection implements AsyncConnection {
|
||||
this.chan = SocketChannel.open();
|
||||
int bufsize = client.getReceiveBufferSize();
|
||||
chan.setOption(StandardSocketOptions.SO_RCVBUF, bufsize);
|
||||
chan.setOption(StandardSocketOptions.TCP_NODELAY, true);
|
||||
} catch (IOException e) {
|
||||
throw new InternalError(e);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user