vanlu
vanlu
```cpp POST END 779 INSERT END POST END 947 INSERT END POST END 1082 INSERT END POST END 1220 INSERT END POST END 1220 INSERT END POST END 1334 INSERT...
It's ok,now, I review HTTP_SERVICE sample.to call session->close in lambda. ```cpp void POST(const std::shared_ptr session) { const auto request = session->get_request(); long long int content_length = stoll(request->get_header("Content-Length", "0")); auto handler...
This is my coding problem, or the reason for this library, which is a serious problem anyway
```cpp session->yield(OK, "8\r\nrestbed \r\n", {{"Transfer-Encoding", "chunked"}}, [](const shared_ptr session) { session->yield("10\r\nchunked encoding\r\n", [](const shared_ptr session) { session->close("0\r\n\r\n"); }); }); ``` Maybe the size of a file is relatively large. Is...
Sure,just google search. It’s not vpn.
梯子肯定不行,不然我要被请drink tea了
```bash sudo lsof | grep LISTEN ``` Checking the port LISTENING being used by multiple processes. Port reuse or Resource Cache. ??
maybe,try it. ```bash wrk -t 5 -c 10000 -d50s --header "Connection: close" --header "Cache-Control: no-cache" http://127.0.0.1:80/ ```
Adjust the '-t' based on CPU core count.
自己写,GM啊,业界一般都是这样的操作,禁止登陆,踢玩家,存db,停进程