On Tue, 2019-10-22 at 11:49 -0400, Elliotte Rusty Harold wrote: > Where does HttpClient get its default values of SO_SNDBUF and > SO_RCVBUF from? Are these set i the code somewhere, and if so where? > > Or are they inherited from the JDK or the host OS? > > Thanks. >
By default HttpCore and HttpClient do not modify the default JRE / OS SO_SNDBUF and SO_RCVBUF settings. --- socket.setSoTimeout(this.sconfig.getSoTimeout()); if (this.sconfig.getSndBufSize() > 0) { socket.setSendBufferSize(this.s config.getSndBufSize()); } if (this.sconfig.getRcvBufSize() > 0) { soc ket.setReceiveBufferSize(this.sconfig.getRcvBufSize()); } --- Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org For additional commands, e-mail: httpclient-users-h...@hc.apache.org