add session id generator

This commit is contained in:
luwenpeng
2024-01-31 14:45:50 +08:00
parent 2766b3cfeb
commit 97ef872d9a
21 changed files with 385 additions and 167 deletions

View File

@@ -475,17 +475,17 @@ const char *session_closing_reasion_tostring(enum closing_reasion reasion)
switch (reasion)
{
case CLOSING_BY_TIMEOUT:
return "closing_by_timeout";
return "CLOSING BY TIMEOUT";
case CLOSING_BY_EVICTED:
return "closing_by_evicted";
return "CLOSING BY EVICTED";
case CLOSING_BY_CLIENT_FIN:
return "closing_by_client_fin";
return "CLOSING BY CLIENT FIN";
case CLOSING_BY_CLIENT_RST:
return "closing_by_client_rst";
return "CLOSING BY CLIENT RST";
case CLOSING_BY_SERVER_FIN:
return "closing_by_server_fin";
return "CLOSING BY SERVER FIN";
case CLOSING_BY_SERVER_RST:
return "closing_by_server_rst";
return "CLOSING BY SERVER RST";
default:
return "unknown";
}