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

Additional debug messaging #586

Merged
merged 2 commits into from
Sep 13, 2019
Merged

Conversation

BrianKopp
Copy link
Contributor

The kind of change this PR does introduce

  • [] a bug fix
  • a new feature
  • an update to the documentation
  • a code change that improves performance
  • other

Current behaviour

Troubleshooting by turning debug messages on for engine.io does not reveal reason for error for:

  • Unknown session id
  • Invalid origin header
  • Invalid transport parameter

New behaviour

Turning debug messages on for engine.io provides debug logging to help indicate
reason for various 400 bad request messages.

Other information (e.g. related issues)

These additional messages would have helped more quickly diagnose the
reason for error messages we were seeing on a socket.io server interfacing with
many different socket.io client libraries.

@darrachequesne darrachequesne merged commit c144895 into socketio:master Sep 13, 2019
@darrachequesne
Copy link
Member

@BrianKopp 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

Successfully merging this pull request may close these issues.

None yet

2 participants