diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/http/http_network_transaction.cc | 6 | ||||
-rw-r--r-- | net/socket/client_socket_handle.cc | 1 |
2 files changed, 6 insertions, 1 deletions
diff --git a/net/http/http_network_transaction.cc b/net/http/http_network_transaction.cc index c1d0cef..5d4c8dd 100644 --- a/net/http/http_network_transaction.cc +++ b/net/http/http_network_transaction.cc @@ -592,7 +592,11 @@ int HttpNetworkTransaction::DoInitConnection() { if (proxy_mode_ != kHTTPProxy) connection_group.append(request_->url.GetOrigin().spec()); - DCHECK(!connection_group.empty()); + // TODO(willchan): Downgrade this back to a DCHECK after closing + // http://crbug.com/15374. + CHECK(!connection_group.empty()) << "URL: " << request_->url.GetOrigin() + << ", Host: " << host + << ", Port: " << port; HostResolver::RequestInfo resolve_info(host, port); diff --git a/net/socket/client_socket_handle.cc b/net/socket/client_socket_handle.cc index 15f99a6..384d205 100644 --- a/net/socket/client_socket_handle.cc +++ b/net/socket/client_socket_handle.cc @@ -27,6 +27,7 @@ int ClientSocketHandle::Init(const std::string& group_name, const HostResolver::RequestInfo& resolve_info, int priority, CompletionCallback* callback) { + CHECK(!group_name.empty()); ResetInternal(true); group_name_ = group_name; int rv = pool_->RequestSocket( |