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

Issue 25977005: [SPDY] Do not advertise SPDY/2 by default (Closed)

Created:
7 years, 2 months ago by akalin
Modified:
7 years, 2 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org
Visibility:
Public.

Description

[SPDY] Do not advertise SPDY/2 by default Add a switch to re-enable advertising SPDY/2. Use SPDY/3 instead of SPDY/2 for cases where SPDY is forced on. Also use SPDY/3 instead of SPDY/2 in tests. Add "deprecated" to all enum constants involving SPDY/2. Remove unused --enable-npn switch. BUG=303957 R=darin@chromium.org, rtenneti@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=227229

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix tests #

Patch Set 3 : Rebase #

Total comments: 2

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+122 lines, -112 lines) Patch
M chrome/browser/chrome_net_benchmarking_message_filter.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/io_thread.h View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/io_thread.cc View 1 2 3 3 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/net/http_server_properties_manager_unittest.cc View 1 6 chunks +7 lines, -7 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 2 chunks +1 line, -1 line 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 2 chunks +4 lines, -3 lines 0 comments Download
M net/http/http_network_layer.h View 1 chunk +1 line, -1 line 0 comments Download
M net/http/http_network_layer.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/http/http_network_transaction_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M net/http/http_pipelined_host_forced_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M net/http/http_pipelined_host_impl_unittest.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M net/http/http_proxy_client_socket_pool_unittest.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M net/http/http_response_info.h View 1 chunk +1 line, -1 line 0 comments Download
M net/http/http_response_info.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M net/http/http_server_properties.h View 1 chunk +3 lines, -3 lines 0 comments Download
M net/http/http_server_properties.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M net/http/http_server_properties_impl_unittest.cc View 6 chunks +9 lines, -9 lines 0 comments Download
M net/http/http_stream_factory.h View 1 chunk +11 lines, -12 lines 0 comments Download
M net/http/http_stream_factory.cc View 5 chunks +12 lines, -14 lines 0 comments Download
M net/http/http_stream_factory_impl_request_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M net/http/http_stream_factory_impl_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M net/quic/quic_network_transaction_unittest.cc View 9 chunks +9 lines, -9 lines 0 comments Download
M net/socket/next_proto.h View 1 chunk +2 lines, -2 lines 0 comments Download
M net/socket/ssl_client_socket.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M net/socket/ssl_client_socket_pool_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M net/spdy/buffered_spdy_framer.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/spdy/buffered_spdy_framer_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M net/spdy/spdy_http_stream_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M net/spdy/spdy_network_transaction_unittest.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M net/spdy/spdy_proxy_client_socket_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M net/spdy/spdy_session_pool.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M net/spdy/spdy_session_pool_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M net/spdy/spdy_session_unittest.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M net/spdy/spdy_stream_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M net/spdy/spdy_websocket_stream_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M net/websockets/websocket_handshake_handler_spdy_test.cc View 1 chunk +2 lines, -1 line 0 comments Download
M net/websockets/websocket_job_test.cc View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 17 (0 generated)
akalin
+rtenneti for review
7 years, 2 months ago (2013-10-04 08:42:53 UTC) #1
akalin
+darin for chrome/ OWNERS
7 years, 2 months ago (2013-10-04 08:43:12 UTC) #2
ramant (doing other things)
https://codereview.chromium.org/25977005/diff/1/net/http/http_server_properties.h File net/http/http_server_properties.h (right): https://codereview.chromium.org/25977005/diff/1/net/http/http_server_properties.h#newcode21 net/http/http_server_properties.h:21: DEPRECATED_NPN_SPDY_2 = 0, unit tests seem to fail. Could ...
7 years, 2 months ago (2013-10-04 17:03:36 UTC) #3
akalin
ptal https://codereview.chromium.org/25977005/diff/1/net/http/http_server_properties.h File net/http/http_server_properties.h (right): https://codereview.chromium.org/25977005/diff/1/net/http/http_server_properties.h#newcode21 net/http/http_server_properties.h:21: DEPRECATED_NPN_SPDY_2 = 0, On 2013/10/04 17:03:36, ramant wrote: ...
7 years, 2 months ago (2013-10-04 18:51:11 UTC) #4
ramant (doing other things)
On 2013/10/04 18:51:11, akalin wrote: > ptal > > https://codereview.chromium.org/25977005/diff/1/net/http/http_server_properties.h > File net/http/http_server_properties.h (right): > ...
7 years, 2 months ago (2013-10-04 19:53:45 UTC) #5
akalin
On 2013/10/04 19:53:45, ramant wrote: > On 2013/10/04 18:51:11, akalin wrote: > > ptal > ...
7 years, 2 months ago (2013-10-04 19:55:26 UTC) #6
ramant (doing other things)
lgtm
7 years, 2 months ago (2013-10-04 21:43:47 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/akalin@chromium.org/25977005/52001
7 years, 2 months ago (2013-10-05 00:35:14 UTC) #8
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=28996
7 years, 2 months ago (2013-10-05 00:55:54 UTC) #9
akalin
On 2013/10/05 00:55:54, I haz the power (commit-bot) wrote: > Retried try job too often ...
7 years, 2 months ago (2013-10-05 06:22:45 UTC) #10
darin (slow to review)
LGTM https://codereview.chromium.org/25977005/diff/52001/chrome/browser/io_thread.h File chrome/browser/io_thread.h (right): https://codereview.chromium.org/25977005/diff/52001/chrome/browser/io_thread.h#newcode224 chrome/browser/io_thread.h:224: // Enable SPDY with the given mode, which ...
7 years, 2 months ago (2013-10-05 06:27:58 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/akalin@chromium.org/25977005/52001
7 years, 2 months ago (2013-10-05 19:37:20 UTC) #12
akalin
https://codereview.chromium.org/25977005/diff/52001/chrome/browser/io_thread.h File chrome/browser/io_thread.h (right): https://codereview.chromium.org/25977005/diff/52001/chrome/browser/io_thread.h#newcode224 chrome/browser/io_thread.h:224: // Enable SPDY with the given mode, which may ...
7 years, 2 months ago (2013-10-05 19:40:17 UTC) #13
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 2 months ago (2013-10-05 20:06:38 UTC) #14
akalin
Committed patchset #4 manually as r227229 (presubmit successful).
7 years, 2 months ago (2013-10-06 05:26:07 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/akalin@chromium.org/25977005/86001
7 years, 2 months ago (2013-10-06 05:26:15 UTC) #16
commit-bot: I haz the power
7 years, 2 months ago (2013-10-06 05:26:25 UTC) #17
Message was sent while issue was closed.
Failed to apply patch for
chrome/browser/chrome_net_benchmarking_message_filter.cc:
While running patch -p1 --forward --force --no-backup-if-mismatch;
  patching file chrome/browser/chrome_net_benchmarking_message_filter.cc
  Hunk #1 FAILED at 112.
  1 out of 1 hunk FAILED -- saving rejects to file
chrome/browser/chrome_net_benchmarking_message_filter.cc.rej

Patch:       chrome/browser/chrome_net_benchmarking_message_filter.cc
Index: chrome/browser/chrome_net_benchmarking_message_filter.cc
diff --git a/chrome/browser/chrome_net_benchmarking_message_filter.cc
b/chrome/browser/chrome_net_benchmarking_message_filter.cc
index
4ad3fc7dce0e73e5f17d9820a8f6c6121906729b..04bc990c65ad3e684f0bbd124853c22d25de7006
100644
--- a/chrome/browser/chrome_net_benchmarking_message_filter.cc
+++ b/chrome/browser/chrome_net_benchmarking_message_filter.cc
@@ -112,7 +112,7 @@ void ChromeNetBenchmarkingMessageFilter::OnEnableSpdy(bool
enable) {
     return;
   }
   if (enable) {
-    net::HttpStreamFactory::EnableNpnSpdy();
+    net::HttpStreamFactory::EnableNpnSpdy3();
     net::HttpNetworkLayer::ForceAlternateProtocol();
   } else {
     net::HttpStreamFactory::EnableNpnHttpOnly();

Powered by Google App Engine
This is Rietveld 408576698