GithubHelp home page GithubHelp logo

Send IO cookie about engine.io HOT 6 CLOSED

socketio avatar socketio commented on July 18, 2024
Send IO cookie

from engine.io.

Comments (6)

pesho avatar pesho commented on July 18, 2024

Guillermo, can you briefly explain why this cookie is necessary/desirable?

from engine.io.

rauchg avatar rauchg commented on July 18, 2024

@pesho sticky load balancing, for example with Amazon ELB

from engine.io.

pesho avatar pesho commented on July 18, 2024

Can you please make it optional?

I, for example, achieve stickiness by hashing the source IP. In such case the cookie is just useless traffic.

from engine.io.

rauchg avatar rauchg commented on July 18, 2024

@pesho you are absolutely right. Creating a ticket

from engine.io.

pesho avatar pesho commented on July 18, 2024

@guille you rock, thanks :)

from engine.io.

cprcrack avatar cprcrack commented on July 18, 2024

Is cases like sticky load balancing or other factors outside the control of Socket.IO the only reason for the "io" cookie to be used? I mean, if the Socket.IO library itself does NOT use the cookie, shouldn't it be disabled by default? I just asked the question at StackOverflow but someone downvoted me, am I missing something? https://stackoverflow.com/questions/52386218/in-socket-io-what-is-the-io-cookie-used-for

from engine.io.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.