summaryrefslogtreecommitdiffstats
path: root/net/http/http_stream_parser.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/http/http_stream_parser.cc')
-rw-r--r--net/http/http_stream_parser.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/http/http_stream_parser.cc b/net/http/http_stream_parser.cc
index 3633af3..0a635f5 100644
--- a/net/http/http_stream_parser.cc
+++ b/net/http/http_stream_parser.cc
@@ -194,6 +194,9 @@ int HttpStreamParser::DoSendHeaders(int result) {
if (request_headers_->BytesRemaining() == request_headers_->size()) {
response_->request_time = base::Time::Now();
}
+ // TODO(vandebo) remove when bug 31096 is resolved
+ CHECK(connection_);
+ CHECK(connection_->socket());
result = connection_->socket()->Write(request_headers_,
request_headers_->BytesRemaining(),
&io_callback_);