mirror of
https://github.com/znc/znc.git
synced 2026-08-10 19:02:51 +02:00
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:
+2
-2
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user