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

Fix a bug where HTTPS POSTS were always buffered.

https://code.google.com/p/android/issues/detail?id=64348
This commit is contained in:
jwilson
2014-01-02 15:43:10 -05:00
parent e2f5b474ae
commit d451e93994

View File

@@ -300,4 +300,16 @@ public final class HttpsURLConnectionImpl extends HttpsURLConnection {
@Override public SSLSocketFactory getSSLSocketFactory() {
return delegate.client.getSslSocketFactory();
}
@Override public void setFixedLengthStreamingMode(long contentLength) {
delegate.setFixedLengthStreamingMode(contentLength);
}
@Override public long getContentLengthLong() {
return delegate.getContentLengthLong();
}
@Override public long getHeaderFieldLong(String field, long defaultValue) {
return delegate.getHeaderFieldLong(field, defaultValue);
}
}