1
0
mirror of https://github.com/square/okhttp.git synced 2026-01-21 03:41:07 +03:00

Change ambiguous wording for timeouts

The previous wording made it sound like any connection that was ongoing
for more than 10 seconds (e.g. a download of a large file) would be
disconnected.
This commit is contained in:
Michael Parker
2015-08-28 23:31:14 -07:00
parent bf09b3dca1
commit 1733adf99f

View File

@@ -6,9 +6,10 @@ Change Log
_2015-08-25_
* **Timeouts now default to 10 seconds.** Previously we defaulted to never
timing out, and that was a lousy policy. If some of your requests require
more than 10 seconds to complete, youll need to adjust the timeouts
manually.
timing out, and that was a lousy policy. If establishing a connection,
reading the next byte from a connection, or writing the next byte to a
connection takes more than 10 seconds to complete, youll need to adjust
the timeouts manually.
* **OkHttp now rejects request headers that contain invalid characters.** This
includes potential security problems (newline characters) as well as simple