Hi Nicolas,
could you try with the same instance of the Client class? This should help.
Best regards,
Thierry Boileau
> Hi Thierry,
>
> I'm sorry, I should have mentioned: the queries I perform are *not* in
> parallel. I basically do
>
> System.setProperty("http.maxConnections", "1");
> for(int i = 0; i< 2000; i++)
> new Client(new Context(), Protocol.HTTP).handle(new Request(Method.GET,
> "http://localhost:8182"));
>
> I ran this test with both the default and Simple client connectors and
> observe up to 200 open sockets at the same time.
>
> On the other hand, running the same test using standard URLConnection
> instances only opens 1 socket.
>
> Let me know if there's anything else I can do to help you track this bug down.
>
> Cheers,
> Nicolas
>
> ------------------------------------------------------
> http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2448028
>
>
------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2448039