caddy/caddyhttp/fastcgi
ssut c62b6b9f1a fastcgi: Fix for missing content-length header when using QUIC (#1501)
* Fix for missing content-length header when using QUIC

If request.ContentLength is set then it will be used instead of getting
it from request.Header map since quic-go(lucas-clemente/quic-go@bb24be8)
will not store (and pass) the Content-Length header using its header
map.

This fixes a potential issue where FastCGI POST requests body empty when
QUIC is enabled. (#1370)

* Change the data type for fastcgi contentLength to int64

quic-go uses int64 for contentLength

* Fix an error for undeclared variable

* Fix test for fcgiclient

the data type for contentLength
2017-03-09 19:36:04 -07:00
..
dialer_test.go Fastcgi upstreams (#1264) 2016-11-16 21:29:43 -07:00
dialer.go Re-align atomic struct field (fixes #1306) 2016-12-22 15:02:33 -07:00
fastcgi_test.go Add send_timeout property to fastcgi directive. 2016-12-03 16:15:41 -06:00
fastcgi.go fastcgi: Fix for missing content-length header when using QUIC (#1501) 2017-03-09 19:36:04 -07:00
fcgi_test.php Migrate remaining middleware packages 2016-06-05 22:39:23 -06:00
fcgiclient_test.go fastcgi: Fix for missing content-length header when using QUIC (#1501) 2017-03-09 19:36:04 -07:00
fcgiclient.go fastcgi: Fix for missing content-length header when using QUIC (#1501) 2017-03-09 19:36:04 -07:00
setup_test.go Add root option to fastcgi directive (#1337) 2017-01-17 10:34:17 -07:00
setup.go Add root option to fastcgi directive (#1337) 2017-01-17 10:34:17 -07:00