[TIMOB-184] Android: HTTPClient blocks on read after isStreaming is false
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:52:16.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 0.8.0 |
Components | Android |
Labels | android, defect |
Reporter | Don Thorp |
Assignee | Don Thorp |
Created | 2011-04-15T02:25:00.000+0000 |
Updated | 2011-04-17T01:52:16.000+0000 |
Description
A server that doesn't close its connection after the data is transmitted and has an undetermined contentLength, causes the client to block on read of the InputStream.
(from [965380f4b17c456baa38b155f884cc99aefd8e54]) [#184 state:resolved] use the isStreaming property to determine whether to go back into the read loop or break; Need for contentLength -1 and server not closing connection http://github.com/appcelerator/titanium_mobile/commit/965380f4b17c456baa38b155f884cc99aefd8e54"> http://github.com/appcelerator/titanium_mobile/commit/965380f4b17c4...