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

Issue 2031923006: [Cronet]Make delaying sending request headers explicit in bidirectional stream (Closed)

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

Description

[Cronet]Make delaying sending request headers explicit in bidirectional stream Always delaying sending request headers when disableAutoFlush is not safe (in the case of bidirectional streaming). Because server might be expecting request headers before sending a response, while client might only call SendData/SendvData after server responds. This CL adds an explicit flag to tell net::BidirectionalStream when to delay sending request headers and coalesce them with data frames in SendData/SendvData. BUG=599902 TBR=mef@chromium.org NOTRY=true NOPRESUBMIT=true Review-Url: https://codereview.chromium.org/1992953004 Cr-Commit-Position: refs/heads/master@{#397567} (cherry picked from commit bcb0f86e685b9d603bebb97e9574e2e0e32948c2)

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+756 lines, -206 lines) Patch
M components/cronet/android/api/src/org/chromium/net/BidirectionalStream.java View 4 chunks +24 lines, -3 lines 0 comments Download
M components/cronet/android/api/src/org/chromium/net/CronetEngine.java View 1 chunk +5 lines, -1 line 0 comments Download
M components/cronet/android/api/src/org/chromium/net/JavaCronetEngine.java View 1 chunk +2 lines, -1 line 0 comments Download
M components/cronet/android/cronet_bidirectional_stream_adapter.h View 5 chunks +17 lines, -3 lines 0 comments Download
M components/cronet/android/cronet_bidirectional_stream_adapter.cc View 5 chunks +34 lines, -7 lines 0 comments Download
M components/cronet/android/java/src/org/chromium/net/CronetBidirectionalStream.java View 14 chunks +45 lines, -17 lines 0 comments Download
M components/cronet/android/java/src/org/chromium/net/CronetUrlRequestContext.java View 1 chunk +4 lines, -2 lines 0 comments Download
M components/cronet/android/test/javatests/src/org/chromium/net/BidirectionalStreamQuicTest.java View 2 chunks +134 lines, -47 lines 0 comments Download
M components/cronet/android/test/javatests/src/org/chromium/net/BidirectionalStreamTest.java View 2 chunks +119 lines, -26 lines 0 comments Download
M components/cronet/ios/cronet_bidirectional_stream.h View 1 chunk +1 line, -1 line 0 comments Download
M components/cronet/ios/cronet_bidirectional_stream.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/http/bidirectional_stream.h View 6 chunks +27 lines, -5 lines 0 comments Download
M net/http/bidirectional_stream.cc View 4 chunks +18 lines, -9 lines 0 comments Download
M net/http/bidirectional_stream_impl.h View 2 chunks +20 lines, -2 lines 0 comments Download
M net/http/bidirectional_stream_unittest.cc View 5 chunks +8 lines, -10 lines 0 comments Download
M net/http/http_stream_factory_impl_unittest.cc View 3 chunks +5 lines, -3 lines 0 comments Download
M net/quic/bidirectional_stream_quic_impl.h View 3 chunks +7 lines, -4 lines 0 comments Download
M net/quic/bidirectional_stream_quic_impl.cc View 7 chunks +35 lines, -24 lines 0 comments Download
M net/quic/bidirectional_stream_quic_impl_unittest.cc View 9 chunks +226 lines, -18 lines 0 comments Download
M net/spdy/bidirectional_stream_spdy_impl.h View 3 chunks +4 lines, -5 lines 0 comments Download
M net/spdy/bidirectional_stream_spdy_impl.cc View 10 chunks +20 lines, -17 lines 0 comments Download

Messages

Total messages: 7 (3 generated)
xunjieli
Misha, this fixes a crasher (see internal bug 29123954 for more details). This CL merges ...
4 years, 6 months ago (2016-06-03 21:45:01 UTC) #1
xunjieli
On 2016/06/03 21:45:01, xunjieli wrote: > Misha, this fixes a crasher (see internal bug 29123954 ...
4 years, 6 months ago (2016-06-03 22:00:36 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2031923006/1
4 years, 6 months ago (2016-06-03 22:03:06 UTC) #5
commit-bot: I haz the power
4 years, 6 months ago (2016-06-03 22:05:10 UTC) #7
Message was sent while issue was closed.
Committed patchset #1 (id:1)

Powered by Google App Engine
This is Rietveld 408576698