DescriptionMinor change to: http://codereview.chromium.org/3064033
to fix valgrind detected memeory leak. Instead of
storing the spdy session in a smart pointer member
field, use a smart pointer local var in the method.
We end up checking the pool twice, but c'est la vie.
Refactor HttpNetworkTransaction to eliminate the SPDY
specific states of the state machine. This required
adding two new states:
STATE_INIT_STREAM
STATE_INTI_STREAM_COMPLETE
The http_stream_ and spdy_http_stream_ member fields
have been removed, and replaced by a single stream_
member field which is initialized with either an
HttpBasicStream, or SpdyHttpStream depending on the
underlying connection.
In the process, the NetLog no longer receives TYPE_SPDY
events, only TYPE_HTTP, so spdy_network_transaction_unittest.cc
needed to be modified accordingly.
BUG=50267
TEST=none
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=55080
Patch Set 1 #
Total comments: 1
Created: 10 years, 4 months ago
Messages
Total messages: 4 (0 generated)
|