[android-developers] Multi-threaded http requests cause exception

2010-01-27 Thread Biosopher
I have an app making an https post on one thread while performing a file download on another thread. For some odd reason, I am getting a ClientProtocolException saying that The server failed to respond with a valid HTTP response. The error goes away if everything is run on a separate thread.

Re: [android-developers] Multi-threaded http requests cause exception

2010-01-27 Thread Kevin Duffey
Is it possible the server you are reaching for is single threaded in some way that it rejects more than one request from the same client? On Wed, Jan 27, 2010 at 3:09 PM, Biosopher biosop...@gmail.com wrote: I have an app making an https post on one thread while performing a file download on

Re: [android-developers] Multi-threaded http requests cause exception

2010-01-27 Thread Dan Sherman
Important note: The post occurs to a different server than the download so the servers themselves should not be causing the problem. On Wed, Jan 27, 2010 at 6:50 PM, Kevin Duffey andjar...@gmail.com wrote: Is it possible the server you are reaching for is single threaded in some way that it