Fixed an issue identified by Un1matr1x: If you were running two 0.090 ZNCs on the same IP,

(but different ports), any web login session from ZNC #1 would overwrite the session from
ZNC #2. While doing this, also removed an unnecessary check in CHTTPSock::SendCookie and
CHTTPSock::GetRequestCookies (which doesn't transparently translate cookie names and has
never been used so far).


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2030 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
cflakes
2010-06-19 19:07:24 +00:00
parent b2f564aeaf
commit 114bb25aa8
4 changed files with 11 additions and 16 deletions
+1 -1
View File
@@ -154,7 +154,7 @@ public:
size_t GetAvailSkins(vector<CFile>& vRet);
CString GetSkinName();
CString GetRequestCookie(const CString& sKey) const;
CString GetRequestCookie(const CString& sKey);
bool SendCookie(const CString& sKey, const CString& sValue);
static void FinishUserSessions(const CUser& User) {