1
0
mirror of https://github.com/square/okhttp.git synced 2026-01-18 20:40:58 +03:00
Commit Graph

104 Commits

Author SHA1 Message Date
jwilson
7298bee253 [maven-release-plugin] prepare release parent-2.4.0 2015-05-22 19:47:47 -04:00
jwilson
a96c439a91 [maven-release-plugin] prepare for next development iteration 2015-05-16 17:03:20 -04:00
jwilson
5cc7dba3ad [maven-release-plugin] prepare release parent-2.4.0-RC1 2015-05-16 17:03:16 -04:00
jwilson
26401d8162 Use Okio 1.4.0 final. 2015-05-16 14:30:03 -04:00
jwilson
d5184eb920 Build a harness for web platform tests.
This imports results from a few major browsers so we don't waste time
trying to pass tests that we shouldn't necessarily pass.
2015-05-02 14:51:59 -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
jwilson
0237d3c3f2 [maven-release-plugin] prepare for next development iteration 2015-03-16 22:28:12 -04:00
jwilson
c49eedeba3 [maven-release-plugin] prepare release parent-2.3.0 2015-03-16 22:28:09 -04:00
Neil Fuller
7f63814e91 Remove -SNAPSHOT from okio version
This seems to be required for me to build successfully.
2015-03-16 16:02:31 +00:00
Jake Wharton
0b2ef95640 Move WebSocket to the public API in a sibling module. 2015-03-11 12:24:58 -04:00
jwilson
ef47c446a2 Use Okio's new APIs for number parsing and formatting. 2015-02-22 17:50:03 -05:00
Neil Fuller
c9b0262c40 Create a new maven artifact to hold things needed for Android embedding
okhttp-android-support contains classes needed for Android embedding and
not for normal OkHttp development. The classes here can be excluded from
okhttp-urlconnection, shrinking that artifact. More classes will be
added to this component to make Android maintenance easier.
2015-01-12 10:55:17 +00:00
Jake Wharton
36b844cef5 Remove ALPN jars from dependencies block.
These aren't needed since the full dependency is declared directly on the plugin below.
2015-01-04 17:21:28 -08:00
Jesse Wilson
1d86439e90 [maven-release-plugin] prepare for next development iteration 2014-12-30 21:52:35 -05:00
Jesse Wilson
6aef5ab3c5 [maven-release-plugin] prepare release parent-2.2.0 2014-12-30 21:52:33 -05:00
Jesse Wilson
487c7545b6 Bump Okio dependency to 1.2.0. 2014-12-30 21:46:57 -05:00
Jesse Wilson
03bb6befe2 Update ALPN.
This may fix flakiness in CallTest.matchingPinnedCertificate
2014-12-27 14:33:51 -05:00
Jesse Wilson
955934836f Merge remote-tracking branch 'nfuller/ChangeAlpnNpnSupport' into nfuller_ChangeAlpnNpnSupport
* nfuller/ChangeAlpnNpnSupport:
  Remove NPN support from OkHttp

Conflicts:
	okhttp/src/main/java/com/squareup/okhttp/Protocol.java
	pom.xml
2014-12-26 18:12:57 -05:00
Jake Wharton
117ebac9e2 Update to Okio 1.1.0. 2014-12-15 19:26:51 -08:00
Neil Fuller
4d068212aa Remove NPN support from OkHttp
Work in progress.

I see a new failure from a certificate pinning test but I don't
know why. Help solving this would be appreciated.

I also see failures before & after:
1) A failure from DisconnectTest
(https://github.com/square/okhttp/pull/1197 may fix that).
2) A failure from CallTest.doesNotFollow21Redirects_Async (timeout)

The maven changes should be treated with the contempt they deserve.
I mostly removed things I didn't understand and stroked maven until
it stopped squealing. The benchmarks / okcurl changes are a
particular mystery.

