How to avoid Slowloris DoS Attack? #2716
Unanswered
josecelano
asked this question in
Q&A
Replies: 2 comments 3 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
-
Hello, is there a way to set a timeout in axum as described? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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