mirror of
https://github.com/actix/actix-extras.git
synced 2024-11-24 07:53:00 +01:00
add changelog entry
This commit is contained in:
parent
805dbea8e7
commit
2adf8a3a48
@ -1,5 +1,10 @@
|
|||||||
# Changes
|
# Changes
|
||||||
|
|
||||||
|
## 0.5.5 (2018-04-xx)
|
||||||
|
|
||||||
|
* Fix panic when Websocket is closed with no error code #191
|
||||||
|
|
||||||
|
|
||||||
## 0.5.4 (2018-04-19)
|
## 0.5.4 (2018-04-19)
|
||||||
|
|
||||||
* Add identity service middleware
|
* Add identity service middleware
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "actix-web"
|
name = "actix-web"
|
||||||
version = "0.5.4"
|
version = "0.5.5"
|
||||||
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
|
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
|
||||||
description = "Actix web is a simple, pragmatic and extremely fast web framework for Rust."
|
description = "Actix web is a simple, pragmatic and extremely fast web framework for Rust."
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
|
@ -310,10 +310,11 @@ where
|
|||||||
}
|
}
|
||||||
OpCode::Close => {
|
OpCode::Close => {
|
||||||
self.closed = true;
|
self.closed = true;
|
||||||
let close_code = if payload.len() >= 2{
|
let close_code = if payload.len() >= 2 {
|
||||||
let raw_code = NetworkEndian::read_uint(payload.as_ref(), 2) as u16;
|
let raw_code =
|
||||||
|
NetworkEndian::read_uint(payload.as_ref(), 2) as u16;
|
||||||
CloseCode::from(raw_code)
|
CloseCode::from(raw_code)
|
||||||
}else{
|
} else {
|
||||||
CloseCode::Status
|
CloseCode::Status
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user