Keean Schupke wrote:
2009/5/3 Oleg Kalnichevski <[email protected]>:
There is no point forcing the client to keep a connection open if the server
is not going to do likewise. Per default HttpClient tries to reuse every
connection that can be reused.

You need to find out why HttpClient considers those connections
non-reusable. Turn on wire/context logging as described here [1] and post
the log to this list.

As I pointed out the server is keeping the connection open and
accepting more requests... this is confirmed by manually pasting the
requests into a telnet session.


Huh? Telneting to an SSL protected port? How exactly do you manage to get the SSL handshaking done by typing to a terminal?


I dont think I can get the android SDK to produce those logs? There
doesn't seem to be a way to pass those args to the JVM either on the
handset or the emulator.

Is there any other way to find out why HttpClient thinks the
connection is closed?


Reproduce the issue in a standalone application using the stock version of HttpClient.

Oleg

Regards,
Keean.

Oleg

[1] http://hc.apache.org/httpcomponents-client/logging.html

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to