Skip to content

Server blocks when a connection is opened with no request sent. #21

Closed
@paul-1

Description

@paul-1

Using Circuitpython 8.0.0-b3 with socket reuse patch, on a picoW.

Firefox: Everything works fine.
Chrome: Socket/connection is left in a blocking state. It appears that chrome is reopening a connection in anticipation of the next request.

This is the call that is blocking, when there are no bytes to receive.

length, _ = conn.recvfrom_into(self._buffer)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions