Add me to the list of people who are experiencing this problem. Anyone
have solutions?

On Oct 16, 11:43 pm, Gil <[EMAIL PROTECTED]> wrote:
> I learned more about the problem. It always occurs after I cancel a
> GET request. By cancel I mean quit the loop that reads from the input
> stream, disconnect theHttpURLConnectionand quit the thread which
> runs the connection. NextHttpURLConnectionI create exhibits the
> problem described above. If I restart my application using Eclipse the
> problem goes away. It also goes away some time after the canceled GET
> request (simply wait a 30 seconds to a minute).
>
> On Oct 16, 5:15 pm, androidian <[EMAIL PROTECTED]> wrote:
>
> > I have the same problem.  No idea what's happening.
>
> > On Oct 16, 4:04 pm, Gil <[EMAIL PROTECTED]> wrote:
>
> > > I have a class that implements anHttpURLConnection. The class works
> > > fine most of the time. Once in a while when I perform a GET operation
> > > getResponseCode returns -1. Does anyone know under what circumstances
> > > getResponseCode returns -1? The documentation states:
>
> > > "the response code, -1if no valid response code".
>
> > > Ethereal shows that the GET request has been sent but that no bytes
> > > have been received. Also, the getResponseCode does not time out. When
> > > it fails it does so without waiting at all (typically <100ms).

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to