增加HTTP Session延迟回收机制,完善HTTP Session销毁流程
This commit is contained in:
@@ -107,6 +107,13 @@ char *tfe_thread_safe_ctime(const time_t *tp, char *buf, int len);
|
||||
#define TFE_PTR_DIFF(ptr1, ptr2) ((uintptr_t)(ptr1) - (uintptr_t)(ptr2))
|
||||
#define TFE_DIM(x) (sizeof (x) / sizeof ((x)[0]))
|
||||
|
||||
#ifndef TAILQ_FOREACH_SAFE
|
||||
#define TAILQ_FOREACH_SAFE(var, head, field, tvar) \
|
||||
for ((var) = TAILQ_FIRST((head)); \
|
||||
(var) && ((tvar) = TAILQ_NEXT((var), field), 1); \
|
||||
(var) = (tvar))
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
static inline void tfe_hexdump2file(FILE *f, const char * title, const void * buf, unsigned int len)
|
||||
|
||||
Reference in New Issue
Block a user