mirror of
https://gitee.com/acl-dev/acl.git
synced 2024-12-02 20:08:21 +08:00
test and doc
This commit is contained in:
parent
6393243b17
commit
12ab022a3b
@ -15,8 +15,7 @@ class ACL_CPP_API http_response : public noncopyable
|
||||
{
|
||||
public:
|
||||
/**
|
||||
* 构造函数:通过该构造函数传入的 socket_stream 流对象并
|
||||
* 不会被关闭,需要调用者自己关闭
|
||||
* 构造函数:通过该构造函数传入的 socket_stream 流对象将在本类析构时释放
|
||||
* @param client {socket_stream*} 数据连接流,非空
|
||||
* 注:该类实例在长连接时可以被多次使用,但一定得注意使用
|
||||
* 顺序:get_body->response
|
||||
|
@ -66,7 +66,7 @@ static void handle_request(acl::socket_stream* conn)
|
||||
break;
|
||||
}
|
||||
|
||||
conn->close();
|
||||
//conn->close();
|
||||
printf(">>>> close client <<<<\r\n");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user