Bugzilla bug 67898: removed the code to disable Nagle algorithm for the NSS_3_3_BRANCH
authorwtc%netscape.com
Tue, 03 Jul 2001 18:11:17 +0000
branchNSS_3_3_BRANCH
changeset 1711 d7d2b9dc1340394a91ba81317dc233e7b341215d
parent 1699 cfdb536a3d2fbe5bc462ad3075b4d69c46035d37
child 1712 399ad9228f7852b5e9ff3dbdfa6a5e6135d2dfbb
push idunknown
push userunknown
push dateunknown
bugs67898
Bugzilla bug 67898: removed the code to disable Nagle algorithm for the final alert on the NSS_3_3_BRANCH. This change has little effect on Linux and Windows NT and has mixed effects on Solaris.
security/nss/lib/ssl/sslsecur.c
--- a/security/nss/lib/ssl/sslsecur.c
+++ b/security/nss/lib/ssl/sslsecur.c
@@ -930,22 +930,16 @@ ssl_SecureClose(sslSocket *ss)
     int rv;
 
     if (ss->version >= SSL_LIBRARY_VERSION_3_0 	&&
     	ss->firstHsDone 			&& 
 	!(ss->shutdownHow & ssl_SHUTDOWN_SEND)	&&
 	!ss->recvdCloseNotify                   &&
 	(ss->ssl3 != NULL)) {
 
-	/* We don't want the final alert to be Nagle delayed. */
-	if (!ss->delayDisabled) {
-	    ssl_EnableNagleDelay(ss, PR_FALSE);
-	    ss->delayDisabled = 1;
-	}
-
 	(void) SSL3_SendAlert(ss, alert_warning, close_notify);
     }
     rv = ssl_DefClose(ss);
     return rv;
 }
 
 /* Caller handles all locking */
 int