|
Fix IpcPacketSocketFactory to return EWOULDBLOCK when network interface is congested.
PeerConnection implementation in libjingle will need to handle the case when
a network interface is congested, so it needs to be notified when send buffers
are full. This CL adds send result notification message that is sent to the
renderer process after each message is sent. Sockets created using
IpcPacketSocketFactory will be returning EWOULDBLOCK when Send() buffers are
full instead of dropping the packet silently.
BUG= 226158
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=192721
Total comments: 12
Total comments: 3
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+152 lines, -84 lines) |
Patch |
 |
M |
content/browser/renderer_host/p2p/socket_host.h
|
View
|
|
1 chunk |
+0 lines, -9 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/p2p/socket_host_tcp.h
|
View
|
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/p2p/socket_host_tcp.cc
|
View
|
1
|
3 chunks |
+30 lines, -42 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/p2p/socket_host_tcp_unittest.cc
|
View
|
|
3 chunks |
+13 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/p2p/socket_host_udp.h
|
View
|
1
|
1 chunk |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/p2p/socket_host_udp.cc
|
View
|
1
|
5 chunks |
+19 lines, -22 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/p2p/socket_host_udp_unittest.cc
|
View
|
|
3 chunks |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/common/p2p_messages.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/p2p/ipc_socket_factory.cc
|
View
|
1
2
|
7 chunks |
+40 lines, -5 lines |
2 comments
|
Download
|
 |
M |
content/renderer/p2p/socket_client.h
|
View
|
|
4 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/renderer/p2p/socket_client.cc
|
View
|
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/p2p/socket_dispatcher.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/p2p/socket_dispatcher.cc
|
View
|
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
Total messages: 24 (0 generated)
|