Comment #1 on issue 9880 by [email protected]: A client socket is not  
recycled if a response body is 0 bytes
http://code.google.com/p/chromium/issues/detail?id=9880

The following revision refers to this bug:
     http://src.chromium.org/viewvc/chrome?view=rev&revision=13511

------------------------------------------------------------------------
r13511 | [email protected] | 2009-04-10 09:38:52 -0700 (Fri, 10 Apr 2009) |  
12 lines
Changed paths:
    M  
http://src.chromium.org/viewvc/chrome/trunk/src/net/http/http_network_transaction.cc?r1=13511&r2=13510
    M  
http://src.chromium.org/viewvc/chrome/trunk/src/net/http/http_network_transaction.h?r1=13511&r2=13510
    M  
http://src.chromium.org/viewvc/chrome/trunk/src/net/http/http_network_transaction_unittest.cc?r1=13511&r2=13510

Add a boolean data member reading_body_from_socket_ to help
DoReadBodyComplete() determine whether a result of 0
actually comes from a socket read, indicating EOF.

In unit tests, need to call RunAllPending() before calling
idle_socket_count() to get an accurate idle socket count
because idle sockets are added to the connection pool with a
PostTask.

R=eroman
BUG=9880
Review URL: http://codereview.chromium.org/63139
------------------------------------------------------------------------


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to