1
0
mirror of https://github.com/square/okhttp.git synced 2025-11-24 18:41:06 +03:00
Commit Graph

23 Commits

Author SHA1 Message Date
Jesse Wilson
7f800e6106 Convert Hpack to Kotlin (#4987)
* Rename Hpack.java to .kt

* Convert Hpack to Kotlin
2019-04-28 12:42:14 -05:00
Yuri Schimke
d04b9b0cca Skip hpack if tests are missing (#4770) 2019-03-24 14:57:25 +00:00
Jesse Wilson
dc1e870d24 Basic Gradle support 2019-03-17 00:16:26 -04:00
Jesse Wilson
dedc6ecd5b Use more AssertJ features 2019-03-14 17:57:42 -04:00
Jesse Wilson
695b46cb2e [maven-release-plugin] prepare for next development iteration 2019-03-13 23:42:40 -04:00
Jesse Wilson
44d51d0ceb [maven-release-plugin] prepare release parent-3.14.0 2019-03-13 23:42:33 -04:00
Benoît Quenaudon
6c4855a7c7 Use AssertJ in tests (#4713) 2019-03-13 21:07:33 -04:00
Jesse Wilson
bf8e653c3a Get the latest versions of things.
I used 'mvn versions:use-latest-versions' and also just a bunch of manual
fixing.
2018-12-28 15:53:46 -05:00
jwilson
d2539622e0 Fix HPACK tests to use the http2 package. 2016-07-10 11:34:02 -04:00
jwilson
8318fadb32 Fix a major bug in our HPACK encoder.
Running the HPACK regression suite shows that in some cases we may
use the wrong dynamic index after the dynamic table has been resized.

This fixes the problem and simplifies the implementation to avoid
maps with Integer values, which were difficult to reason about and
easy to get out-of-sync with the main table.
2016-07-10 11:31:30 -04:00
jwilson
3d43a8dba8 Rename FramedConnection to Http2Connection.
Also rename HttpStream to HttpCodec. This is the interface implemented
for both HTTP/1.1 and HTTP/2. The HTTP/2 codec creates a stream when
it is used.
2016-07-09 18:09:19 -04:00
jwilson
ad103f421e Use Moshi in OkHttp.
As discussed here: https://github.com/square/okhttp/pull/2492
2016-04-21 23:20:30 -10:00
jwilson
98ae0fb92c Sort imports and wrap documentation at 100 columns.
This is a mechanical refactoring. The only thing I had trouble with is IntelliJ's
weak support for <ul> tags in Javadoc.
2015-12-23 19:34:28 -05:00
jwilson
ce3e7c40ff Change groupid to com.squareup.okhttp3. 2015-12-16 19:40:48 -05:00
jwilson
c9a89876de Rename com.squareup.okhttp to okhttp3
Maven group changes will come in follow up.
2015-12-16 01:34:59 -05:00
Jake Wharton
c753d2e41b Rename 'spdy' references to 'framed' where appropriate. 2015-06-17 18:40:12 -04:00
Neil Fuller
4e08085cc8 Install an UncaughtExceptionHandler during tests
This is to make the tests more brittle around uncaught exceptions
as they are on Android. No uncaught exceptions should escape.
2015-04-14 16:55:26 +01:00
Adrian Cole
60b1dfc169 Updates to http/2 final
Http2 and Hpack have been [submitted]
(https://www.rfc-editor.org/queue2.html#draft-ietf-httpbis-http2) to the
IETF. This change removes the draft alpn identifier, and renames types
accordingly.
2015-03-11 08:18:00 -07:00
Adrian Cole
0ad37cede4 Update to h2-16, hpack-10. 2014-12-15 08:59:53 -08:00
Jesse Wilson
0316426ecf Bump pom versions to 2.1.0-SNAPSHOT. 2014-11-05 00:21:52 -05:00
Adrian Cole
1ef2c93ec1 Only read hpack tests for the current draft. 2014-10-14 09:14:50 -07:00
Adrian Cole
973cc9338a Update to h2-14 and hpack-9. 2014-09-22 11:29:40 -07:00
Wesley Tarle
ea13e5ec97 Add hpack-test-case test module.
Issue square/okhttp#931
2014-07-06 10:34:22 -07:00