diff options
author | rtenneti@chromium.org <rtenneti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-16 17:38:46 +0000 |
---|---|---|
committer | rtenneti@chromium.org <rtenneti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-16 17:38:46 +0000 |
commit | dbeea4155f4e4bbb57d9736c13ecf5bf5c38000f (patch) | |
tree | 3755ea59003b5c13e96201d49a20f27e28c3e69f /net/quic/quic_http_stream.cc | |
parent | 31454a10a9aab91a8e5a3ac55bcdabee6890d0c7 (diff) | |
download | chromium_src-dbeea4155f4e4bbb57d9736c13ecf5bf5c38000f.zip chromium_src-dbeea4155f4e4bbb57d9736c13ecf5bf5c38000f.tar.gz chromium_src-dbeea4155f4e4bbb57d9736c13ecf5bf5c38000f.tar.bz2 |
QUIC - bug fixes for https over QUIC to work for mail.google.com.
R=jar@chromium.org
Review URL: https://codereview.chromium.org/19239005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211809 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/quic/quic_http_stream.cc')
-rw-r--r-- | net/quic/quic_http_stream.cc | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/net/quic/quic_http_stream.cc b/net/quic/quic_http_stream.cc index 25f81c5..82c5987 100644 --- a/net/quic/quic_http_stream.cc +++ b/net/quic/quic_http_stream.cc @@ -82,8 +82,13 @@ int QuicHttpStream::SendRequest(const HttpRequestHeaders& request_headers, // Store the request body. request_body_stream_ = request_info_->upload_data_stream; - if (request_body_stream_ && (request_body_stream_->size() || - request_body_stream_->is_chunked())) { + if (request_body_stream_) { + // TODO(rch): Can we be more precise about when to allocate + // raw_request_body_buf_. Removed the following check. DoReadRequestBody() + // was being called even if we didn't yet allocate raw_request_body_buf_. + // && (request_body_stream_->size() || + // request_body_stream_->is_chunked())) + // // Use kMaxPacketSize as the buffer size, since the request // body data is written with this size at a time. // TODO(rch): use a smarter value since we can't write an entire |