Skip to content

Commit

Permalink
Move to a non-snapshot version of OkHttp
Browse files Browse the repository at this point in the history
  • Loading branch information
maniksurtani committed Jan 16, 2015
1 parent 080e33e commit 4661b62
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ subprojects {
// TODO: Unreleased dependencies.
// These must already be installed in the local maven repository.
netty: 'io.netty:netty-codec-http2:5.0.0.Alpha2-SNAPSHOT',
okhttp: 'com.squareup.okhttp:okhttp:2.2.0-SNAPSHOT',
okhttp: 'com.squareup.okhttp:okhttp:2.2.0',

// Test dependencies.
junit: 'junit:junit:4.11',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
import com.squareup.okhttp.internal.spdy.FrameReader;
import com.squareup.okhttp.internal.spdy.Header;
import com.squareup.okhttp.internal.spdy.HeadersMode;
import com.squareup.okhttp.internal.spdy.Http20Draft15;
import com.squareup.okhttp.internal.spdy.Http20Draft16;
import com.squareup.okhttp.internal.spdy.Settings;
import com.squareup.okhttp.internal.spdy.Variant;

Expand Down Expand Up @@ -196,7 +196,7 @@ protected void doStart() {
} catch (IOException e) {
throw new RuntimeException(e);
}
Variant variant = new Http20Draft15();
Variant variant = new Http20Draft16();
frameReader = variant.newReader(source, true);
frameWriter = new AsyncFrameWriter(variant.newWriter(sink, true), this, executor);
outboundFlow = new OutboundFlowController(this, frameWriter);
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<okhttp.version>2.2.0-SNAPSHOT</okhttp.version>
<okhttp.version>2.2.0</okhttp.version>
<netty.version>5.0.0.Alpha2-SNAPSHOT</netty.version>
<jetty.alpn.version>8.0.0.v20140317</jetty.alpn.version>
<jetty.alpn.path>
Expand Down

0 comments on commit 4661b62

Please sign in to comment.