0
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-23 22:27:38 -05:00
caddy/caddyhttp
Sebastian Schmittner 8cb4e90852 Add fix and tests for FastCGI persistent connections (#1134)
* keep fastcgi connection open

* poor mans serialisation to make up for the lack of demuxing

* pointing includes to echse's repo

* Revert "pointing includes to echse's repo"

This reverts commit 281daad8d4.

* switch for persistent fcgi connections on/off added

* fixing ineffectual assignments

* camel case instead of _

* only activate persistent sockets on windows (and some naming conventions/cleanup)

* gitfm import sorting

* Revert "fixing ineffectual assignments"

This reverts commit 79760344e7.

# Conflicts:
#	caddyhttp/staticfiles/fileserver.go

* added another mutex and deleting map entries. thx to mholts QA comments!

* thinking about it, this RW lock was not a good idea here

* thread safety

* I keep learning about mutexs in go

* some cosmetics

* adding persistant fastcgi connections switch to directive

* Support for configurable connection pool.

* ensure positive integer pool size config

* abisofts pool fix + nicer logging for the fastcgi_test

* abisoft wants to have dialer comparison in _test instead of next to struct

* Do not put dead connections back into pool

* Fix fastcgi header error

* Do not put dead connections back into pool

* some code style improvements from the discussion in https://github.com/mholt/caddy/pull/1134

* abisofts naming convention
2016-09-27 18:12:22 -06:00
..
basicauth Fix misspellings 2016-09-05 10:20:34 -06:00
bind Refactor how caddy.Context is stored and used 2016-06-20 11:59:23 -06:00
browse Eliminate ineffectual assignments 2016-09-05 10:30:46 -06:00
errors Fix error which lead to skipping tests in 'errors.TestErrorsParse' 2016-08-15 16:44:34 +03: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 Add fix and tests for FastCGI persistent connections (#1134) 2016-09-27 18:12:22 -06:00
gzip Refactor how caddy.Context is stored and used 2016-06-20 11:59:23 -06:00
header Allow multiple values for an HTTP header and 2016-07-20 22:17:13 -07:00
httpserver Merge pull request #1125 from hlidotbe/master 2016-09-24 21:11:30 -06:00
internalsrv Enable downloading of protected content. See issue #979 (#980) 2016-08-07 23:16:33 -06:00
log log: add multiple log entry test 2016-08-25 11:21:08 +08:00
markdown Use naoina/toml instead of BurntSushi/toml 2016-08-29 17:55:44 -07:00
mime Refactor how caddy.Context is stored and used 2016-06-20 11:59:23 -06:00
pprof Fix misspellings 2016-09-05 10:20:34 -06:00
proxy Merge pull request #1135 from mholt/proxyerrs 2016-09-27 17:53:44 -06:00
redirect Fix misspellings 2016-09-05 10:20:34 -06:00
rewrite Add 'status' middleware instead of 'status' directive for 'rewrite' middleware 2016-08-29 17:17:23 +03:00
root Refactor how caddy.Context is stored and used 2016-06-20 11:59:23 -06:00
staticfiles Eliminate ineffectual assignments 2016-09-05 10:30:46 -06: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
websocket Fix misspellings 2016-09-05 10:20:34 -06:00
caddyhttp.go Add 'status' middleware instead of 'status' directive for 'rewrite' middleware 2016-08-29 17:17:23 +03:00
caddyhttp_test.go Add 'status' middleware instead of 'status' directive for 'rewrite' middleware 2016-08-29 17:17:23 +03:00