Skip to content

Commit 4661b62

Browse files
committed
Move to a non-snapshot version of OkHttp
1 parent 080e33e commit 4661b62

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ subprojects {
2727
// TODO: Unreleased dependencies.
2828
// These must already be installed in the local maven repository.
2929
netty: 'io.netty:netty-codec-http2:5.0.0.Alpha2-SNAPSHOT',
30-
okhttp: 'com.squareup.okhttp:okhttp:2.2.0-SNAPSHOT',
30+
okhttp: 'com.squareup.okhttp:okhttp:2.2.0',
3131

3232
// Test dependencies.
3333
junit: 'junit:junit:4.11',

okhttp/src/main/java/com/google/net/stubby/transport/okhttp/OkHttpClientTransport.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
import com.squareup.okhttp.internal.spdy.FrameReader;
4747
import com.squareup.okhttp.internal.spdy.Header;
4848
import com.squareup.okhttp.internal.spdy.HeadersMode;
49-
import com.squareup.okhttp.internal.spdy.Http20Draft15;
49+
import com.squareup.okhttp.internal.spdy.Http20Draft16;
5050
import com.squareup.okhttp.internal.spdy.Settings;
5151
import com.squareup.okhttp.internal.spdy.Variant;
5252

@@ -196,7 +196,7 @@ protected void doStart() {
196196
} catch (IOException e) {
197197
throw new RuntimeException(e);
198198
}
199-
Variant variant = new Http20Draft15();
199+
Variant variant = new Http20Draft16();
200200
frameReader = variant.newReader(source, true);
201201
frameWriter = new AsyncFrameWriter(variant.newWriter(sink, true), this, executor);
202202
outboundFlow = new OutboundFlowController(this, frameWriter);

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@
137137
<properties>
138138
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
139139
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
140-
<okhttp.version>2.2.0-SNAPSHOT</okhttp.version>
140+
<okhttp.version>2.2.0</okhttp.version>
141141
<netty.version>5.0.0.Alpha2-SNAPSHOT</netty.version>
142142
<jetty.alpn.version>8.0.0.v20140317</jetty.alpn.version>
143143
<jetty.alpn.path>

0 commit comments

Comments
 (0)