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

Issue 1892423002: [Cronet] Add Hello World response to QuicTestServer and use it in bidirectional stream test. (Closed)

Created:
4 years, 8 months ago by mef
Modified:
4 years, 7 months ago
Reviewers:
kapishnikov, xunjieli
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@cronet7
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Cronet] Add Hello World response to QuicTestServer and use it in bidirectional stream test. BUG=601972 BUG=606818 Committed: https://crrev.com/5ef58edc3a8a1aa123a75daa8045b6962da2f1c6 Cr-Commit-Position: refs/heads/master@{#390786}

Patch Set 1 #

Patch Set 2 : Remove duplicates, add cronet namespace to test. #

Total comments: 2

Patch Set 3 : Sync #

Patch Set 4 : Added StreamFailBeforeWriteIsExecutedOnNetworkThread test #

Patch Set 5 : Make tests with ShutdownQuicTestServer work. #

Total comments: 8

Patch Set 6 : Sync #

Patch Set 7 : Sync and lint. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+156 lines, -40 lines) Patch
M components/cronet/ios/cronet_bidirectional_stream.cc View 1 2 3 4 2 chunks +6 lines, -2 lines 0 comments Download
M components/cronet/ios/test/cronet_bidirectional_stream_test.mm View 1 2 3 4 5 18 chunks +96 lines, -26 lines 0 comments Download
M components/cronet/ios/test/quic_test_server.h View 1 1 chunk +16 lines, -0 lines 0 comments Download
M components/cronet/ios/test/quic_test_server.cc View 1 2 3 4 5 6 4 chunks +38 lines, -12 lines 0 comments Download

Messages

Total messages: 21 (8 generated)
mef
PTAL, I've added 'Hello world' response to quic test server and used it in bidirectional ...
4 years, 8 months ago (2016-04-17 23:08:58 UTC) #2
kapishnikov
https://codereview.chromium.org/1892423002/diff/20001/components/cronet/ios/test/cronet_bidirectional_stream_test.mm File components/cronet/ios/test/cronet_bidirectional_stream_test.mm (right): https://codereview.chromium.org/1892423002/diff/20001/components/cronet/ios/test/cronet_bidirectional_stream_test.mm#newcode233 components/cronet/ios/test/cronet_bidirectional_stream_test.mm:233: test->response_trailers[trailers->headers[i].key] = Is it possible for the response to ...
4 years, 7 months ago (2016-04-26 20:11:50 UTC) #3
xunjieli
Thanks for adding the trailers test! Is it possible to add an equivalent test of ...
4 years, 7 months ago (2016-04-26 20:33:19 UTC) #4
mef
I'll try to add a test that Helen has suggested. https://codereview.chromium.org/1892423002/diff/20001/components/cronet/ios/test/cronet_bidirectional_stream_test.mm File components/cronet/ios/test/cronet_bidirectional_stream_test.mm (right): https://codereview.chromium.org/1892423002/diff/20001/components/cronet/ios/test/cronet_bidirectional_stream_test.mm#newcode233 ...
4 years, 7 months ago (2016-04-26 20:39:22 UTC) #5
mef
Thanks, PTAL. It turns out that both read and write would fail if remote server ...
4 years, 7 months ago (2016-04-27 22:17:04 UTC) #7
xunjieli
lgtm https://codereview.chromium.org/1892423002/diff/80001/components/cronet/ios/cronet_bidirectional_stream.cc File components/cronet/ios/cronet_bidirectional_stream.cc (right): https://codereview.chromium.org/1892423002/diff/80001/components/cronet/ios/cronet_bidirectional_stream.cc#newcode242 components/cronet/ios/cronet_bidirectional_stream.cc:242: OnFailed(net::ERR_UNEXPECTED); If the request has been canceled, we ...
4 years, 7 months ago (2016-04-28 15:23:33 UTC) #8
mef
Thanks! https://codereview.chromium.org/1892423002/diff/80001/components/cronet/ios/cronet_bidirectional_stream.cc File components/cronet/ios/cronet_bidirectional_stream.cc (right): https://codereview.chromium.org/1892423002/diff/80001/components/cronet/ios/cronet_bidirectional_stream.cc#newcode242 components/cronet/ios/cronet_bidirectional_stream.cc:242: OnFailed(net::ERR_UNEXPECTED); On 2016/04/28 15:23:33, xunjieli wrote: > If ...
4 years, 7 months ago (2016-04-28 17:11:26 UTC) #9
xunjieli
https://codereview.chromium.org/1892423002/diff/80001/components/cronet/ios/cronet_bidirectional_stream.cc File components/cronet/ios/cronet_bidirectional_stream.cc (right): https://codereview.chromium.org/1892423002/diff/80001/components/cronet/ios/cronet_bidirectional_stream.cc#newcode184 components/cronet/ios/cronet_bidirectional_stream.cc:184: delegate_->OnFailed(error); Does the API guarantee that delegate is only ...
4 years, 7 months ago (2016-04-28 20:20:45 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1892423002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1892423002/100001
4 years, 7 months ago (2016-04-28 21:36:20 UTC) #12
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-04-28 23:08:13 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1892423002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1892423002/120001
4 years, 7 months ago (2016-04-29 21:53:50 UTC) #17
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 7 months ago (2016-04-29 22:35:05 UTC) #19
commit-bot: I haz the power
4 years, 7 months ago (2016-04-30 17:29:41 UTC) #20
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/5ef58edc3a8a1aa123a75daa8045b6962da2f1c6
Cr-Commit-Position: refs/heads/master@{#390786}

Powered by Google App Engine
This is Rietveld 408576698