mirror of
https://github.com/actix/actix-extras.git
synced 2025-06-25 09:59:21 +02:00
do not com press upgrade connection
This commit is contained in:
@ -459,6 +459,7 @@ impl PayloadEncoder {
|
||||
} else {
|
||||
resp.headers.insert(CONNECTION, HeaderValue::from_static("upgrade"));
|
||||
}
|
||||
encoding = ContentEncoding::Identity;
|
||||
TransferEncoding::eof()
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user