mirror of
https://github.com/fafhrd91/actix-web
synced 2025-06-26 15:07:42 +02:00
Use immutable reference of service state. Update awc dns resolver. (#1905)
This commit is contained in:
@ -11,8 +11,12 @@
|
||||
* `ServiceRequest::into_parts` and `ServiceRequest::from_parts` would not fail.
|
||||
`ServiceRequest::from_request` would not fail and no payload would be generated [#1893]
|
||||
* Our `Either` type now uses `Left`/`Right` variants (instead of `A`/`B`) [#1894]
|
||||
* `test::{call_service, read_response, read_response_json, send_request}` take `&Service`
|
||||
in argument [#1905]
|
||||
* `App::wrap_fn`, `Resource::wrap_fn` and `Scope::wrap_fn` would give `&Service` in closure
|
||||
argument [#1905]
|
||||
* `web::block` accept any closure that has an output bound to `Send` and `'static`. [#1957]
|
||||
|
||||
|
||||
### Fixed
|
||||
* Multiple calls `App::data` with the same type now keeps the latest call's data. [#1906]
|
||||
|
||||
@ -28,6 +32,7 @@
|
||||
[#1893]: https://github.com/actix/actix-web/pull/1893
|
||||
[#1894]: https://github.com/actix/actix-web/pull/1894
|
||||
[#1869]: https://github.com/actix/actix-web/pull/1869
|
||||
[#1905]: https://github.com/actix/actix-web/pull/1905
|
||||
[#1906]: https://github.com/actix/actix-web/pull/1906
|
||||
[#1957]: https://github.com/actix/actix-web/pull/1957
|
||||
|
||||
|
Reference in New Issue
Block a user