fastapi-proxy-lib icon indicating copy to clipboard operation
fastapi-proxy-lib copied to clipboard

HTTP/WebSocket proxy for starlette/FastAPI

Results 14 fastapi-proxy-lib issues
Sort by recently updated
recently updated
newest added
trafficstars

I just found a bug. The current implementation only supports a strict `one-receive-one-send` mode within a single loop. If this pattern is violated, such as `multiple receives and one send`,...

help wanted

updates: - [github.com/astral-sh/ruff-pre-commit: v0.11.2 → v0.11.10](https://github.com/astral-sh/ruff-pre-commit/compare/v0.11.2...v0.11.10)

### Describe the Bug When establishing a WebSocket connection over SSL, if the server process is abruptly terminated via `kill -9`, the reverse proxy cannot gracefully handle the exception. ###...

bug

## Describe the bug In https://github.com/WSH032/fastapi-proxy-lib/blob/64a7be4ff6de596c48f19c0274a77b9b90b2a30b/src/fastapi_proxy_lib/core/websocket.py#L536, headers are copied from the upstream websocket connection to the `httpx_ws` call. This can lead to a desync in the negotiated options. For example,...

bug