OkHttp v4.5.0-RC1 Release Notes
Release Date: 2020-03-18 // about 4 years ago-
2020-03-17
๐ This release candidate turns on web socket compression.
The [spec][rfc_7692] includes a sophisticated mechanism for client and server to negotiate ๐ compression features. We strive to offer great performance in our default configuration and so we're ๐ making compression the default for everyone starting with this release candidate.
๐ Please be considerate of your servers and their operators as you roll out this release. Compression ๐พ saves bandwidth but it costs CPU and memory! If you run into a problem you may need to adjust or disable the
permessage-deflate
compression settings on your server.Note that OkHttp won't use compression when sending messages smaller than 1 KiB.
- Fix: Don't crash when the URL hostname contains an underscore on Android.
- Fix: Change HTTP/2 to use a daemon thread for its socket reader. If you've ever seen a command line application hang after all of the work is done, it may be due to a non-daemon thread like this one.
- New: Include suppressed exceptions when all routes to a target service fail.