DiffServ codepoint and ECN: Roll back to just ECT (no DSCP)

This commit is contained in:
Keith Winstein
2013-03-10 16:41:44 -04:00
parent 093bbc9111
commit 770e4208cc
+2 -2
View File
@@ -159,8 +159,8 @@ Connection::Socket::Socket()
}
#endif
/* set diffserv values to AF42 + ECT */
int dscp = 0x92; /* OS X does not have IPTOS_DSCP_AF42 constant */
// int dscp = 0x92; /* OS X does not have IPTOS_DSCP_AF42 constant */
int dscp = 0x02; /* ECN-capable transport only */
if ( setsockopt( _fd, IPPROTO_IP, IP_TOS, &dscp, sizeof (dscp)) < 0 ) {
// perror( "setsockopt( IP_TOS )" );
}