serve_fcgi.go:86:43: too many arguments in call to gofast.SimpleClientFactory

have (gofast.ConnFactory, number)
	want (gofast.ConnFactory)
This commit is contained in:
Pierre Buyle 2021-03-07 15:55:37 +00:00
parent bd43e7ebfd
commit e3acfeb038
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ func serveFastCGI(c *tls.Conn, connFactory gofast.ConnFactory, u *url.URL, fileP
w := newFakeResponseWriter(c)
client, err := gofast.SimpleClientFactory(connFactory, 0)()
client, err := gofast.SimpleClientFactory(connFactory)()
if err != nil {
log.Printf("FastCGI Error: %s", err)
http.Error(w, "Failed to connect to FastCGI server", http.StatusInternalServerError)