Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allowing large messages #22

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Allowing large messages #22

wants to merge 1 commit into from

Conversation

jhb
Copy link

@jhb jhb commented Feb 13, 2017

  • when sending a large message after a short one, the pointer of the FrameBuffer would be stuck to the end of the short message, with all the parts of the large message overwriting each other.

Basically I was testing to send some megabytes of data. In server_socketserver.py:74 8192 bytes are read at a time. The FrameBuffer then tries to extract a frame, fails, but doesn't reset the _buffers position to the end, so that the next incoming data is appended, instead of overwriting the first 8192 bytes of the message (or parts thereof).

I just discovered coilmq today, cool project, thx for it. I am not familiar with it, so the above is just a first guess, just m2c.

- when sending a large message after a short one, the pointer of the FrameBuffer would be stuck to the end of the short message, with all the parts of the large message overwriting each other.
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.04%) to 91.818% when pulling b1afb81 on jhb:master into 76b7fcf on hozn:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants