Skip to content
Prev Previous commit
Next Next commit
fastcgi: Remove obsolete TODO
We already have d.Err("transport already specified") in the reverse_proxy parsing code which covers this case
  • Loading branch information
francislavoie committed May 2, 2021
commit a59ea1c05ac534ae0c35fb2c767833c7220f6f3f
2 changes: 0 additions & 2 deletions modules/caddyhttp/reverseproxy/fastcgi/caddyfile.go
Original file line number Diff line number Diff line change
Expand Up @@ -353,8 +353,6 @@ func parsePHPFastCGI(h httpcaddyfile.Helper) ([]httpcaddyfile.ConfigValue, error

// the rest of the config is specified by the user
// using the reverse_proxy directive syntax
// TODO: this can overwrite our fcgiTransport that we encoded and
// set on the rpHandler... even with a non-fastcgi transport!
err = rpHandler.ParseCaddyfileReverseProxy(h.WithDispenser(dispenser))
if err != nil {
return nil, err
Expand Down