1
0
mirror of https://github.com/square/okhttp.git synced 2026-01-17 08:42:25 +03:00
Commit Graph

56 Commits

Author SHA1 Message Date
jwilson
a36b1fb73c [maven-release-plugin] prepare release parent-2.7.0 2015-12-13 20:35:26 -05:00
jwilson
94ca8566b2 [maven-release-plugin] prepare for next development iteration 2015-11-22 12:30:35 -05:00
jwilson
d0a381edc1 [maven-release-plugin] prepare release parent-2.6.0 2015-11-22 12:30:31 -05:00
jwilson
8efaead13d [maven-release-plugin] prepare for next development iteration 2015-08-25 21:11:25 -04:00
jwilson
f36bed41a8 [maven-release-plugin] prepare release parent-2.5.0 2015-08-25 21:11:22 -04:00
jwilson
4c90a2e04a Use HttpUrl internally. 2015-08-02 21:01:26 -04:00
Jake Wharton
4c50994029 Add HttpUrl methods to MWS and update non-HUC usages. 2015-06-21 03:40:34 -04:00
jwilson
d6be7545e6 [maven-release-plugin] prepare for next development iteration 2015-05-22 19:47:49 -04:00
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
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
Jake Wharton
5355762a6f Rename play to start. 2015-01-04 23:17:42 -08:00
Jake Wharton
9a5670beec Change MockResponse body to Source. 2015-01-04 22:05:47 -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
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
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
0316426ecf Bump pom versions to 2.1.0-SNAPSHOT. 2014-11-05 00:21:52 -05: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
Jake Wharton
cdd71f1bbd Update the language level to Java 7. 2014-06-17 13:36:42 -07:00
Jake Wharton
6afd57683c Use IOException in Callback failure method. 2014-06-11 19:32:41 -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
Jake Wharton
53b9f84cb6 Remove Failure wrapper type. 2014-05-19 13:15:50 -07: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
84312bd93f Rename Response.Callback to Callback. 2014-05-10 11:20:07 -04:00
Jesse Wilson
9fcb67db2f Rename Request.Body to RequestBody and Response.Body to ResponseBody.
Compelling alternative is ReadableBody and WritableBody, or BodySource and BodySink.
Which in theory permits reuse for serverside body makers. But I don't like those names
as much.
2014-05-10 08:26:44 -04:00
Adrian Cole
a5b7c3b2f3 Add ALPN support; Configure maven to use ALPN on OpenJDK 8. 2014-04-28 09:44:46 -07:00
Adrian Cole
58b71d915f Merge pull request #780 from square/jwilson_0427_rename_execute
Rename execute to enqueue for async calls.
2014-04-27 10:30:23 -07:00
Jesse Wilson
b057ad2418 Rename execute to enqueue for async calls.
I prefer 'enqueue' because we might not actually run the job
for some time (due to dispatcher's limits).
2014-04-27 12:18:52 -04:00
Adrian Cole
022173a444 Don't suggest NPN will be used when it might be ALPN. 2014-04-27 09:12:37 -07:00
Adrian Cole
63d4dfaaa6 Merge Job into Call. CallTest = AsyncApiTest + SyncApiTest. 2014-04-25 11:13:39 -07:00
Adrian Cole
0b677ac70d Introduce Call for async invocations. 2014-04-24 21:25:15 -07:00
Jake Wharton
996e9c95bd Move HttpUrlConnection implementation to its own package. 2014-04-19 23:59:15 -07:00
Jesse Wilson
e9b5bf2a1d Rename HTTP_11 to HTTP_1_1.
Otherwise it seems like HTTP_11 is version 11, greater than
HTTP_2.
2014-04-19 12:23:48 -04:00
Jesse Wilson
9d22181146 Delete Response.Body.ready() which didn't make much sense.
Also clean up some code to use more Okio.
2014-04-18 01:05:27 -04:00
Jesse Wilson
62a7ea2d20 Make Buffer the body type in MockResponse. 2014-04-17 20:19:16 -04:00
Adrian Cole
a3e9485b81 When a SPDY client, use a large flow-control window. 2014-02-19 20:26:41 -08:00
Adrian Cole and Jesse Wilson
fdee6f13a4 FindBugs sweep. 2014-02-05 17:18:30 +01:00
jwilson
4313b7af81 Promote the target backlog to a parameter. 2014-02-03 07:45:27 +01:00
Adrian Cole
a12d6a6fcc Merge pull request #503 from normanmaurer/pooled
Use the pooled allocator for performance reasons
2014-02-01 16:59:41 -08:00
Adrian Cole
b2293c2660 Merge pull request #504 from square/jwilson_0201_caliper
Use Caliper for benchmarking.
2014-02-01 12:53:18 -08:00
jwilson
99841aecb4 Use Caliper for benchmarking. 2014-02-01 15:52:06 -05:00