[TIMOB-850] HTTPClient keep-alive connections
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:54:26.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.4.0 |
Components | iOS |
Labels | chunked, connection, httpclient, keep-alive, transfer-encoding |
Reporter | CB |
Assignee | Reggie Seagraves |
Created | 2011-04-15T02:37:48.000+0000 |
Updated | 2014-07-01T18:13:40.000+0000 |
Description
hi,
Currently there is no way to create a keep-alive connections using Titanium.Network.HTTPClient
This is a MUST in cases where the Server response is chunked (Transfer-Encoding: chunked)
This is very urgent - for cases such as returning large JSON Strings etc.
Also - using keep alive-alive connections can boost performance since the OS can reuse the connection.
Comments
- CB 2011-04-15
should I assign this to someone? Not sure - I hope I get lucky :)
This bug is a real show stopper.
Thanks,
CB.
- Jeff Haynie 2011-04-15
looks like this is probably fixed in the latest version of ASIHTTPRequest. We'll look into upgrading for next release.
- CB 2011-04-15
I really hope that it will be possible to push this into the v1.3 milestone - this bug is killing my project :(
- Jeff Haynie 2011-04-15
it definitely won't make 1.3 since that's probably going to come out of final testing today (after almost a week of testing)
- Jeff Haynie 2011-04-15
i can't tell from your lighthouse profile if you're a professional subscriber. if you are, make sure you have a helpdesk ticket with the appropriate priority set.
- CB 2011-04-15
I'm not - my project is in bootstrap mode and we need to be able to deliver the v1 of our product before we can commit to a pro account. I noticed that v1.4 is scheduled for June - thats pretty far.. Oh well...
- Damien Elmes 2011-04-15
If this'll allow me to download multiple files from one server without a series of new connections, and it's not too much work, I'd love to see this in 1.4 too. Have Appcelerator made any local changes to the current ASIHTTPClient sources?
- Jeff Haynie 2011-04-15
I've updated to the latest ASIHttpClient which should support this.
- Damien Elmes 2011-04-15
I turned on keep-alive debugging and confirmed that keep alive is being used on subsequent connections now. Unfortunately in my case it didn't make a noticeable difference to speed of my downloads, so I'll need to look at downloading concurrently instead. But the upgraded library fixed the other problem I was having, so thanks for that.
- Ranando King 2014-07-01 This issue needs to be reopened. It exists in 3.2.3.