Closed Totodore closed 3 months ago
Describe the bug Some clients send an OPTIONS request before connecting with a GET request. In these cases, the engine.io lib should send a 200 OK and not a 400 bad request to the OPTIONS req.
OPTIONS
GET
To Reproduce Run the basic example server and try to connect with https://hoppscotch.io/realtime/socketio
Expected behavior Connection should work.
Erratum, it should be handled by the CORS layer before or by axum.
Describe the bug Some clients send an
OPTIONS
request before connecting with aGET
request. In these cases, the engine.io lib should send a 200 OK and not a 400 bad request to theOPTIONS
req.To Reproduce Run the basic example server and try to connect with https://hoppscotch.io/realtime/socketio
Expected behavior Connection should work.