• ericdreeves's avatar
    Add send_timeout property to fastcgi directive. · 5874fbeb
    ericdreeves authored
    * Convert rwc field on FCGIClient from type io.ReadWriteCloser to net.Conn.
    * Return HTTP 504 to the client when a timeout occurs.
    * In Handler.ServeHTTP(), close the connection before returning an HTTP
    502/504.
    * Refactor tests and add coverage.
    5874fbeb
fcgiclient.go 13.5 KB