Hi!
On Wed, Dec 24, 2014 at 10:01:41AM +0000, Andy Seaborne wrote:
> What i think is happening is that if you don't do the close, then
> the connection isn't return to the pool and a new one is created
> when the next request comes in. Hence lots of connections all the
> way through to the server.
Hmm, I don't see reusing of connections even when I do .close(),
though. I'll take look later if I can easily make it reuse connections
with a custom http client class.
Still, I think it'd be worthwhile to time out open connections on the
Fuseki server side after a while. Otherwise, it is e.g. trivial to DDoS
a server open to the internet.
--
Petr Baudis
If you do not work on an important problem, it's unlikely
you'll do important work. -- R. Hamming
http://www.cs.virginia.edu/~robins/YouAndYourResearch.html