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

Issue 6262014: Refactor the first-read logic for the in-mem server.... (Closed)

Created:
9 years, 11 months ago by Mike Belshe
Modified:
9 years, 5 months ago
Reviewers:
kelindsay, fenix, mbelshe
CC:
chromium-reviews, darin-cc_chromium.org, cbentzel+watch_chromium.org, pam+watch_chromium.org
Visibility:
Public.

Description

A few cleanups in the in-mem flip server: * Refactor the first-read logic for the in-mem server. Split out functions from the initial connection setup on first read. * Fixed the SPDY-only (non-NPN negotiated) case. * Hardened the server against invalid protocol attacks; would happily crash when an invalid-looking frame arrived. BUG=none TEST=self Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=72536

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 1

Patch Set 5 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+127 lines, -89 lines) Patch
M net/tools/flip_server/flip_in_mem_edsm_server.cc View 1 2 3 4 15 chunks +127 lines, -89 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Mike Belshe
9 years, 11 months ago (2011-01-25 16:26:07 UTC) #1
kelindsay
Just one comment... http://codereview.chromium.org/6262014/diff/10001/net/tools/flip_server/flip_in_mem_edsm_server.cc File net/tools/flip_server/flip_in_mem_edsm_server.cc (right): http://codereview.chromium.org/6262014/diff/10001/net/tools/flip_server/flip_in_mem_edsm_server.cc#newcode1160 net/tools/flip_server/flip_in_mem_edsm_server.cc:1160: DCHECK(spdy_negotiated); // This is only a ...
9 years, 11 months ago (2011-01-25 19:00:28 UTC) #2
mbelshe
Thanks - changed to support SSL through the proxy. Let me know if it looks ...
9 years, 11 months ago (2011-01-25 19:14:08 UTC) #3
kelindsay
9 years, 11 months ago (2011-01-25 19:39:54 UTC) #4
LGTM

Powered by Google App Engine
This is Rietveld 408576698