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

Issue 2811072: SPDY sends RST_STREAM upon cancelling request, or bad header parse data. (Closed)

Created:
10 years, 5 months ago by erikchen
Modified:
9 years, 7 months ago
Reviewers:
lzheng
CC:
chromium-reviews, Alexander Potapenko, Timur Iskhodzhanov, cbentzel+watch_chromium.org, stuartmorgan, darin-cc_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

SPDY sends RST_STREAM upon cancelling request, or bad header parse data. Also fix tsan failure for spdy_http_stream_unittest. Attempted to commit in http://codereview.chromium.org/3014030/show, ran into different tsan failure. TEST=net_unittests, tsan on windows for SpdyHttpStreamTest. BUG=46589, 47478, 50198 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=53829

Patch Set 1 #

Total comments: 2

Patch Set 2 : comments #

Patch Set 3 : Merge trunk #

Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -19 lines) Patch
M net/data/valgrind/net_unittests.gtest-tsan_win32.txt View 1 2 1 chunk +0 lines, -3 lines 0 comments Download
M net/spdy/spdy_http_stream_unittest.cc View 1 5 chunks +19 lines, -9 lines 0 comments Download
M net/spdy/spdy_network_transaction_unittest.cc View 4 chunks +44 lines, -2 lines 0 comments Download
M net/spdy/spdy_session.cc View 1 chunk +10 lines, -2 lines 0 comments Download
M net/spdy/spdy_session_pool.h View 1 chunk +2 lines, -1 line 0 comments Download
M net/spdy/spdy_stream.cc View 1 2 2 chunks +6 lines, -2 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
erikchen
Everything except for spdy_http_stream_unittest was already reviewed in http://codereview.chromium.org/3014030/show. While I've wasn't been able to ...
10 years, 5 months ago (2010-07-27 00:28:37 UTC) #1
erikchen
10 years, 5 months ago (2010-07-27 00:28:48 UTC) #2
lzheng
http://codereview.chromium.org/2811072/diff/1/3 File net/spdy/spdy_http_stream_unittest.cc (right): http://codereview.chromium.org/2811072/diff/1/3#newcode55 net/spdy/spdy_http_stream_unittest.cc:55: MockRead reads[] = { Can you comment how and ...
10 years, 5 months ago (2010-07-27 05:28:58 UTC) #3
erikchen
http://codereview.chromium.org/2811072/diff/1/3 File net/spdy/spdy_http_stream_unittest.cc (right): http://codereview.chromium.org/2811072/diff/1/3#newcode55 net/spdy/spdy_http_stream_unittest.cc:55: MockRead reads[] = { On 2010/07/27 05:28:58, lzheng wrote: ...
10 years, 5 months ago (2010-07-27 16:38:31 UTC) #4
lzheng1
On Tue, Jul 27, 2010 at 9:38 AM, <erikchen@chromium.org> wrote: > > http://codereview.chromium.org/2811072/diff/1/3 > File ...
10 years, 5 months ago (2010-07-27 17:29:42 UTC) #5
erikchen
done On 2010/07/27 17:29:42, lzheng1 wrote: > On Tue, Jul 27, 2010 at 9:38 AM, ...
10 years, 5 months ago (2010-07-27 17:32:57 UTC) #6
lzheng
10 years, 5 months ago (2010-07-27 17:38:25 UTC) #7
LGTM.

On 2010/07/27 17:32:57, erikchen1 wrote:
> done
> On 2010/07/27 17:29:42, lzheng1 wrote:
> > On Tue, Jul 27, 2010 at 9:38 AM, <mailto:erikchen@chromium.org> wrote:
> > 
> > >
> > > http://codereview.chromium.org/2811072/diff/1/3
> > > File net/spdy/spdy_http_stream_unittest.cc (right):
> > >
> > > http://codereview.chromium.org/2811072/diff/1/3#newcode55
> > > net/spdy/spdy_http_stream_unittest.cc:55: MockRead reads[] = {
> > > On 2010/07/27 05:28:58, lzheng wrote:
> > >
> > >> Can you comment how and where these three reads are triggered?
> > >>
> > >
> > > callback.WaitForResult() triggers the MockWrite, and reads 2 & 3.
> > > data->completeread() triggers read 4.
> > >
> > > Cool. Could you add these comments around line 79?
> > 
> > Thanks.
> > 
> > 
> > >
> > > http://codereview.chromium.org/2811072/show
> > >
> >

Powered by Google App Engine
This is Rietveld 408576698