0
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-23 22:27:38 -05:00
caddy/caddyhttp/fastcgi
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
..
dialer.go Add fix and tests for FastCGI persistent connections (#1134) 2016-09-27 18:12:22 -06:00
fastcgi.go Add fix and tests for FastCGI persistent connections (#1134) 2016-09-27 18:12:22 -06:00
fastcgi_test.go Add fix and tests for FastCGI persistent connections (#1134) 2016-09-27 18:12:22 -06:00
fcgi_test.php Migrate remaining middleware packages 2016-06-05 22:39:23 -06:00
fcgiclient.go Add fix and tests for FastCGI persistent connections (#1134) 2016-09-27 18:12:22 -06:00
fcgiclient_test.go Migrate remaining middleware packages 2016-06-05 22:39:23 -06:00
setup.go Fastcgi persistent fix (#1129) 2016-09-23 23:29:23 -06:00
setup_test.go Add fix and tests for FastCGI persistent connections (#1134) 2016-09-27 18:12:22 -06:00