manish-kukreja / ksoap2-android

Automatically exported from code.google.com/p/ksoap2-android
0 stars 0 forks source link

java.io.EOFException : ReadasciiLine #199

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
This occurs frequently on newer Android due to bug in HTTPTransportSE. Also 
reported here: 
http://stackoverflow.com/questions/15411213/android-httpsurlconnection-eofexcept
ion

To Fix:
Add line

connection.setRequestProperty("Connection", "close");

in HttpTransportSE.java around line 173, i.e. after calling ServiceConnection 
connection = getServiceConnection()
This is in module ksoap2-jse in org.ksoap2.transport

Original issue reported on code.google.com by dirk.coe...@gmail.com on 2 Oct 2014 at 9:00