support server cookie

This commit is contained in:
pingfang 2020-03-25 18:49:07 +08:00
parent 64fb9f7e63
commit 1b4d58b290
2 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ public:
/**
* cookie
*/
static const map<string, string> & getCookie()
static map<string, string> & getCookie()
{
ServantProxyThreadData * td = ServantProxyThreadData::getData();
assert(NULL != td);

View File

@ -234,7 +234,7 @@ public:
/**
* cookie
*/
const map<string, string> & getCookie()
map<string, string> & getCookie()
{
return _cookie;
}