How to avoid Slowloris DoS Attack? #2716
Unanswered
josecelano
asked this question in
Q&A
Replies: 1 comment 2 replies
-
There is an example for driving TCP connection acceptance and HTTP message handling yourself here, you can probably go from there and insert timeouts? I suppose we could add support for that kind of thing to |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
Relates to: #1383
I'm trying to set a timeout for the time the server keeps a connection open while waiting for the client to start sending a request.
IMPORTANT: it's NOT a timeout for:
I've created a repo to reproduce the problem with a detailed description:
https://github.com/josecelano/axum-server-timeout
axum version
0.7.5
Beta Was this translation helpful? Give feedback.
All reactions