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

Only one websocket frame is handled if multiple frames are received in single recv() #23

Open
nem0 opened this issue Feb 21, 2019 · 0 comments

Comments

@nem0
Copy link

nem0 commented Feb 21, 2019

Steps to reproduce:

  1. open (with correct IP and port) chrome-devtools://devtools/bundled/inspector.html?experiments=true&v8only=true&ws=127.0.0.1:8888/backend in Chrome, it sends multiple websocket frames in a row
  2. wby_socket_recv receives data for all frames in a single call (e.g. 421 bytes in my case)
  3. ws_frame callback in wby_update_connection is called only for the first frame (e.g. 47 bytes in my case)
  4. other frames are ignored

Expected result: ws_frame callback should be called for all received websocket frames

Note: Win8

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

No branches or pull requests

1 participant