Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to be compatible with servlet 2.5 #15

Closed
matrixcloud opened this issue Apr 12, 2019 · 2 comments
Closed

Is it possible to be compatible with servlet 2.5 #15

matrixcloud opened this issue Apr 12, 2019 · 2 comments

Comments

@matrixcloud
Copy link

Hi,

Is it possible to be compatible with servlet 2.5?

Thanks,
Atom

@trinopoty
Copy link
Collaborator

The servlet 2.5 spec does not provide a lot of core functionality required by engine.io.
For instance, Async support was not available in servet 2.5 spec along with websocket support.
Although you can live without both of those, the async is considered a required feature because without it, the client library sends lots of requests to the server (#11) causing a DoS.

In conclusion, it would be rather cumbersome to support servlet 2.5 spec. If you must use the servlet 2.5 spec, you can try using a node.js bridge for your socket.io connections.

@matrixcloud
Copy link
Author

@trinopoty i see, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants