aboutsummaryrefslogtreecommitdiffstats
path: root/AndroidAsync/src/com/koushikdutta/async/http
Commit message (Collapse)AuthorAgeFilesLines
* apache http is deperacated, comment out test until rewrittenKoushik Dutta2015-09-142-13/+18
| | | | add AsyncServerHttpResponse.send(byte[])
* api 23, remove deprecated apache http stuff.Koushik Dutta2015-08-309-157/+638
|
* Handle cases where the transport becomes null during the socketIO heartbeat.Jason Adams2015-07-241-1/+4
|
* Manually closing AsyncHttpResponse should also terminate the socket.Koushik Dutta2015-06-282-14/+24
|
* add onPing() support to client can be ware of the pings sent by serverchengg112015-06-193-1/+20
|
* mimes on streams.Koushik Dutta2015-05-272-2/+11
| | | | no chunked necessary for connection:close
* min sdk, explicitly choose charsetKoushik Dutta2015-05-211-1/+2
|
* Fix spdy negotiation.Koushik Dutta2015-05-122-4/+17
| | | | https://github.com/koush/ion/issues/559#issuecomment-101411986
* Fix proxying to not require transparent proxying. This was a regression.Koushik Dutta2015-04-182-29/+4
| | | | At some point getProxyRequestLine call was removed.
* Revert "fix issue 461"Koushik Dutta2015-03-161-2/+2
| | | | This reverts commit 98a9d50ec4e466ee8d84be47e0a7bab6434e7d0f.
* fix issue 461mkoslacz2015-03-161-2/+2
| | | | | I have managed to apply workaround to issue #461 mentioned here: https://github.com/koush/ion/issues/461 based on this commit https://github.com/candrews/HttpResponseCache/commit/a93c92d1d8b87778ac7bb2fa2fe2759e7ca06219 I use local copy of MessageDigest in com.koushikdutta.async.util.FileCache instead of getting instance of MessageDigest each time. It prevents from occuring java.util.ConcurrentModificationException at com.koushikdutta.async.util.FileCache.toKeyString().
* Reverting as this is causing tests to fail. Common behavior is to accept the ↵Koushik Dutta2015-03-071-13/+4
| | | | | | | | | | POST and then redirect to another page. This causes the POST to happen twice. Revert "Redirected requests now keep the same request method, body and headers as the original one." This reverts commit 6ae6e0c38b025fe87c3ace8599d92b055231b738.
* Redirected requests now keep the same request method, body and headers as ↵glennporter-examtime2015-03-051-4/+13
| | | | the original one.
* 207: better npe fix. handle callbackKoushik Dutta2015-02-211-1/+1
|
* fix npeKoushik Dutta2015-02-211-1/+1
|
* fix multipart setContentType not actually doing anything.Koushik Dutta2015-02-151-1/+1
| | | | https://github.com/koush/ion/issues/398
* potential fix for issue 484Koushik Dutta2015-02-152-56/+97
| | | | https://github.com/koush/ion/issues/484
* null check headerKoushik Dutta2015-02-111-1/+1
|
* watch for cr or lfKoushik Dutta2015-02-111-0/+2
|
* reexpose default content type for file bodiesKoushik Dutta2015-01-301-1/+3
|
* Add AsyncHttpPut class for PUT operationsUrmil Parikh2015-01-271-0/+15
|
* FileBody: Allow setting custom content-typeUrmil Parikh2015-01-271-2/+12
|
* Fix other potential reentrancy issues.Koushik Dutta2015-01-191-2/+5
|
* fix for keep alive socket stack overflow caused by reentrancy.Koushik Dutta2015-01-191-0/+2
| | | | https://github.com/koush/AndroidAsync/issues/309
* 205Koushik Dutta2015-01-121-0/+3
|
* more logging around proxyingKoushik Dutta2015-01-121-1/+3
|
* fix ssl hang, even if spdy is disabledKoushik Dutta2015-01-021-5/+7
|
* Merge pull request #294 from pappz/patch-1Koushik Dutta2014-12-281-1/+1
|\ | | | | Update WebSocketImpl.java
| * Update WebSocketImpl.javapappz2014-12-091-1/+1
| | | | | | Fix the newline character in the "Sec-WebSocket-Accept" headers's value.
* | Merge pull request #297 from zbsz/tls-proxy-fixKoushik Dutta2014-12-281-11/+7
|\ \ | | | | | | Fix SSL proxy tunnelling.
| * | Fix SSL proxy tunneling.Zbigniew Szymański2014-12-151-11/+7
| |/ | | | | | | | | | | Added Host header to CONNECT request, required by some proxies (for example 724 Solutions on swiss network). Changed status line handling to allow any 2xx response code. Removed check for empty second line, proxy is allowed to send any number of headers after status line in response.
* | Fix https://github.com/koush/AndroidAsync/issues/299Koushik Dutta2014-12-221-1/+2
| | | | | | | | HTTP Message is optional.
* | Fix SSL race condition exposed in new GMS:Koushik Dutta2014-12-221-2/+7
| | | | | | | | | | | | wrap can invoke handshake completion, and triggering writable immediately will end up being a no op, as it is already wrapping, and the callback returns without writing anything.
* | Use reflection to enable SNI in the SSLEngine when available.Koushik Dutta2014-12-212-1/+65
| | | | | | | | | | Conflicts: AndroidAsync/AndroidAsync-AndroidAsync.iml
* | better logging in spdy.Koushik Dutta2014-12-211-11/+10
| | | | | | | | Tweak the ordering of spdy operations so connection are fulfilled in order of initiation.
* | Fix up various race and reuse issues around spdy.Koushik Dutta2014-12-212-12/+26
| |
* | Fix dangling connection issues in SPDYKoushik Dutta2014-12-201-16/+61
| |
* | Fix SPDY data fin issue being sent with a 0 length packet.Koushik Dutta2014-12-203-2/+20
| | | | | | | | More detailed logging. Note that there is a possible connection termination issue.
* | This SNI hack seems to cause issues.Koushik Dutta2014-12-192-65/+1
|/ | | | | | | | | | | https://github.com/koush/ion/issues/443 Revert "Use reflection to enable SNI in the SSLEngine when available." This reverts commit fb81e9912307c64a5311d9afb8c42b0e47a3fc73. Conflicts: AndroidAsync/AndroidAsync-AndroidAsync.iml
* Use reflection to enable SNI in the SSLEngine when available.Koushik Dutta2014-12-082-1/+65
|
* Response cache close should clean up the cached stream.Koushik Dutta2014-12-011-0/+6
| | | | This prevents noisy data coming through.
* ResponseCacheMiddleware: use super.onDataAvailable vs Util.onDataAvailableKoushik Dutta2014-12-011-2/+2
| | | | If the request is cancelled, the super.onDataAvailable will eat spewed data.
* BUbble up SSL exceptionsKoushik Dutta2014-12-011-1/+3
|
* Revert "Fixing pattern match to replace only the first matched group."Koushik Dutta2014-11-111-8/+4
| | | | This reverts commit e23ad66699c19b434fdd8a5ffdf8c6c87b2db7ea.
* Preserve header casing.Koushik Dutta2014-11-102-8/+26
| | | | Fix sample.
* Fix crash bug when cancelling requests being cached.Koushik Dutta2014-11-071-1/+7
| | | | https://github.com/koush/ion/issues/252#issuecomment-62217371
* pass in the GetSocketData to the engine configurators.Koushik Dutta2014-11-063-9/+21
|
* Merge remote-tracking branch 'origin/master' into spdyKoushik Dutta2014-11-039-29/+102
|\ | | | | | | | | | | | | | | Conflicts: AndroidAsync/src/com/koushikdutta/async/http/AsyncHttpClient.java AndroidAsync/src/com/koushikdutta/async/http/server/AsyncHttpServer.java AndroidAsync/src/com/koushikdutta/async/http/socketio/transport/WebSocketTransport.java AndroidAsync/test/src/com/koushikdutta/async/test/WebSocketTests.java
| * Merge pull request #258 from surfstudio/session_idKoushik Dutta2014-11-024-9/+25
| |\ | | | | | | Expose socket io session id to SocketIOTransport
| | * socket io transport stores session idAlexander Maxakov2014-10-074-9/+25
| | |