Skip to content

Missing await in _handle_connect #952

@ba1dr

Description

@ba1dr

Version 5.7.0

File: socketio/asyncio_server.py, line 449

    if sid is None:
        self._send_packet(eio_sid, self.packet_class(
            packet.CONNECT_ERROR, data='Unable to connect',
            namespace=namespace))
        return

Here should be await self._send_packet(...)

Metadata

Metadata

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions