actix-web
actix-web copied to clipboard
Actix Web is a powerful, pragmatic, and extremely fast web framework for Rust.
When an `actix-web` server receives a SIGTERM signal, it will stop accepting new connections and wait for all active connections to close. After the shutdown timeout configured by `HttpServer::shutdown_timeout`, the...
### Discussed in https://github.com/actix/actix-web/discussions/3140 Originally posted by **TQLeung** September 20, 2023 **Dos actix-web-codegen support attribute macros to GUARD of cusomized definition ??**
Your issue may already be reported! Please search on the [Actix Web issue tracker](https://github.com/actix/actix-web/issues) before creating one. ## Expected Behavior Not really sure whether I am using `awc::Client` in correct...
I want to break down the project into multiple modules. Is there a way to separately introduce the error module in the multi module cargo project,Each module can easily handle...
## PR Type Feature ## PR Checklist - [ ] Tests for the changes have been added / updated. - [ ] Documentation comments have been added / updated. -...
### Discussed in https://github.com/actix/actix-web/discussions/3131 Originally posted by **loganmzz** September 12, 2023 I'm consuming Podman API which by default is exposed as socket file. Before forcing using TCP, I'm wondering if...
I have a project where I spawn some background tasks before starting the `HttpServer`, and when the server has stopped, I notify the tasks and join them, which means there...
## PR Type Bug Fix for awc ## PR Checklist - [x] Tests for the changes have been added / updated. - [x] Documentation comments have been added / updated....
## Expected Behavior The docs seem to suggest that the `web::scope(...)` is a helper that groups different routes under the same prefix, but that otherwise the behaviour would be the...
# Current Behavior Currently, enabling the compression middleware will enable it for all responses. This is a good default but can lead to wasted compression computation if the response is...