Skip to content

Set timeouts to avoid Slowloris attacks. #42

@mmjunior23

Description

@mmjunior23

It would be nice to set timeouts to avoid Slowloris attacks.
Something like the following:

$ dhttpd --IdleTimeout=30 --ReadTimeout=10 --WriteTimeout=10

-it, --IdleTimeout=<seconds>    Closes a connection if no data is requested before the timeout interval. (defaults to "30")
-rt, --ReadTimeout=<seconds>    How long the server waits before it closes a connection when it is waiting for an HTTP read request to complete. (defaults to "90")
-wt, --WriteTimeout=<seconds>   How long the server waits before it closes a connection when it is receiving data from client. (defaults to "120")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions