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

Issue 8515020: Refactor state machines in HttpPipelinedConnectionImpl. (Closed)

Created:
9 years, 1 month ago by James Simonsen
Modified:
9 years, 1 month ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Refactor state machines in HttpPipelinedConnectionImpl. Hopefully you agree that this makes the code a whole lot easier to understand. BUG=None TEST=net_unittests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=110159

Patch Set 1 #

Total comments: 7

Patch Set 2 : Add comments #

Total comments: 2

Patch Set 3 : Add more checks and comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+304 lines, -216 lines) Patch
M net/http/http_pipelined_connection_impl.h View 6 chunks +55 lines, -26 lines 0 comments Download
M net/http/http_pipelined_connection_impl.cc View 1 2 14 chunks +249 lines, -190 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
James Simonsen
9 years, 1 month ago (2011-11-10 23:11:01 UTC) #1
mmenke
http://codereview.chromium.org/8515020/diff/1/net/http/http_pipelined_connection_impl.cc File net/http/http_pipelined_connection_impl.cc (right): http://codereview.chromium.org/8515020/diff/1/net/http/http_pipelined_connection_impl.cc#newcode138 net/http/http_pipelined_connection_impl.cc:138: rv = DoSendRequestLoop(OK); It might be a little simpler ...
9 years, 1 month ago (2011-11-11 16:46:35 UTC) #2
James Simonsen
http://codereview.chromium.org/8515020/diff/1/net/http/http_pipelined_connection_impl.cc File net/http/http_pipelined_connection_impl.cc (right): http://codereview.chromium.org/8515020/diff/1/net/http/http_pipelined_connection_impl.cc#newcode138 net/http/http_pipelined_connection_impl.cc:138: rv = DoSendRequestLoop(OK); On 2011/11/11 16:46:35, Matt Menke wrote: ...
9 years, 1 month ago (2011-11-11 19:26:08 UTC) #3
willchan no longer on Chromium
Can you flesh out what the changes are supposed to be in the changelist description ...
9 years, 1 month ago (2011-11-11 23:19:34 UTC) #4
James Simonsen
On 2011/11/11 23:19:34, willchan wrote: > Can you flesh out what the changes are supposed ...
9 years, 1 month ago (2011-11-11 23:57:20 UTC) #5
mmenke
The issue isn't re-entracy, but that we need different behavior if something just tried to ...
9 years, 1 month ago (2011-11-12 00:59:26 UTC) #6
willchan no longer on Chromium
On Fri, Nov 11, 2011 at 3:57 PM, <simonjam@chromium.org> wrote: > On 2011/11/11 23:19:34, willchan ...
9 years, 1 month ago (2011-11-12 01:46:10 UTC) #7
mmenke
http://codereview.chromium.org/8515020/diff/1/net/http/http_pipelined_connection_impl.cc File net/http/http_pipelined_connection_impl.cc (right): http://codereview.chromium.org/8515020/diff/1/net/http/http_pipelined_connection_impl.cc#newcode138 net/http/http_pipelined_connection_impl.cc:138: rv = DoSendRequestLoop(OK); On 2011/11/11 19:26:08, James Simonsen wrote: ...
9 years, 1 month ago (2011-11-14 16:25:12 UTC) #8
James Simonsen
I added comments. I'm slightly partial to having separate states for starting to send and ...
9 years, 1 month ago (2011-11-14 21:09:49 UTC) #9
mmenke
LGTM
9 years, 1 month ago (2011-11-15 16:54:43 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/simonjam@chromium.org/8515020/10002
9 years, 1 month ago (2011-11-15 19:23:12 UTC) #11
commit-bot: I haz the power
9 years, 1 month ago (2011-11-15 20:36:53 UTC) #12
Change committed as 110159

Powered by Google App Engine
This is Rietveld 408576698