0
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-23 22:27:38 -05:00
caddy/caddyhttp
Matthew Holt f49e0c9b56
httpserver: Disable default timeouts (closes #1464)
Timeouts are important for mitigating slowloris, yes. But after a number
of complaints and seeing that default timeouts are a sore point of
confusion, we're disabling them now. However, the code that sets
default timeouts remains intact; the defaults are just the zero value.

While Caddy aims to be secure by default, Caddy also aims to serve a
worldwide audience. Even my own internet here in Utah is poor at times,
with bad WiFi signal, causing some connections to take over 10s to
be established. Many use the Internet while commuting on slower
connection speeds. Latency across country borders is another concern.

As such, disabling default timeouts will serve a greater population of
users than enabling them, as slowloris is easy to mitigate and does
not seem to be reported often (I've only seen it once). It's also very
difficult sometimes to distinguish slowloris from genuine slow networks.
That decision is best left to the site owner for now.
2017-02-22 08:52:08 -07:00
..
basicauth basicauth: Store name of authenticated user (#1426) 2017-02-17 15:37:58 -07:00
bind Refactor how caddy.Context is stored and used 2016-06-20 11:59:23 -06:00
browse browse: Sanitize file names and links in default template 2017-01-23 22:37:46 -07:00
errors Roll all logs by default (#1379) 2017-02-08 09:23:33 -07:00
expvar Refactor how caddy.Context is stored and used 2016-06-20 11:59:23 -06:00
extensions Fix misspellings 2016-09-05 10:20:34 -06:00
fastcgi basicauth: Store name of authenticated user (#1426) 2017-02-17 15:37:58 -07:00
gzip HTTP/2 push support (golang 1.8) (#1215) 2017-02-17 09:25:22 -07:00
header HTTP/2 push support (golang 1.8) (#1215) 2017-02-17 09:25:22 -07:00
httpserver httpserver: Disable default timeouts (closes #1464) 2017-02-22 08:52:08 -07:00
internalsrv Feature #1246 - Remote syslog (#1301) 2017-02-08 08:02:09 -07:00
log Roll all logs by default (#1379) 2017-02-08 09:23:33 -07:00
markdown Feature #1246 - Remote syslog (#1301) 2017-02-08 08:02:09 -07:00
maxrequestbody Add maxrequestbody directive (#1163) 2016-11-04 08:25:49 +08:00
mime Refactor how caddy.Context is stored and used 2016-06-20 11:59:23 -06:00
pprof pprof: Set proper Content-Type header 2017-01-24 16:55:43 -07:00
proxy proxy: Fix race in test 2017-02-18 15:42:11 -07:00
push Push down headers from client (#1453) 2017-02-18 15:50:36 -07:00
redirect Merge pull request #1365 from tw4452852/1297 2017-02-15 17:59:29 -07:00
rewrite Introduce new Replacer fields {rewrite_path}, {rewrite_path_escaped}; issue #1185 (#1364) 2017-01-23 22:15:27 -07:00
root fixing panic when root is symlink (#1429) 2017-02-15 22:02:51 -07:00
staticfiles Revised fileserver Accept-Encoding and ETag (#1435) 2017-02-18 15:52:50 -07:00
status Add 'status' middleware instead of 'status' directive for 'rewrite' middleware 2016-08-29 17:17:23 +03:00
templates Refactor how caddy.Context is stored and used 2016-06-20 11:59:23 -06:00
timeouts New 'timeouts' directive to configure timeouts; default timeouts enabled (#1368) 2017-01-24 08:15:25 -07:00
websocket Fix misspellings 2016-09-05 10:20:34 -06:00
caddyhttp.go HTTP/2 push support (golang 1.8) (#1215) 2017-02-17 09:25:22 -07:00
caddyhttp_test.go HTTP/2 push support (golang 1.8) (#1215) 2017-02-17 09:25:22 -07:00