1. 21 Dec, 2016 2 commits
    • Matthew Holt's avatar
      Version 0.9.4 · 7dc1dc1c
      Matthew Holt authored
      7dc1dc1c
    • Leonard Hecker's avatar
      Fixed HTTP/2 support for the proxy middleware (#1300) · a3aa414f
      Leonard Hecker authored
      * Fixed HTTP/2 support for the proxy middleware
      
      http.Transport instances whose TLSClientConfig, Dial, or DialTLS field
      is non-nil will be configured without HTTP/2 support by default.
      
      This commit adds the proper calls to http2.ConfigureTransport()
      everywhere a http.Transport is created and thus fixes HTTP/2 in the
      proxy middleware whenever insecure_skip_verify or keepalive is provided.
      
      * Added HTTP/2 support check to TestReverseProxyInsecureSkipVerify
      a3aa414f
  2. 19 Dec, 2016 1 commit
    • Mateusz Gajewski's avatar
      Feature #1282 - Support serving statically compressed .gz and .br files (#1289) · 54c63002
      Mateusz Gajewski authored
      * Feature #1282 - Support pre-gzipped files
      
      * Fix broken test cases
      
      * Support brotli encoding as well
      
      * Fix for #1276 - support integers and floats as metadata in markdown (#1278)
      
      * Fix for #1276
      
      * Use strconv.Format
      
      * Use map[string]interface{} as variables
      
      * One more file
      
      * Always run all tests before commit
      
      * Get rid of DocFlags
      
      * Fix syntax in caddy.conf
      
      * Update to Go 1.7.4
      
      * Add send_timeout property to fastcgi directive.
      
      * 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.
      
      * Return HTTP 504 when FastCGI connect times out.
      
      * test: add unit test for #1283 (#1288)
      
      * After review fixes
      
      * Limit the number of restarts with systemd
      
      * Prevent fd leak
      
      * Prevent fd leak
      
      * Refactor loops
      
      * gofmt
      54c63002
  3. 17 Dec, 2016 1 commit
  4. 13 Dec, 2016 1 commit
  5. 08 Dec, 2016 2 commits
  6. 04 Dec, 2016 4 commits
  7. 03 Dec, 2016 3 commits
  8. 30 Nov, 2016 2 commits
  9. 29 Nov, 2016 3 commits
  10. 27 Nov, 2016 3 commits
  11. 25 Nov, 2016 1 commit
    • ericdreeves's avatar
      Fix read timeout and add default timeout values. · b8722d9a
      ericdreeves authored
      By setting the read deadline in streamReader.Read(), the deadline was
      extended by the read timeout on each subsequent call. To avoid this, the
      deadline is set in FCGIClient.Request(), before the first read occurs.
      
      See #1094.
      b8722d9a
  12. 23 Nov, 2016 1 commit
    • Geno's avatar
      Init switch from HOME to Caddy (#1272) · 7dc23b18
      Geno authored
      * INIT-systemd use CADDYPATH instatt of HOME
      
      * INIT-upstart use CADDYPATH instatt of HOME
      
      * INIT-upstart use CADDYPATH instatt of HOME
      
      * INIT-upstart use CADDYPATH instatt of HOME
      7dc23b18
  13. 21 Nov, 2016 2 commits
  14. 19 Nov, 2016 3 commits
  15. 18 Nov, 2016 2 commits
  16. 17 Nov, 2016 2 commits
    • Gyula Voros's avatar
      Filter empty headers (#1239) · b783caaa
      Gyula Voros authored
      * Filter empty headers
      
      Some web servers (e.g. Jetty 9.3) don’t like HTTP headers with empty values. This commit filters header replacements with zero length.
      
      * Extend tests to verify removal of empty headers
      
      * Handle add-header case
      
      * Change - Use short variable assignment
      b783caaa
    • Mateusz Gajewski's avatar
      Fastcgi upstreams (#1264) · c972ea39
      Mateusz Gajewski authored
      * Make fastcgi load balanceable too
      
      * Address one more corner case - invalid configuration fastcgi /
      
      * After review fixes
      
      * Simplify conditions
      
      * Error message
      
      * New fastcgi syntax
      
      * golint will be happy
      
      * Change syntax
      c972ea39
  17. 08 Nov, 2016 1 commit
  18. 04 Nov, 2016 2 commits
  19. 03 Nov, 2016 3 commits
  20. 02 Nov, 2016 1 commit