Just to clarify, that still begs the question - why there is no variable to hint to the underlying socket factory about the send/recv buffer sizes , for sockets though.
Any pointers to prior discussion / documentation , behind the design decision would be useful. Thanks ! On Fri, Dec 30, 2011 at 7:37 PM, Karthik K <[email protected]> wrote: > So , grep-ing further , the equivalent of that seems to be: > > org.apache.http.params.CoreConnectionPNames : SOCKET_BUFFER_SIZE > (http.socket.buffer-size) > > and used by for capacity initialization by both the r/w buffers, though. > > > > > On Fri, Dec 30, 2011 at 6:17 PM, Karthik K <[email protected]> wrote: > >> I was wondering if there is a constant for - "http.socket.receivebuffer" >> / SO_RCVBUF in the httpclient 4.x codebase . >> >> The older ones seems to have it here - >> o.a.commons.httpclient.params.HttpConnectionParams.SO_RCVBUF ( as per docs, >> http://hc.apache.org/httpclient-3.x/apidocs/constant-values.html ). >> >> org.apache.http.params.CoreConnectionPNames seems to have other (SO_*) >> constants , but not this. >> Any hints / suggestions ? >> >> >> >> -- >> Karthik. >> >> >> >> >
