Skip to content

Conversation

@sammacbeth
Copy link

When running the discovery-swarm-webrtc server, the socket.io defaults set a cookie. These cookies, however, do not set samSite flags, causing warnings in modern browsers:

Screenshot 2020-04-24 at 17 59 21

This PR makes two changes:

  1. Add a --no-cookie option to the command line interface, that stops socket.io from setting cookies.
  2. Updates to a newer version of socket.io, which in turn uses a version of engine.io that sets cookies with sameSite=strict, which will suppress browser warnings: https://github.com/socketio/engine.io/releases/tag/3.4.1

Sam Macbeth added 2 commits April 24, 2020 18:01
Passes cookie=false option to socket.io which stops cookie's being set for clients.
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.

1 participant