diff options
author | hawk@chromium.org <hawk@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-03 23:05:48 +0000 |
---|---|---|
committer | hawk@chromium.org <hawk@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-03 23:05:48 +0000 |
commit | 13f5578f84833b2dda9d2539b234d13e0712893d (patch) | |
tree | bbd4356bd68e6693583d6415ca5439255fbf3dc5 /net/socket/tcp_client_socket_libevent.h | |
parent | aee6bbf90e2fb86525ef26134263699acc19152b (diff) | |
download | chromium_src-13f5578f84833b2dda9d2539b234d13e0712893d.zip chromium_src-13f5578f84833b2dda9d2539b234d13e0712893d.tar.gz chromium_src-13f5578f84833b2dda9d2539b234d13e0712893d.tar.bz2 |
Enable SSL session resumption for Mac OS X.
BUG=19049
TEST=https sites perform identically under Mac OS X <= 10.5.6 and Mac OS X >= 10.5.7 (in particular, https://test-ssev.verisign.com/ and the three pages linked from there)
Review URL: http://codereview.chromium.org/177014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25399 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/socket/tcp_client_socket_libevent.h')
-rw-r--r-- | net/socket/tcp_client_socket_libevent.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/net/socket/tcp_client_socket_libevent.h b/net/socket/tcp_client_socket_libevent.h index 601d497..c644a5f 100644 --- a/net/socket/tcp_client_socket_libevent.h +++ b/net/socket/tcp_client_socket_libevent.h @@ -33,6 +33,7 @@ class TCPClientSocketLibevent : public ClientSocket { virtual void Disconnect(); virtual bool IsConnected() const; virtual bool IsConnectedAndIdle() const; + virtual int GetPeerName(struct sockaddr *name, socklen_t *namelen); // Socket methods: // Multiple outstanding requests are not supported. @@ -40,10 +41,6 @@ class TCPClientSocketLibevent : public ClientSocket { virtual int Read(IOBuffer* buf, int buf_len, CompletionCallback* callback); virtual int Write(IOBuffer* buf, int buf_len, CompletionCallback* callback); - // Identical to posix system call of same name - // Needed by ssl_client_socket_nss - virtual int GetPeerName(struct sockaddr *name, socklen_t *namelen); - private: class ReadWatcher : public MessageLoopForIO::Watcher { public: |