红联Linux门户
Linux帮助

okhttp 3.4.0和3.4.1发布,HTTP+SPDY客户端开发包

发布时间:2016-07-11 11:06:20来源:红联作者:baihuo
okhttp 3.4.0 和 3.4.1 发布了,okhttp 是一个 Java 的 HTTP+SPDY 客户端开发包,同时也支持 Android。

3.4.0 更新如下:

New: Support dynamic table size changes to HPACK Encoder.

Fix: Use TreeMap in Headers.toMultimap(). This makes string lookups on the returned map case-insensitive.

Fix: Don't share the OkHttpClient's Dispatcher in HttpURLConnection.

3.4.1 更新如下:

Fix an major bug in encoding HTTP headers. In 3.4.0 and 3.4.0-RC1 OkHttp had an off-by-one bug in our HPACK encoder. This bug could have caused the wrong headers to be emitted after a sequence of HTTP/2 requests! Everyone who is using OkHttp 3.4.0 or 3.4.0-RC1 should upgrade for this bug fix.

软件详情:https://github.com/square/okhttp/

下载地址:https://github.com/square/okhttp/archive/parent-3.4.0.tar.gz

来自:开源中国社区
文章评论

共有 0 条评论