Hi Oleg, Up until now we supported a parameter named "http.socket.buffer-size" in the pass-thru.properties (nhttp.properties) file of Synapse. The value of this parameter was used to set the corresponding parameter on HttpParams. How should this change with the new HTTP Core API?
The reason I had to ask is that I see 3 different ways to set a buffer size in the new API: IOReactorConfig.setSndBufSize() IOReactorConfig.setRcvBufSize() ConnectionConfig.setBufferSize() For the moment I've introduced 2 new parameters to the Synapse properties files and implemented the following mapping: http.socket.snd-buffer-size -> IOReactorConfig.setSndBufSize() http.socket.rcv-buffer-size -> IOReactorConfig.setRcvBufSize() http.socket.buffer-size (old parameter) -> ConnectionConfig.setBufferSize() Does this make sense? Thanks, Hiranya -- Hiranya Jayathilaka Mayhem Lab/RACE Lab; Dept. of Computer Science, UCSB; http://cs.ucsb.edu E-mail: [email protected]; Mobile: +1 (805) 895-7443 Blog: http://techfeast-hiranya.blogspot.com
