lingming.yb
ed2ee02570
Connected after everything is initialized
2014-01-09 11:10:39 +08:00
Adrian Cole
2a05908124
Merge pull request #420 from square/jwilson_0107_cleanup
...
Cleanup when a job finishes, cleanly or otherwise.
2014-01-07 20:57:15 -08:00
jwilson
2fb9064eb6
Cleanup when a job finishes, cleanly or otherwise.
...
This also names the job thread.
2014-01-07 22:41:46 -05:00
Adrian Cole
bd4ef0935c
Merge pull request #419 from adriancole/hpack-lazy-clone
...
Lazy clone static table entries to avoid copying strings.
2014-01-07 17:20:11 -08:00
Adrian Cole
16ff09a9ea
Lazy clone static table entries to avoid copying strings.
2014-01-07 14:51:11 -08:00
Jesse Wilson
432c80b7f3
Merge pull request #415 from adriancole/bytestring-nits
...
feedback from #413
2014-01-07 10:36:24 -08:00
Adrian Cole
379e4ff199
feedback from #413 and a few optimizations on hpack.
2014-01-07 10:24:14 -08:00
Adrian Cole
09264ca41c
Merge pull request #418 from square/jw/update-npn
...
Remove duplication of protocols in MWS' NPN declaration.
2014-01-07 09:49:49 -08:00
Jake Wharton
efcffd0c1c
Remove duplication of protocols in MWS' NPN declaration.
2014-01-07 09:38:46 -08:00
Jesse Wilson
277c1e7865
Merge pull request #417 from lingmingyb/spdyTimeout
...
fix spdy connection timeout issue
2014-01-07 07:19:05 -08:00
lingming.yb
9cc440480a
fix spdy connection timeout issue
2014-01-07 17:44:26 +08:00
Adrian Cole
ba86cf3d98
Merge pull request #414 from square/jwilson_0106_mtu_is_dead
...
Platform.getMtu is unused.
2014-01-06 20:34:39 -08:00
jwilson
3eda83ab14
Platform.getMtu is unused.
...
This was a failed experiment.
2014-01-06 23:28:04 -05:00
Jesse Wilson
e0b64b7d10
Merge pull request #413 from adriancole/spdy-bytestring
...
Refactor SPDY code to use ByteString for headers.
2014-01-06 19:26:19 -08:00
Adrian Cole
5c787a0b9d
Refactor SPDY code to use ByteString for headers.
2014-01-06 18:51:11 -08:00
Jesse Wilson
a9157db535
Merge pull request #411 from adriancole/efficient-iteration
...
Switch list iteration to index-based as it is more efficient on android.
2014-01-06 15:51:37 -08:00
Adrian Cole
bd26cf927a
Switch list iteration to index-based as it is more efficient on android.
2014-01-06 12:44:01 -08:00
Jesse Wilson
358c4e5025
Merge pull request #412 from adriancole/bytestring
...
ByteString based on the one in wire
2014-01-06 12:37:38 -08:00
Adrian Cole
89219abb01
ByteString based on the one in wire
2014-01-06 12:22:29 -08:00
Jesse Wilson
41468517f9
Merge pull request #403 from lingmingyb/syncRequest
...
test case for syncRequest
2014-01-06 08:06:13 -08:00
Jesse Wilson
d20201a596
Merge pull request #410 from adriancole/spdy-prohibited-headers
...
portably handle prohibited headers across SPDY variants.
2014-01-06 07:57:02 -08:00
lingming.yb
57c0b5ed5b
test case for syncRequest
2014-01-06 10:51:51 +08:00
Jake Wharton
0b69a9a69a
Merge pull request #409 from square/jwilson_0105_redirect_tests
...
Code to handle redirect limits in the async API.
2014-01-05 17:53:26 -08:00
Adrian Cole
d7444f5fc4
portably handle prohibited headers across SPDY variants.
2014-01-05 16:53:13 -08:00
jwilson
f3a450bf4f
Code to handle redirect limits in the async API.
2014-01-05 19:28:35 -05:00
Adrian Cole
8e45865c13
Merge pull request #408 from adriancole/http2-draft09-comments
...
address comments from issue #400
2014-01-05 16:02:12 -08:00
Adrian Cole
656bca2dc8
address comments from issue #400
2014-01-05 15:56:56 -08:00
Jake Wharton
4b6d6db2e9
Merge pull request #407 from square/jwilson_0105_cancel
...
Tests for canceling async requests.
2014-01-05 15:06:18 -08:00
Adrian Cole
0670d011c9
Merge pull request #406 from square/jwilson_0105_order_of_init
...
Change SpdyStream to be safe for any initialization order.
2014-01-05 11:50:06 -08:00
jwilson
59a6804c91
Tests for canceling async requests.
2014-01-05 14:11:10 -05:00
jwilson
6a2062cb3f
Change SpdyStream to be safe for any initialization order.
...
Previously we were assuming a field initializer wouldn't be
run until after the constructor. It wasn't and we were getting
NullPointerExceptions looking up the bufferPool.
2014-01-05 14:10:08 -05:00
Jesse Wilson
64750d1dd1
Merge pull request #399 from square/jwilson_0104_dispatcher
...
Implement simple limits in the dispatcher.
2014-01-05 10:25:01 -08:00
Jesse Wilson
5c995ddb34
Merge pull request #400 from adriancole/http2-draft09
...
update http2 to draft 9 and hpack to draft 5
2014-01-05 08:38:29 -08:00
Jesse Wilson
87cab927b1
Merge pull request #396 from hwrdprkns/avoid_buffer_gc
...
Use AOSP ByteArrayPool to try and avoid buffer GC.
2014-01-05 07:38:41 -08:00
jwilson
a31a5192d1
Implement simple limits in the dispatcher.
...
This adds Dispatcher to the public API so that application
code can tweak the policy.
2014-01-05 10:06:24 -05:00
Jesse Wilson
c5f9449692
Merge pull request #401 from square/jw/one-six
...
Only Java 6 and up are supported now.
2014-01-05 07:01:23 -08:00
Jake Wharton
86e730f612
Only Java 6 and up are supported now.
2014-01-05 00:42:08 -08:00
Adrian Cole
68de030b35
update http2 to draft 9 and hpack to draft 5
2014-01-04 19:33:14 -08:00
Adrian Cole
d02c685a28
Merge pull request #398 from lingmingyb/timeout_issue
...
timeout issue
2014-01-04 18:34:21 -08:00
Adrian Cole
5395edcb11
Merge pull request #397 from lingmingyb/timeout_test
...
add read response header timeout case
2014-01-04 07:19:48 -08:00
lingming.yb
7c9300be5f
timeout issue
2014-01-04 15:20:58 +08:00
lingming.yb
1cfab33333
add read response header timeout case
2014-01-04 12:01:48 +08:00
Jesse Wilson
139374624c
Merge pull request #394 from square/jwilson_0102_headers_apis
...
Another round of header APIs cleanup.
2014-01-03 14:35:41 -08:00
jwilson
9417fa5c2e
Another round of header APIs cleanup.
...
This promotes Headers to a public API from the internal package.
It moves some of its methods to OkHeaders, which has been renamed
from SyntheticHeaders.
Making the Headers class public API makes it possible to remove
more exotic APIs from Request and Response like the APIs to track
headers by index rather than by name.
2014-01-03 17:36:36 -05:00
Taylor H. Perkins
8ad6e962e8
Use AOSP ByteArrayPool to try and avoid buffer GC.
...
Re-using buffers can help avoid GC and make things run more smoothly when streaming data.
squash! Use AOSP ByteArrayPool to try and avoid buffer GC.
Copy tests over and attempt at better formatting.
squash! Use AOSP ByteArrayPool to try and avoid buffer GC.
ArrayDeque is <= API level 9 :-(
squash! Use AOSP ByteArrayPool to try and avoid buffer GC.
Another attempt at formatting.
fixup! squash! Use AOSP ByteArrayPool to try and avoid buffer GC.
Indent code properly attempt.
2014-01-03 13:59:19 -08:00
Jake Wharton
8f04f6b17b
Merge pull request #395 from square/jwilson_0102_async_redirects
...
Make redirects work with the async API.
2014-01-02 21:58:20 -08:00
jwilson
b21ea3a7da
Make redirects work with the async API.
2014-01-03 00:52:16 -05:00
Jake Wharton
4ad28cde18
Merge pull request #393 from square/jwilson_0102_delegate_everything
...
Fix a bug where HTTPS POSTS were always buffered.
2014-01-02 13:12:58 -08:00
jwilson
d451e93994
Fix a bug where HTTPS POSTS were always buffered.
...
https://code.google.com/p/android/issues/detail?id=64348
2014-01-02 15:43:10 -05:00
Jesse Wilson
46fa5178bf
Merge pull request #391 from square/jwilson_0101_headers
...
Remove some 'implementation detail' headers from the public API.
2014-01-02 07:23:06 -08:00