1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-06-25 22:49:21 +02:00

fix dev dependencies

This commit is contained in:
Nikolay Kim
2019-04-02 15:00:10 -07:00
parent db1f7651a3
commit 4227cddd30
8 changed files with 15 additions and 13 deletions

View File

@ -64,7 +64,7 @@ pub fn handshake(req: &HttpRequest) -> Result<HttpResponseBuilder, HandshakeErro
}
// Upgrade connection
if !req.upgrade() {
if !req.head().upgrade() {
return Err(HandshakeError::NoConnectionUpgrade);
}