You are viewing a plain text version of this content. The canonical link for it is here.
Posted to httpclient-users@hc.apache.org by Christine <ch...@christine.nl> on 2009/06/01 00:05:13 UTC

Re: "No wrapped connection"

I solved my problem by using ThreadSafeClientConnManager instead of the 
default connectionmanager. I haven't seen the problem since.
A second thing I'm currently doing is better testing if there is a 
connection at all. In a cell phone, you have to allow for disconnections 
because people move from one cell to another. You may lose a connection 
at any time. I found that my code doesn't always handle that correctly.

Christine

Oleg Kalnichevski wrote:
> Christine wrote:
>> On Mon, 2009-01-26 at 22:16 +0100, Oleg Kalnichevski wrote:
>>
>>> This is likely to be a bug in the version of HttpClient shipped with 
>>> Android. There has been quite a few changes since ALPHA5 (the 
>>> release, I believe, Android's version is based on), so the problem 
>>> may well have been fixed already. Can you try to reproduce the bug 
>>> using a test case, so I could try it locally?
>>
>> Do you mean that the bug disappears if I use the latest version of
>> httpClient instead of the one shipped with Android? I can try that...
>>
>
> Bugs rarely just disappear by themselves, but there is a chance the 
> problem got fixed along with other issues in the connection management 
> code since ALPHA5.
>
>
>> If that doesn't work, I can send you some code which almost always
>> produces the error.
>>
>
> That would be great.
>
> Oleg
>
>> Christine
>>
>>
>>
>>
>>> Oleg
>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
>>>> For additional commands, e-mail: httpclient-users-help@hc.apache.org
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
>>> For additional commands, e-mail: httpclient-users-help@hc.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> For additional commands, e-mail: httpclient-users-help@hc.apache.org
>


-- 
dagdag is just a two-character rotation of byebye.


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org