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

Unified Diff: content/browser/renderer_host/p2p/socket_host_udp.cc

Issue 22381012: Allow p2p UDP packages to set DSCP (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed tests Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/browser/renderer_host/p2p/socket_host_udp_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/p2p/socket_host_udp.cc
diff --git a/content/browser/renderer_host/p2p/socket_host_udp.cc b/content/browser/renderer_host/p2p/socket_host_udp.cc
index bcfb282a2c42c52b3bf34de53a68ed25c05f2402..04da236725ccbb008c89accd42b3aa43c44ce108 100644
--- a/content/browser/renderer_host/p2p/socket_host_udp.cc
+++ b/content/browser/renderer_host/p2p/socket_host_udp.cc
@@ -66,6 +66,7 @@ P2PSocketHostUdp::P2PSocketHostUdp(IPC::Sender* message_sender, int id)
socket_(new net::UDPServerSocket(NULL, net::NetLog::Source())),
send_pending_(false),
send_packet_count_(0) {
+ socket_->SetToS(net::DSCP_AF41);
juberti2 2013/08/08 00:44:45 Seems a little dangerous to set this by default. S
hubbe 2013/08/08 23:23:01 Changed this CL to plumb dscp through the IPC laye
}
P2PSocketHostUdp::~P2PSocketHostUdp() {
« no previous file with comments | « no previous file | content/browser/renderer_host/p2p/socket_host_udp_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698