websockets
websockets copied to clipboard
Library for building WebSocket servers and clients in Python
When this line: https://github.com/python-websockets/websockets/blob/8c9f6fc27bb54610f1c389d7769cddc1504ca57e/src/websockets/sync/connection.py#L814 runs before this line: https://github.com/python-websockets/websockets/blob/8c9f6fc27bb54610f1c389d7769cddc1504ca57e/src/websockets/sync/client.py#L384 closing the socket doesn't interrupt `recv()` because `recv()` isn't running in the main thread — and interruption is based on signals...
hiya there some background for starters recently as part of an upgrade to fedora41 I have come across release 14 of `websockets` so I have taken that chance to upgrade...
What's the status of free-threading support for this project? Linking #1662
# Description ## Summary After upgrading the websockets library from version 13.0 to 15.0.1, I'm experiencing different behavior when sending and receiving audio packets over WebSocket connections. The audio transmission...
When a `HEAD` request is received by the server, it raises an exception and this makes our server's log noisy when bots and such hit it. Ideally, this would be...
When testing using the CLI tool, doing things quick'n'dirty for testing purpose is, imho, acceptable, as long as it's explicitly stated in the CLI args, for example something like this?...
This PR merges parts of #1628, continuing #1669 and #1672.
## Summary Fixes the documentation in "Memory and Buffers" topic page which incorrectly stated that `max_queue` doesn't exist in the threading implementation. ## Issue The documentation stated: > In the...