Skip to content

server never switches to websocket #6

@vkurland

Description

@vkurland

I am testing v1.0.3 with jetty 9.2.x (could not get jetty 9.4.x to work for me for unrelated reasons). Server-side socket-io servlet always uses long poll and never switches to websocket. I am attaching a screenshot of the Chrome developer tools panel that shows that the server always returns 200 and never 101 (protocol switch). I have seen the 101 response with socket-io library v1.0.2

Is there some special initialization I should do to enable websocket transport? I need the library to support both websocket and long poll.

screenshot 2017-09-21 16 01 41

Metadata

Metadata

Assignees

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