You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.
http_request_handler!(ngx_http_hello_world_handler, |request: &mut Request| {
// Ignore client request body if any
if !request.discard_request_body().is_ok() {
return HTTP_INTERNAL_SERVER_ERROR.into();
}
// Create body
let user_agent = request.user_agent(); //will crash
let uri = request.uri();
but if I send too many requests ,It will crash, error.log will output lot error logs as below
2022/05/28 23:03:39 [alert] 18733#0: worker process 20181 exited on signal 11
2022/05/28 23:03:39 [alert] 18733#0: worker process 20182 exited on signal 11
2022/05/28 23:03:39 [alert] 18733#0: worker process 20183 exited on signal 11
2022/05/28 23:03:39 [alert] 18733#0: worker process 20184 exited on signal 11
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
normally, It works well.
but if I send too many requests ,It will crash, error.log will output lot error logs as below
The text was updated successfully, but these errors were encountered: