hacksong / jsonrpc4j

Automatically exported from code.google.com/p/jsonrpc4j
0 stars 0 forks source link

JSONRpcHttpClient opening connection for each request #45

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
JSONRpcHttpClient opens a new connection for each request because streams 
aren't closed properly.

I appended a fix and a loadtest (patch against rev. 238666) to see if the
system runs out of sockets.

To reproduce the problem run the loadtest with the fix (JsonRpcHttpClient.java) 
not applied.

Btw. I would love to see your project on github - would be much more 
comfortable to contribute.. :)

regards, Eduard

Original issue reported on code.google.com by eduard.s...@gmail.com on 10 Dec 2012 at 4:36

Attachments:

GoogleCodeExporter commented 9 years ago
good work, i'll take a look at this soon.

Original comment by brian.di...@gmail.com on 30 Jan 2013 at 5:30

GoogleCodeExporter commented 9 years ago
patch applied, thanks.

Original comment by brian.di...@gmail.com on 16 Feb 2013 at 8:53