aboutsummaryrefslogtreecommitdiffstats
path: root/components
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2024-12-16 01:47:33 -0500
committerGitHub <noreply@github.com>2024-12-16 06:47:33 +0000
commit4d5109cab29b5088ed418b974946517c02e23cbd (patch)
tree51eb9039f461f58ca4ec4283a82cf498f712cc88 /components
parenta37a9f68b810e0e7d2a2d4cce4b9e5706288c434 (diff)
downloadservo-4d5109cab29b5088ed418b974946517c02e23cbd.tar.gz
servo-4d5109cab29b5088ed418b974946517c02e23cbd.zip
websocket: Revert use of h2 in websocket ALPN. (#34634)
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
Diffstat (limited to 'components')
-rw-r--r--components/net/websocket_loader.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/net/websocket_loader.rs b/components/net/websocket_loader.rs
index d672476bdb0..198d1ac0d36 100644
--- a/components/net/websocket_loader.rs
+++ b/components/net/websocket_loader.rs
@@ -391,7 +391,7 @@ fn connect(
ignore_certificate_errors,
http_state.override_manager.clone(),
);
- tls_config.alpn_protocols = vec!["h2".to_string().into(), "http/1.1".to_string().into()];
+ tls_config.alpn_protocols = vec!["http/1.1".to_string().into()];
let resource_event_sender2 = resource_event_sender.clone();
match HANDLE.lock().unwrap().as_mut() {