1
0
mirror of https://github.com/square/okhttp.git synced 2025-11-26 06:43:09 +03:00
Commit Graph

27 Commits

Author SHA1 Message Date
Jesse Wilson
432381d9fb Enforce full-call timeouts on SSE setup
Once the response headers are received we go back to not having
any timeout enforced.

Closes: https://github.com/square/okhttp/issues/4646
2019-03-09 16:29:07 -05:00
Amir Livneh
018510fa40 Rename OkHttpClientTestingRule to OkHttpClientTestRule 2019-03-07 07:24:05 -05:00
Amir Livneh
aca6785440 Use a TestRule to check for connection leaks 2019-03-06 06:21:15 -05:00
Jesse Wilson
0a59e68b16 [maven-release-plugin] prepare for next development iteration 2019-02-05 12:15:46 -05:00
Jesse Wilson
d28d2cec21 [maven-release-plugin] prepare release parent-3.13.1 2019-02-05 12:15:39 -05:00
Jesse Wilson
5ecd590c8c [maven-release-plugin] prepare for next development iteration 2019-02-04 23:32:52 -05:00
Jesse Wilson
d55661544b [maven-release-plugin] prepare release parent-3.13.0 2019-02-04 23:32:45 -05:00
Jesse Wilson
778e0334a4 Use lambdas where appropriate 2019-01-11 22:31:36 -05:00
Jesse Wilson
5f4a2642c0 Use automatic-resource-management blocks. 2019-01-01 21:50:44 -05:00
Jake Wharton
9b9e5bd38d hashCode and toString (#4516)
* Use Objects.hashCode from Java 7 / API 19

* Use Objects.toString from Java 7 / API 19
2019-01-01 21:06:54 -05:00
Jesse Wilson
0dc50f1112 Run IntelliJ inspections on the codebase
Some nullability warnings, some diamond operators, adopting Objects.equals(),
and some dead code elimination.
2019-01-01 12:41:06 -05: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
Jesse Wilson
fa24d3dd74 Exclude 'internal' packages in generated Javadocs 2018-11-18 09:44:13 -05:00
Jesse Wilson
c273b3be38 [maven-release-plugin] prepare for next development iteration 2018-11-16 23:44:19 -05:00
Jesse Wilson
7f63a35ab1 [maven-release-plugin] prepare release parent-3.12.0 2018-11-16 23:44:12 -05:00
Jesse Wilson
04a74b2df4 Confirm that call timeouts don't apply to SSE or web sockets. 2018-11-06 21:42:34 +11:00
Yuri Schimke
ceb42f1322 EverythingIsNonNull annotation (#4286)
Adds an annotation EverythingIsNonNull, and fixes some nullability on public API.
2018-09-30 09:33:42 +01:00
Jesse Wilson
7ef5f55d38 [maven-release-plugin] prepare for next development iteration 2018-07-12 23:41:09 -04:00
Jesse Wilson
95ae0cf421 [maven-release-plugin] prepare release parent-3.11.0 2018-07-12 23:41:00 -04:00
Jesse Wilson
d908a676c2 Support client authentication in MockWebServer
Also expose the handshake in the RecordedResponse.

https://github.com/square/okhttp/issues/3934
2018-07-06 10:08:19 -04:00
Jake Wharton
0d04eecc01 Defer creating reader until necessary 2018-06-23 17:11:20 -04:00
Yuri Schimke
63ed542534 API for handling an unexpected SSE response 2018-06-23 16:16:57 +01:00
Yuri Schimke
f6502e89f9 Additional error checking for SSE (#4082)
* Additional error checking for SSE
* move to sse package, more tests, kotlin null friendly
2018-06-21 09:14:39 +01:00
Jake Wharton
7d5793dcac Add EventSource type and first HTTP test. (#4074) 2018-06-19 06:11:53 +01:00
Jake Wharton
355c8b0ef1 Skip UTF-8 decode of keys, defer UTF-8 decode of data 2018-06-15 15:14:53 -04:00
Jake Wharton
897103e179 Make toString output match field name (#4058) 2018-06-13 18:00:22 +01:00
Jake Wharton
fd1e5551fd Add a basic mechanism for parsing server-sent events 2018-06-13 09:05:07 -04:00