cometd / cometd-nodejs-client

CometD client for NodeJS
Apache License 2.0
17 stars 7 forks source link

Do not store the same cookie multiple times #10

Closed sbordet closed 7 years ago

sbordet commented 7 years ago

When the server sends the same cookie (i.e. with the same name, possibly different values) multiple times, the client stores them all, so that the Cookie header becomes, for example:

Cookie: name=value; name=value; name=value; ...

This may lead to a too large header that is rejected by servers with 413.