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

Unified Diff: net/socket/ssl_client_socket_nss.h

Issue 11366155: SSLClientSocket::IsConnected should care for internal buffers (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: add unit test Created 8 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
Index: net/socket/ssl_client_socket_nss.h
diff --git a/net/socket/ssl_client_socket_nss.h b/net/socket/ssl_client_socket_nss.h
index 6f3f7bb5cdb988a4cd963c4e2c61d3ebf6fdc23f..8ba25eacd8ee44f524e2ba0e1f07df68b698a32b 100644
--- a/net/socket/ssl_client_socket_nss.h
+++ b/net/socket/ssl_client_socket_nss.h
@@ -171,6 +171,9 @@ class SSLClientSocketNSS : public SSLClientSocket {
// True if the SSL handshake has been completed.
bool completed_handshake_;
+ // True if |core_| detects EOF.
tyoshino (SeeGerritForStatus) 2012/12/14 15:13:54 has detected
Takashi Toyoshima 2012/12/21 06:39:03 Done.
+ bool core_recv_eof_;
wtc 2012/12/14 22:55:14 I suggest we name this member ssl_recv_eof_, to co
+
State next_handshake_state_;
// The NSS SSL state machine. This is owned by |core_|.

Powered by Google App Engine
This is Rietveld 408576698