mirror of
https://gitee.com/TarsCloud/TarsCpp.git
synced 2024-12-22 22:16:38 +08:00
support server cookie
This commit is contained in:
parent
7c4fa4f887
commit
22fb8900c9
@ -22,6 +22,7 @@
|
||||
#include "servant/AppProtocol.h"
|
||||
#include "servant/BaseF.h"
|
||||
#include "servant/TarsNodeF.h"
|
||||
#include "servant/TarsCookie.h"
|
||||
#ifdef _USE_OPENTRACKING
|
||||
#include "servant/text_map_carrier.h"
|
||||
#endif
|
||||
@ -822,7 +823,6 @@ void ServantHandle::handleTarsProtocol(const TarsCurrentPtr ¤t)
|
||||
//处理染色消息
|
||||
string dyeingKey = "";
|
||||
TarsDyeingSwitch dyeSwitch;
|
||||
|
||||
if (processDye(current, dyeingKey))
|
||||
{
|
||||
dyeSwitch.enableDyeing(dyeingKey);
|
||||
|
@ -188,9 +188,8 @@ protected:
|
||||
|
||||
/**
|
||||
* 处理cookie
|
||||
*
|
||||
*/
|
||||
bool processCookie(const TarsCurrentPtr ¤t, string &cookie);
|
||||
bool processCookie(const TarsCurrentPtr ¤t, map<string, string> &cookie);
|
||||
|
||||
/**
|
||||
* 检查set调用合法性
|
||||
|
Loading…
Reference in New Issue
Block a user