提交 61dc167d 编写于 作者: X Xiaodong Huo 提交者: Peifeng Qiu

fix bug: timeout triggered session event deleting lead to crash (#7723)

上级 5145a9fc
......@@ -1621,6 +1621,7 @@ static int session_attach(request_t* r)
session->active_segids[r->segid] = 1; /* mark this segid as active */
session->maxsegs = r->totalsegs;
session->requests = apr_hash_make(pool);
event_set(&session->ev, 0, 0, 0, 0);
if (session->tid == 0 || session->path == 0 || session->key == 0)
gfatal(r, "out of memory in session_attach");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册