crossbario / crossbario/autobahn-python

[Feature] Make incoming message size configurable

Open
#1,111 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement PRIO HIGH wamp
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.