Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • 1
    It's usually better to allow clients to fail quickly, unless you have reason to think the failure is the result of some sort of malicious request. Allowing clients to hang until they time out can consume resources, frustrate users, etc., etc. Commented Apr 29, 2014 at 2:17
  • Actually you would be much better off letting bad request fail quickly -- hanging them creates a nasty ddos vector, web servers don't like stuck processes whereas clients can easily choose to fire and forget allowing them to create many, many hung processes. If you are looking at flood control or to prevent brute force attacks on secrets there are much better options. Commented Jul 25, 2014 at 13:22