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

Unified Diff: net/spdy/spdy_proxy_client_socket.h

Issue 8771012: Fix crash bug in SpdyProxyClientSocket.GetPeerAddress where (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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/spdy/spdy_proxy_client_socket.cc » ('j') | net/spdy/spdy_proxy_client_socket.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_proxy_client_socket.h
===================================================================
--- net/spdy/spdy_proxy_client_socket.h (revision 112347)
+++ net/spdy/spdy_proxy_client_socket.h (working copy)
@@ -12,6 +12,8 @@
#include "base/basictypes.h"
#include "base/memory/ref_counted.h"
#include "base/memory/weak_ptr.h"
+#include "net/base/address_list.h"
+#include "net/base/ip_endpoint.h"
wtc 2011/12/01 22:22:15 Nit: list ip_endpoint.h after host_port_pair.h.
Ryan Hamilton 2011/12/02 22:24:13 Done. (But then we decided to do a different impl
#include "net/base/completion_callback.h"
#include "net/base/host_port_pair.h"
#include "net/base/net_log.h"
@@ -158,6 +160,9 @@
bool eof_has_been_read_;
// True if the transport socket has ever sent data.
bool was_ever_used_;
+ // Cached copy of peer and local address from the underlying SPDY stream.
+ AddressList peer_address_;
+ IPEndPoint local_address_;
scoped_ptr<SpdyHttpStream> response_stream_;
« no previous file with comments | « no previous file | net/spdy/spdy_proxy_client_socket.cc » ('j') | net/spdy/spdy_proxy_client_socket.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698