|
|
[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
Committed: https://crrev.com/bcb0f86e685b9d603bebb97e9574e2e0e32948c2
Cr-Commit-Position: refs/heads/master@{#397567}
Total comments: 3
Total comments: 5
Total comments: 32
|
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
|
1
2
3
4
5
6
7
8
9
10
|
4 chunks |
+24 lines, -3 lines |
0 comments
|
Download
|
 |
M |
components/cronet/android/api/src/org/chromium/net/CronetEngine.java
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
components/cronet/android/api/src/org/chromium/net/JavaCronetEngine.java
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
components/cronet/android/cronet_bidirectional_stream_adapter.h
|
View
|
1
2
3
4
5
6
7
8
9
|
5 chunks |
+17 lines, -3 lines |
0 comments
|
Download
|
 |
M |
components/cronet/android/cronet_bidirectional_stream_adapter.cc
|
View
|
1
2
3
4
5
|
5 chunks |
+34 lines, -7 lines |
0 comments
|
Download
|
 |
M |
components/cronet/android/java/src/org/chromium/net/CronetBidirectionalStream.java
|
View
|
1
2
3
4
5
6
7
8
9
|
14 chunks |
+45 lines, -17 lines |
0 comments
|
Download
|
 |
M |
components/cronet/android/java/src/org/chromium/net/CronetUrlRequestContext.java
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
components/cronet/android/test/javatests/src/org/chromium/net/BidirectionalStreamQuicTest.java
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+134 lines, -47 lines |
0 comments
|
Download
|
 |
M |
components/cronet/android/test/javatests/src/org/chromium/net/BidirectionalStreamTest.java
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+119 lines, -26 lines |
0 comments
|
Download
|
 |
M |
components/cronet/ios/cronet_bidirectional_stream.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
components/cronet/ios/cronet_bidirectional_stream.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
net/http/bidirectional_stream.h
|
View
|
1
2
3
4
5
6
7
8
9
|
6 chunks |
+27 lines, -5 lines |
0 comments
|
Download
|
 |
M |
net/http/bidirectional_stream.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
4 chunks |
+18 lines, -9 lines |
0 comments
|
Download
|
 |
M |
net/http/bidirectional_stream_impl.h
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+20 lines, -2 lines |
0 comments
|
Download
|
 |
M |
net/http/bidirectional_stream_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
5 chunks |
+8 lines, -10 lines |
0 comments
|
Download
|
 |
M |
net/http/http_stream_factory_impl_unittest.cc
|
View
|
1
2
3
4
|
3 chunks |
+5 lines, -3 lines |
0 comments
|
Download
|
 |
M |
net/quic/bidirectional_stream_quic_impl.h
|
View
|
1
2
3
4
5
6
7
8
9
|
3 chunks |
+7 lines, -4 lines |
0 comments
|
Download
|
 |
M |
net/quic/bidirectional_stream_quic_impl.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
7 chunks |
+35 lines, -24 lines |
0 comments
|
Download
|
 |
M |
net/quic/bidirectional_stream_quic_impl_unittest.cc
|
View
|
1
2
3
4
5
6
|
9 chunks |
+226 lines, -18 lines |
0 comments
|
Download
|
 |
M |
net/spdy/bidirectional_stream_spdy_impl.h
|
View
|
1
2
3
4
5
|
3 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
 |
M |
net/spdy/bidirectional_stream_spdy_impl.cc
|
View
|
1
2
3
4
5
6
7
8
|
10 chunks |
+20 lines, -17 lines |
0 comments
|
Download
|
Dependent Patchsets:
Total messages: 26 (11 generated)
|