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

Unified Diff: net/socket/ssl_client_socket_nss.cc

Issue 464083: Enable the SSL_ENABLE_FDX option since we're using SSLClientSocketNSS... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/ssl_client_socket_nss.cc
===================================================================
--- net/socket/ssl_client_socket_nss.cc (revision 33831)
+++ net/socket/ssl_client_socket_nss.cc (working copy)
@@ -299,6 +299,11 @@
if (rv != SECSuccess)
return ERR_UNEXPECTED;
+ // Full duplex is not needed for HTTPS, but needed for SPDY and WebSocket.
+ rv = SSL_OptionSet(nss_fd_, SSL_ENABLE_FDX, PR_TRUE);
+ if (rv != SECSuccess)
+ return ERR_UNEXPECTED;
+
#ifdef SSL_ENABLE_SESSION_TICKETS
// Support RFC 5077
rv = SSL_OptionSet(nss_fd_, SSL_ENABLE_SESSION_TICKETS, PR_TRUE);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698