websocket: Revert use of h2 in websocket ALPN. (#34634)

Signed-off-by: Josh Matthews <josh@joshmatthews.net>
This commit is contained in:
Josh Matthews 2024-12-16 01:47:33 -05:00 committed by GitHub
parent a37a9f68b8
commit 4d5109cab2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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() {