Revert of Use the same socket when creating a new connection to handle (patchset #1 id:1 of https://codereview.chromium.org/1666893002/ )
Reason for revert:
Crashes :(
BUG=585300
Original issue's description:
> Use the same socket when creating a new connection to handle
> a stateless reject in order to handle the case were the server is
> using 4-tuple load balancing.
>
> Committed: https://crrev.com/08ecee9086776d5e4825b4ffcb930083fcc3b76d
> Cr-Commit-Position: refs/heads/master@{#373467}
[email protected],[email protected]
# Not skipping CQ checks because original CL landed more than 1 days ago.
Review URL: https://codereview.chromium.org/1681233002
Cr-Commit-Position: refs/heads/master@{#374493}
diff --git a/net/quic/quic_http_stream_test.cc b/net/quic/quic_http_stream_test.cc
index 17f60231..275d9d9 100644
--- a/net/quic/quic_http_stream_test.cc
+++ b/net/quic/quic_http_stream_test.cc
@@ -232,9 +232,8 @@
session_.reset(new QuicChromiumClientSession(
connection_, scoped_ptr<DatagramClientSocket>(socket),
- scoped_ptr<QuicChromiumPacketReader>(nullptr),
/*stream_factory=*/nullptr, &crypto_client_stream_factory_, &clock_,
- &transport_security_state_, scoped_ptr<QuicServerInfo>(nullptr),
+ &transport_security_state_, make_scoped_ptr((QuicServerInfo*)nullptr),
QuicServerId(kDefaultServerHostName, kDefaultServerPort,
PRIVACY_MODE_DISABLED),
kQuicYieldAfterPacketsRead,