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

Issue 3198009: Revert 57100 - Only create the backup ConnectJob when it is needed.... (Closed)

Created:
10 years, 4 months ago by Lei Zhang
Modified:
9 years, 7 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Revert 57100 - Only create the backup ConnectJob when it is needed. This reduces the unnecessary NetLog spam, since we would log to the NetLog everytime we created the backup ConnectJob, even though we usually wouldn't actually call Connect() on it. Now, we only create the backup ConnectJob when we intend to call Connect() on it. Includes some various cleanup necessary for this: * struct Group => class Group * method_factory moves from CSP to Group Review URL: http://codereview.chromium.org/3171017 TBR=willchan@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=57107

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+188 lines, -215 lines) Patch
M net/socket/client_socket_pool_base.h View 5 chunks +42 lines, -49 lines 0 comments Download
M net/socket/client_socket_pool_base.cc View 22 chunks +146 lines, -166 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Lei Zhang
10 years, 4 months ago (2010-08-23 20:39:44 UTC) #1
Lei Zhang
modules xp: [ RUN ] HttpNetworkTransactionTest.UseAlternateProtocolForTunneledNpnSpdy Backtrace: net::internal::ClientSocketPoolBaseHelper::CancelAllConnectJobs [0x008890C4+100] (c:\b\slave\sub-rel-xp\build\src\net\socket\client_socket_pool_base.cc:713) kSOCKS5GreetWriteData [0x00BFD674+1300] net::internal::ClientSocketPoolBaseHelper::OnConnectJobComplete [0x0088A7E0+0] (c:\b\slave\sub-rel-xp\build\src\net\socket\client_socket_pool_base.cc:557) ...
10 years, 4 months ago (2010-08-23 20:40:44 UTC) #2
willchan no longer on Chromium
10 years, 4 months ago (2010-08-23 21:45:35 UTC) #3
Blargh, sorry.  Thanks for reverting!

On Mon, Aug 23, 2010 at 1:40 PM, <thestig@chromium.org> wrote:

> modules xp:
>
> [ RUN      ]
> HttpNetworkTransactionTest.UseAlternateProtocolForTunneledNpnSpdy
> Backtrace:
>        net::internal::ClientSocketPoolBaseHelper::CancelAllConnectJobs
> [0x008890C4+100]
> (c:\b\slave\sub-rel-xp\build\src\net\socket\client_socket_pool_base.cc:713)
>        kSOCKS5GreetWriteData [0x00BFD674+1300]
>        net::internal::ClientSocketPoolBaseHelper::OnConnectJobComplete
> [0x0088A7E0+0]
> (c:\b\slave\sub-rel-xp\build\src\net\socket\client_socket_pool_base.cc:557)
>        (No symbol) [0xFFFFFCB8]
>
>
> modules vista dbg:
>
>
> [----------] 1 test from SpdyStreamTest
> [ RUN      ] SpdyStreamTest.SendDataAfterOpen
> [27188:130664:0823/131017:2638139500:ERROR:spdy_session.cc(803)] ABANDONED
> (stream_id=1): /
>
> command timed out: 600 seconds without output, killing pid 66012
>
>
> http://codereview.chromium.org/3198009/show
>

Powered by Google App Engine
This is Rietveld 408576698