| Index: net/http/http_network_transaction_unittest.cc
|
| diff --git a/net/http/http_network_transaction_unittest.cc b/net/http/http_network_transaction_unittest.cc
|
| index 8fbc13d750e41fec8ebd139c8876d3c4af33545b..c5fc1ef6e6258d1a72deaca0de3ed2902c8d14e9 100644
|
| --- a/net/http/http_network_transaction_unittest.cc
|
| +++ b/net/http/http_network_transaction_unittest.cc
|
| @@ -3840,8 +3840,12 @@ TEST_P(HttpNetworkTransactionTest,
|
| // CONNECT to mail.example.org:443 via SPDY.
|
| SpdyHeaderBlock connect2_block;
|
| connect2_block[spdy_util_.GetMethodKey()] = "CONNECT";
|
| - connect2_block[spdy_util_.GetPathKey()] = "mail.example.org:443";
|
| - connect2_block[spdy_util_.GetHostKey()] = "mail.example.org";
|
| + if (GetParam() >= kProtoHTTP2MinimumVersion) {
|
| + connect2_block[spdy_util_.GetHostKey()] = "mail.example.org:443";
|
| + } else {
|
| + connect2_block[spdy_util_.GetPathKey()] = "mail.example.org:443";
|
| + connect2_block[spdy_util_.GetHostKey()] = "mail.example.org";
|
| + }
|
| spdy_util_.MaybeAddVersionHeader(&connect2_block);
|
| scoped_ptr<SpdyFrame> connect2(
|
| spdy_util_.ConstructSpdySyn(3, connect2_block, LOWEST, false, false));
|
|
|