Skip to content

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

@nem0

Description

@nem0

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions