Update for actix-web-4.0.0-beta.6
This commit is contained in:
parent
b8762953a4
commit
4a2eee997d
@ -15,9 +15,9 @@ categories = ["network-programming", "asynchronous"]
|
|||||||
async-graphql = { path = "../..", version = "=2.11.0" }
|
async-graphql = { path = "../..", version = "=2.11.0" }
|
||||||
|
|
||||||
actix = "0.11.1"
|
actix = "0.11.1"
|
||||||
actix-http = "3.0.0-beta.5"
|
actix-http = "3.0.0-beta.6"
|
||||||
actix-web = { version = "4.0.0-beta.5", default-features = false }
|
actix-web = { version = "4.0.0-beta.6", default-features = false }
|
||||||
actix-web-actors = "4.0.0-beta.4"
|
actix-web-actors = { git = "https://github.com/actix/actix-web.git", rev = "0bb035c" }
|
||||||
futures-util = { version = "0.3.13", default-features = false }
|
futures-util = { version = "0.3.13", default-features = false }
|
||||||
serde_json = "1.0.64"
|
serde_json = "1.0.64"
|
||||||
serde_urlencoded = "0.7.0"
|
serde_urlencoded = "0.7.0"
|
||||||
|
@ -118,6 +118,7 @@ impl FromRequest for BatchRequest {
|
|||||||
}
|
}
|
||||||
PayloadError::Http2Payload(e) if e.is_io() => e.into_io().unwrap(),
|
PayloadError::Http2Payload(e) if e.is_io() => e.into_io().unwrap(),
|
||||||
PayloadError::Http2Payload(e) => io::Error::new(ErrorKind::Other, e),
|
PayloadError::Http2Payload(e) => io::Error::new(ErrorKind::Other, e),
|
||||||
|
_ => io::Error::new(ErrorKind::Other, "unknown error"),
|
||||||
})
|
})
|
||||||
.into_async_read(),
|
.into_async_read(),
|
||||||
config,
|
config,
|
||||||
|
Loading…
Reference in New Issue
Block a user