Adrian Cole
0c008f34b1
Merge pull request #439 from square/jwilson_0112_flatten_android
...
Flatten Android platforms.
2014-01-12 18:47:22 -08:00
jwilson
5c84000ca3
Flatten Android platforms.
...
In preparation for addition of ALPN, which would add a
third class, where inheritance starts to break.
2014-01-12 21:37:06 -05:00
Marcelo Cortes
8d9c85bcb3
Merge pull request #435 from square/jwilson_0112_latest_vogar
...
Update steps to run tests on-device.
2014-01-12 08:13:10 -08:00
jwilson
c05cb7e93c
Update steps to run tests on-device.
2014-01-12 11:13:21 -05:00
Marcelo Cortes
77368806f3
Merge pull request #434 from intrications/patch-1
...
Correct spelling mistake in change log.
2014-01-12 07:50:01 -08:00
Marcelo Cortes
c4696e8ee0
Merge pull request #432 from square/jwilson_0112_threadnames
...
Use thread names everywhere.
2014-01-12 07:45:40 -08:00
Michael Basil
c05949c483
Correct spelling mistake in change log.
2014-01-12 15:14:55 +00:00
jwilson
749a65b776
Use thread names everywhere.
...
Sometimes we name a thread both via its ExecutorService
and via a NamedRunnable. The ExecutorService thread needs
to be named because threads are cached and will be visible
in a thread dump even when no runnables are running.
NamedRunnables are also used because they provide additional
context: the host or URL being serviced by a thread.
2014-01-12 09:47:56 -05:00
Jake Wharton
faea360ddf
Toward a 2.0!
2014-01-11 18:59:47 -08:00
Jake Wharton
f7af480a06
Update change log for cherry-picked commits.
...
(cherry picked from commit 43fbe22f0f )
2014-01-11 18:46:19 -08:00
Adrian Cole
9be60ae66e
Merge pull request #428 from adriancole/hpack-huffman
...
Implement huffman decoding using code from twitter/hpack
2014-01-11 14:22:22 -08:00
Adrian Cole
1b8a7c02bf
implement huffman decoding using code from twitter/hpack
2014-01-11 14:07:21 -08:00
Jesse Wilson
40a8d2ee3a
Merge pull request #431 from square/jwilson_0111_cache_control
...
New CacheControl class.
2014-01-11 14:03:02 -08:00
jwilson
684aa14bca
New CacheControl class.
...
This moves cache control headers from the main request
and response classes to their own class.
2014-01-11 15:37:10 -05:00
Jesse Wilson
8e4c591f57
Merge pull request #430 from square/jwilson_0111_timely_stream_discarding
...
Fix a bug where discardStream took way too long.
2014-01-11 10:38:02 -08:00
jwilson
c6888734b4
Fix a bug where discardStream took way too long.
...
We were relying on the socket timeout of a single read,
but performing multiple reads each with independent
timeouts.
2014-01-11 13:37:48 -05:00
Jake Wharton
796467b438
Update change log.
2014-01-11 00:28:37 -08:00
Adrian Cole
6727caa032
Merge pull request #427 from square/jwilson_0109_more_docs
...
Small docs fixes. Remove OkHttp 2 warnings.
2014-01-10 07:57:06 -08:00
jwilson
9eb276043f
Small docs fixes. Remove OkHttp 2 warnings.
2014-01-10 10:01:32 -05:00
Adrian Cole
81c99d24c9
Merge pull request #425 from square/jwilson_0109_retransmit
...
Test that POST bodies are retransmitted on redirect.
2014-01-09 21:02:40 -08:00
jwilson
8acdabd3b3
Test that POST bodies are retransmitted on redirect.
2014-01-09 22:18:36 -05:00
Adrian Cole
6c4a0f01ab
Merge pull request #423 from adriancole/optimize-bitset
...
Change header table to array and track references with long
2014-01-09 14:19:15 -08:00
Adrian Cole
38a5b93da0
add http2 api example: https://twitter.com
2014-01-09 13:20:35 -08:00
Adrian Cole
287152568a
Changed HeaderEntry to be immutable and refactored to use array/bitset for table and references.
2014-01-09 13:20:17 -08:00
Jesse Wilson
34ad7ecf40
Merge pull request #421 from lingmingyb/test_spdyTimeout
...
Testcase for spdy connection socket timeout.
2014-01-09 09:00:00 -08:00
Jesse Wilson
839b74cf74
Merge pull request #424 from lingmingyb/nullpointer
...
Connected after everything is initialized
2014-01-09 08:58:45 -08:00
lingming.yb
ed2ee02570
Connected after everything is initialized
2014-01-09 11:10:39 +08:00
lingming.yb
3aa708978d
Testcase for spdy connection socket timeout.
2014-01-09 10:44:29 +08:00
Adrian Cole
497bedce26
Merge pull request #422 from adriancole/extra-alloc-headers
...
Remove unnecessary allocation in building Headers.
2014-01-08 11:02:15 -08:00
Adrian Cole
576530cdf0
Remove unnecessary allocation in building Headers.
2014-01-08 10:51:32 -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