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

Issue 1433063002: Override ReliableQuicStream::StopReading() to send RST_STREAM+NO_ERROR if CloseWriteSide() is calle… (Closed)

Created:
5 years, 1 month ago by rjshade
Modified:
5 years, 1 month ago
Reviewers:
Ryan Hamilton
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@106978852
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Override ReliableQuicStream::StopReading() to send RST_STREAM+NO_ERROR if CloseWriteSide() is called before StopReading(). Currently we always call StopReading() before calling CloseWriteSide(). However, there is not restriction to prevent calling StopReading() after CloseWrite(), in which case we should also send a QUIC_STREAM_NO_ERROR rst to stop the peer to sending more data. This feature improves RST_STREAM+NO_ERROR mechanism to be more future-proof. Merge internal change: 106990301 R=rch@chromium.org BUG=

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -0 lines) Patch
M net/quic/quic_spdy_stream.h View 1 chunk +1 line, -0 lines 0 comments Download
M net/quic/quic_spdy_stream.cc View 1 chunk +11 lines, -0 lines 0 comments Download
M net/tools/quic/quic_spdy_server_stream_test.cc View 1 chunk +19 lines, -0 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 2 (0 generated)
rjshade
5 years, 1 month ago (2015-11-10 21:01:19 UTC) #1
Ryan Hamilton
5 years, 1 month ago (2015-11-10 21:33:23 UTC) #2
lgtm

Powered by Google App Engine
This is Rietveld 408576698