Tried with arbitrary versions of openjdk7 and openjdk8 I had
lying around. Behavior was the same across both (i.e. the same
failures).
2014-12-15 14:29:08 +00:00
Jake Wharton
789b536cb3 Working towards 2.2.0. 2014-11-29 18:15:31 -08:00
Jesse Wilson
7ec881f29b Expose cipher suites and TLS versions using enums. 2014-11-11 00:30:44 -05:00
Jesse Wilson
ec1b266f1d [maven-release-plugin] prepare for next development iteration 2014-11-05 02:12:03 -05:00
Jesse Wilson
7b6771bb29 [maven-release-plugin] prepare release parent-2.1.0-RC1 2014-11-05 02:12:01 -05:00
Jesse Wilson
027618dfdc Exclude the hpacktests submodule. 2014-11-05 02:06:50 -05:00
Jesse Wilson
0316426ecf Bump pom versions to 2.1.0-SNAPSHOT. 2014-11-05 00:21:52 -05:00
Jake Wharton
361374300a Bump Okio dependency. 2014-08-08 16:25:06 -07:00
Wesley Tarle
ea13e5ec97 Add hpack-test-case test module.
Issue square/okhttp#931
2014-07-06 10:34:22 -07:00
Jesse Wilson
f2d5fcbd40 [maven-release-plugin] prepare for next development iteration 2014-06-21 00:02:22 -04:00
Jesse Wilson
a3c18f69c9 [maven-release-plugin] prepare release parent-2.0.0 2014-06-21 00:02:19 -04:00
Andrew Gaul
5794a6518b Upgrade to Bouncy Castle 1.50
Release notes:

https://www.bouncycastle.org/releasenotes.html
2014-06-20 16:07:53 -07:00
Jake Wharton
cdd71f1bbd Update the language level to Java 7. 2014-06-17 13:36:42 -07:00
Jesse Wilson
2cea341be1 [maven-release-plugin] prepare for next development iteration 2014-06-11 01:36:58 -04:00
Jesse Wilson
f171096b11 [maven-release-plugin] prepare release parent-2.0.0-RC2 2014-06-11 01:34:55 -04:00
Jesse Wilson
cc92c4cecc [maven-release-plugin] prepare for next development iteration 2014-05-24 02:03:47 -04:00
Jesse Wilson
8dcc74d339 [maven-release-plugin] prepare release parent-2.0.0-RC1 2014-05-24 02:03:37 -04:00
Jesse Wilson
dbbdcd3a39 Don't use the property bootclasspath; that collides with the javadoc plugin. 2014-05-24 01:28:15 -04:00
Jesse Wilson
abdf14c400 Depend on Okio 1.0.0. 2014-05-24 00:31:13 -04:00
Jesse Wilson
271cc7b632 First steps at making URLConnection a shim.
This extracts the URLConnection APIs to their own project. I still need to
go back and clean up some names in tests, add documentation, and move the
actual HttpURLConnection implementation details into this module.
2014-05-17 18:40:01 -04:00
Jesse Wilson
5ddcdf5482 Use Okio for timeouts in SPDY.
This depends on new AsyncTimeout API in Okio being released.
2014-05-03 21:05:33 -04:00
Adrian Cole
a5b7c3b2f3 Add ALPN support; Configure maven to use ALPN on OpenJDK 8. 2014-04-28 09:44:46 -07:00
Jake Wharton
7bfcaa60e2 Use more convenience methods from Okio 0.8.0. 2014-04-25 09:23:34 -07:00
Adrian Cole
d5d540fac7 Update NPN dependency to target jdk7u60-b13 and Oracle jdk7u55-b13. 2014-04-20 10:19:14 -07:00
Jesse Wilson
41aa4b6805 Implement write timeouts for HTTP/1.1 streams. 2014-04-18 17:06:10 -04:00
Jesse Wilson
34ab38d636 Make Source the main type in Response.Body. 2014-04-17 20:19:37 -04:00
Jesse Wilson
b242024216 Switch to Okio.
This depends on a new method, Buffer.copy() not included in Okio 0.5.
We may need to wait for an Okio 0.6 before merging this.
2014-04-15 23:59:06 -04:00
Jake Wharton
c8638813ff Build setup tweak to work around release plugin bug.
http://jira.codehaus.org/browse/MRELEASE-812
2014-03-07 14:45:06 -08:00
Jesse Wilson
110a4fac42 Rearrange OkHttp modules.
The HTTP client and SPDY code are now a single module that
mockwebserver depends upon.

The tests are now in a separate module that depends on both
OkHttp and mockwebserver.
2014-02-27 23:28:40 -05:00
jwilson
2581c36905 Okio module. 2014-02-22 14:23:52 -05:00
Adrian Cole
e9d95f5b8b Animal Sniffer 2014-02-18 22:04:35 -08:00