mirror of
https://github.com/actix/actix-web.git
synced 2024-12-21 23:56:35 +00:00
Small ws codec fix (#1465)
* Small ws codec fix * Update actix-http/Changes.md Co-authored-by: Huston Bokinsky <huston@deepgram.com>
This commit is contained in:
parent
ce24630d31
commit
b047413b39
2 changed files with 4 additions and 2 deletions
|
@ -7,6 +7,8 @@
|
|||
* Implement `std::error::Error` for our custom errors [#1422]
|
||||
* Remove `failure` support for `ResponseError` since that crate
|
||||
will be deprecated in the near future.
|
||||
* Fix a mistake in the encoding of websocket continuation messages wherein
|
||||
Item::FirstText and Item::FirstBinary are each encoded as the other.
|
||||
|
||||
[#1422]: https://github.com/actix/actix-web/pull/1422
|
||||
|
||||
|
|
|
@ -137,7 +137,7 @@ impl Encoder for Codec {
|
|||
Parser::write_message(
|
||||
dst,
|
||||
&data[..],
|
||||
OpCode::Binary,
|
||||
OpCode::Text,
|
||||
false,
|
||||
!self.flags.contains(Flags::SERVER),
|
||||
)
|
||||
|
@ -151,7 +151,7 @@ impl Encoder for Codec {
|
|||
Parser::write_message(
|
||||
dst,
|
||||
&data[..],
|
||||
OpCode::Text,
|
||||
OpCode::Binary,
|
||||
false,
|
||||
!self.flags.contains(Flags::SERVER),
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue