mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
websocket: Revert use of h2 in websocket ALPN. (#34634)
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
This commit is contained in:
parent
a37a9f68b8
commit
4d5109cab2
1 changed files with 1 additions and 1 deletions
|
@ -391,7 +391,7 @@ fn connect(
|
||||||
ignore_certificate_errors,
|
ignore_certificate_errors,
|
||||||
http_state.override_manager.clone(),
|
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();
|
let resource_event_sender2 = resource_event_sender.clone();
|
||||||
match HANDLE.lock().unwrap().as_mut() {
|
match HANDLE.lock().unwrap().as_mut() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue