Closed claytonneal closed 1 year ago
Hello @claytonneal, thank you for your contribution. Personally, I believe this may not be a widely common requirement. I would recommend creating a separate package as the current structure allows developers to create their own Net packages and incorporate new features. I’m more than willing to include new packages in the awesome net section.
In terms of sticky-session, I’d advise considering a client-IP-based solution. If you choose to implement a cookie-based solution, please also accommodate the WebSockets and specify the designated cookie name.
heya, lets close this PR as yes team will create their own Net class!
Problem
When connex is communicating through a load balancer that is using Cookies, Connex SimpleNet when running on node.js does not store Set-Cookie headers or use them as Cookie headers for subsequent requests
Changes
Added class SimpleNetNode that stores cookies and will add them in subsequent http requests
Advice could be given if to extend SimpleNet for this