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:
parent
bd43e7ebfd
commit
e3acfeb038
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue