I have a class that implements an HttpURLConnection. 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, -1 if 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