天天看点

Android HttpsUrlConnection eofexception --> java.io.EOFException

Here is the stack trace for each:

getResponse:

BufferedInputStream:

Thank you for any help,

Rick

EDIT I found my answer:

This was not a well documented answer. It appears in some of the newer versions of android, there is a bug with recycled url connections. To fix this (although there may be some performance issues), I needed to add:

Thanks!