WebMods/HTTPSock: Do not send Set-Cookie headers if the cookie has not changed.

To achieve that, split internal cookie jar into a jar for received cookies
and one for cookies that are to be sent with the response.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1840 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
cflakes
2010-03-23 16:48:25 +00:00
parent bf5e56c04f
commit 4daa637130
4 changed files with 33 additions and 27 deletions
+2 -2
View File
@@ -156,8 +156,8 @@ public:
size_t GetAvailSkins(vector<CFile>& vRet);
CString GetSkinName();
CString GetCookie(const CString& sKey) const;
bool SetCookie(const CString& sKey, const CString& sValue);
CString GetRequestCookie(const CString& sKey) const;
bool SendCookie(const CString& sKey, const CString& sValue);
static void FinishUserSessions(const CUser& User) {
m_mspSessions.FinishUserSessions(User);