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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user