crossbario / crossbario/autobahn-python
[Feature] Make incoming message size configurable
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2.5k
- Forks
- 768
- PR merge metrics
- No merged PRs in 30d
Description
I am not sure about the websocket implementation but when using twisted RawSocket transport, if the incoming message size is greater than 100kb, my connection drops. We basically need an option to configure the incoming message size of the underlying transport.
For twisted its Int32StringReceiver.MAX_SIZE that we need to set.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the websocket implementation and Twisted RawSocket transport handling, then trace where Int32StringReceiver is configured. Done means an option controls Int32StringReceiver.MAX_SIZE so incoming messages larger than 100 KB do not drop the connection.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- networking
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100