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

Issue 2038005: Change socket pool max from 100 to 1000000 (Closed)

Created:
10 years, 7 months ago by laforge
Modified:
9 years, 7 months ago
CC:
chromium-reviews, darin-cc_chromium.org
Visibility:
Public.

Description

Change socket pool max from 100 to 1000000 This will effectively disable the socket limit, which is known to be buggy and can cause the IO thread to enter into an infinite loop. BUG=42267 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=46641

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M net/http/http_network_session.cc View 1 chunk +1 line, -1 line 1 comment Download

Messages

Total messages: 4 (0 generated)
laforge
10 years, 7 months ago (2010-05-07 00:14:58 UTC) #1
willchan no longer on Chromium
LGTM On Thu, May 6, 2010 at 5:14 PM, <laforge@chromium.org> wrote: > Reviewers: willchan, > ...
10 years, 7 months ago (2010-05-07 00:18:19 UTC) #2
Mark Mentovai
http://codereview.chromium.org/2038005/diff/1/2 File net/http/http_network_session.cc (right): http://codereview.chromium.org/2038005/diff/1/2#newcode15 net/http/http_network_session.cc:15: int HttpNetworkSession::max_sockets_ = 1000000; Will, does this leave us ...
10 years, 7 months ago (2010-05-07 19:01:29 UTC) #3
willchan no longer on Chromium
10 years, 7 months ago (2010-05-07 22:40:22 UTC) #4
On Fri, May 7, 2010 at 12:01 PM,  <mark@chromium.org> wrote:
>
> http://codereview.chromium.org/2038005/diff/1/2
> File net/http/http_network_session.cc (right):
>
> http://codereview.chromium.org/2038005/diff/1/2#newcode15
> net/http/http_network_session.cc:15: int
> HttpNetworkSession::max_sockets_ = 1000000;
> Will, does this leave us exposed to file descriptor exhaustion?

Theoretically, but probably not.  The limit that we've had was pretty
broken (does not count idle sockets).  If you have concerns, we can
chat about this in real-time (irc or IM or whatever), since it'd be
tiresome to explain fully over email.

>
> http://codereview.chromium.org/2038005/show
>

Powered by Google App Engine
This is Rietveld 408576698