uvicorn
uvicorn copied to clipboard
An ASGI web server, for Python. 🦄
**Summary** This PR addresses multiple issues mentioned in https://github.com/encode/uvicorn/issues/1068 to improve the `ProxyHeadersMiddleware`. - :bug: Fix the `host` for requests from clients running on the proxy server itself. (The main...
Based on the discussion happened at https://github.com/encode/uvicorn/issues/1549
### Discussed in https://github.com/encode/uvicorn/discussions/2234 Originally posted by **kenballus** January 28, 2024 ### Describe the bug From RFC 9112, section 9.6: > A server that receives a "close" connection option MUST...
# Summary About https://github.com/encode/uvicorn/discussions/1936 The PR will solved https://stackoverflow.com/questions/58133694/graceful-shutdown-of-uvicorn-starlette-app-with-websockets # Checklist - [x] I understand that this PR may be closed in case there was no previous discussion. (This doesn't...
### Initial Checks - [X] I confirm this was discussed, and the maintainers suggest I open an issue. - [X] I'm aware that if I created this issue without a...
This is to make me happy. I'll add a `.git-blame-ignore-revs`, when I have the hash for this commit.
# Foreword This PR is a continuation of #1611 building upon the existing work of @pypae # Summary This PR addresses multiple issues mentioned in #1068 to improve the `ProxyHeadersMiddleware`....
### Discussed in https://github.com/encode/uvicorn/discussions/2236 Originally posted by **nhairs** January 28, 2024 We should probably support the `Forwarded` header which was standardised in [RFC 7239](https://datatracker.ietf.org/doc/html/rfc7239). One of the benefits of this...
# Summary About https://github.com/encode/uvicorn/discussions/2164. The multiprocess manager introduced by this PR includes process keep-alive and process hung detection. It also imitates gunicorn and uses hup, ttin, and ttou signals to...