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

Issue 492063002: Allow SPDY POSTs to be terminated by an empty FIN data frame. (Closed)

Created:
6 years, 4 months ago by mmenke
Modified:
6 years, 3 months ago
Reviewers:
Johnny, mef
CC:
chromium-reviews, cbentzel+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

Allow chunked SPDY POSTs to be terminated by an empty FIN data frame. This allows embedders to send a chunk when they do not yet know if it is the final chunk or not. BUG=405678 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=291222

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fix comment in response to comment #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+183 lines, -9 lines) Patch
M net/spdy/spdy_http_stream.cc View 1 chunk +1 line, -0 lines 1 comment Download
M net/spdy/spdy_http_stream_unittest.cc View 1 1 chunk +160 lines, -0 lines 0 comments Download
M net/spdy/spdy_session.cc View 1 chunk +4 lines, -1 line 0 comments Download
M net/spdy/spdy_stream.cc View 2 chunks +18 lines, -8 lines 1 comment Download

Messages

Total messages: 9 (0 generated)
mmenke
Hrm...was expecting this to be a little more complicated. https://codereview.chromium.org/492063002/diff/1/net/spdy/spdy_http_stream_unittest.cc File net/spdy/spdy_http_stream_unittest.cc (right): https://codereview.chromium.org/492063002/diff/1/net/spdy/spdy_http_stream_unittest.cc#newcode577 net/spdy/spdy_http_stream_unittest.cc:577: ...
6 years, 4 months ago (2014-08-21 15:40:25 UTC) #1
Johnny
lgtm https://codereview.chromium.org/492063002/diff/1/net/spdy/spdy_http_stream_unittest.cc File net/spdy/spdy_http_stream_unittest.cc (right): https://codereview.chromium.org/492063002/diff/1/net/spdy/spdy_http_stream_unittest.cc#newcode576 net/spdy/spdy_http_stream_unittest.cc:576: // Test that the SpdyStream state machine can ...
6 years, 4 months ago (2014-08-21 16:16:58 UTC) #2
mmenke
Thanks! https://codereview.chromium.org/492063002/diff/1/net/spdy/spdy_http_stream_unittest.cc File net/spdy/spdy_http_stream_unittest.cc (right): https://codereview.chromium.org/492063002/diff/1/net/spdy/spdy_http_stream_unittest.cc#newcode576 net/spdy/spdy_http_stream_unittest.cc:576: // Test that the SpdyStream state machine can ...
6 years, 4 months ago (2014-08-21 16:22:04 UTC) #3
mmenke
The CQ bit was checked by mmenke@chromium.org
6 years, 4 months ago (2014-08-21 16:22:46 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mmenke@chromium.org/492063002/20001
6 years, 4 months ago (2014-08-21 16:25:38 UTC) #5
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_chromium_gn_compile_rel on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-21 21:33:59 UTC) #6
commit-bot: I haz the power
Committed patchset #2 (20001) as 291222
6 years, 4 months ago (2014-08-21 22:58:12 UTC) #7
mef
mef@chromium.org changed reviewers: + mef@chromium.org
6 years, 3 months ago (2014-08-26 12:58:41 UTC) #8
mef
6 years, 3 months ago (2014-08-26 12:58:41 UTC) #9
Message was sent while issue was closed.
https://codereview.chromium.org/492063002/diff/20001/net/spdy/spdy_http_strea...
File net/spdy/spdy_http_stream.cc (right):

https://codereview.chromium.org/492063002/diff/20001/net/spdy/spdy_http_strea...
net/spdy/spdy_http_stream.cc:427: // Only the final fame may have a length of 0.
nit: fame -> frame. :)

https://codereview.chromium.org/492063002/diff/20001/net/spdy/spdy_stream.cc
File net/spdy/spdy_stream.cc (right):

https://codereview.chromium.org/492063002/diff/20001/net/spdy/spdy_stream.cc#...
net/spdy/spdy_stream.cc:797: // Only the final fame may have a length of 0.
nit: fame -> frame.

Powered by Google App Engine
This is Rietveld 408576698