Index: net/socket/ssl_client_socket_openssl.h |
diff --git a/net/socket/ssl_client_socket_openssl.h b/net/socket/ssl_client_socket_openssl.h |
index 8ed45c3cf340a96861907a1f343b3a6aaf1cf6c6..53d33c4c8c7c8bb850efb71b645a7ff6e47e3e5a 100644 |
--- a/net/socket/ssl_client_socket_openssl.h |
+++ b/net/socket/ssl_client_socket_openssl.h |
@@ -17,6 +17,7 @@ |
#include "net/socket/client_socket_handle.h" |
#include "net/socket/ssl_client_socket.h" |
#include "net/ssl/channel_id_service.h" |
+#include "net/ssl/openssl_ssl_util.h" |
#include "net/ssl/ssl_client_cert_type.h" |
#include "net/ssl/ssl_config_service.h" |
@@ -209,6 +210,13 @@ class SSLClientSocketOpenSSL : public SSLClientSocket { |
// indicates an error. |
int pending_read_error_; |
+ // If there is a pending read result, the OpenSSL result code (output of |
+ // SSL_get_error) associated with it. |
+ int pending_read_ssl_error_; |
+ |
+ // If there is a pending read result, the OpenSSLErrorInfo associated with it. |
+ OpenSSLErrorInfo pending_read_error_info_; |
+ |
// Used by TransportReadComplete() to signify an error reading from the |
// transport socket. A value of OK indicates the socket is still |
// readable. EOFs are mapped to ERR_CONNECTION_CLOSED. |