summaryrefslogtreecommitdiff
path: root/modules/caddyhttp
diff options
context:
space:
mode:
authoreanavitarte <130239684+eanavitarte@users.noreply.github.com>2023-05-03 19:40:49 -0500
committerGitHub <noreply@github.com>2023-05-04 00:40:49 +0000
commitc8032867b14e52d18c239ed97140be3ae05d9f2f (patch)
tree67f4892105f2922077192a0c329a18b0f810804e /modules/caddyhttp
parent3f20a7c9f348122d5fae7074b9fa17651189bb9a (diff)
fastcgi: Fix `capture_stderr` (#5515)
Diffstat (limited to 'modules/caddyhttp')
-rw-r--r--modules/caddyhttp/reverseproxy/fastcgi/fastcgi.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/caddyhttp/reverseproxy/fastcgi/fastcgi.go b/modules/caddyhttp/reverseproxy/fastcgi/fastcgi.go
index 5160067..f150edc 100644
--- a/modules/caddyhttp/reverseproxy/fastcgi/fastcgi.go
+++ b/modules/caddyhttp/reverseproxy/fastcgi/fastcgi.go
@@ -171,6 +171,7 @@ func (t Transport) RoundTrip(r *http.Request) (*http.Response, error) {
rwc: conn,
reqID: 1,
logger: logger,
+ stderr: t.CaptureStderr,
}
// read/write timeouts