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

Unified Diff: net/socket/ssl_client_socket_nss.h

Issue 10382186: Prevent the infinite loop inside SSLClientSocketNSS::OnSendComplete. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Make changes suggested by rsleevi, exclude SSLClientSocketOpenSSL from this CL Created 8 years, 7 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 | net/socket/ssl_client_socket_nss.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/ssl_client_socket_nss.h
===================================================================
--- net/socket/ssl_client_socket_nss.h (revision 137212)
+++ net/socket/ssl_client_socket_nss.h (working copy)
@@ -149,9 +149,9 @@
void SaveSSLHostInfo();
bool DoTransportIO();
- int BufferSend(void);
+ int BufferSend();
void BufferSendComplete(int result);
- int BufferRecv(void);
+ int BufferRecv();
void BufferRecvComplete(int result);
// Handles an NSS error generated while handshaking or performing IO.
@@ -214,6 +214,7 @@
bool transport_send_busy_;
bool transport_recv_busy_;
+ bool transport_recv_eof_;
scoped_refptr<IOBuffer> recv_buffer_;
scoped_ptr<ClientSocketHandle> transport_;
« no previous file with comments | « no previous file | net/socket/ssl_client_socket_nss.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698