Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1256)

Unified Diff: content/browser/renderer_host/socket_stream_dispatcher_host.cc

Issue 6881106: Treat ERR_CONNECTION_CLOSED as end-of-data marker for downloads. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Moved detection code to URLRequestHttpJob. Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/socket_stream_dispatcher_host.cc
diff --git a/content/browser/renderer_host/socket_stream_dispatcher_host.cc b/content/browser/renderer_host/socket_stream_dispatcher_host.cc
index 565e448d0a3ca93afc41314a61d042f9224d5efc..3ad540d6c94679fbcdecc7ce8991938589fb9f6e 100644
--- a/content/browser/renderer_host/socket_stream_dispatcher_host.cc
+++ b/content/browser/renderer_host/socket_stream_dispatcher_host.cc
@@ -68,7 +68,7 @@ void SocketStreamDispatcherHost::OnSentData(net::SocketStream* socket,
DVLOG(1) << "SocketStreamDispatcherHost::OnSentData socket_id=" << socket_id
<< " amount_sent=" << amount_sent;
if (socket_id == content_common::kNoSocketId) {
- LOG(ERROR) << "NoSocketId in OnReceivedData";
+ LOG(ERROR) << "NoSocketId in OnSentData";
Randy Smith (Not in Mondays) 2011/05/03 21:30:41 Ditto. This is a fine fix, but I don't think it b
ahendrickson 2011/05/04 15:08:25 If I don't do it in this CL, I'll forget about it.
return;
}
if (!Send(new SocketStreamMsg_SentData(socket_id, amount_sent))) {

Powered by Google App Engine
This is Rietveld 408576698