Hyper 1.0 client side upgrade doesn't work for HTTP CONNECT #3502
-
Hello hyper maintainers, I'm trying to let my Hyper client support HTTP proxy. Following the example in #1884 , I assume hyper::upgrade::on() should be used on the response to the CONNECT request, but it returns an error "upgrade expected but low level API in use". |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
It is still supported, you need to call |
Beta Was this translation helpful? Give feedback.
It is still supported, you need to call
Connection::with_upgrades()
to enable them. The error message could probably be adjusted.