1. 01 Jan, 2017 2 commits
    • Sawood Alam's avatar
      Implementing custom PathClean function to allow masking, closes #1298 (#1317) · 04bee0f3
      Sawood Alam authored
      * Added path cleanup functions with masking to preserve certain patterns + unit tests, #1298
      
      * Use custom PathClean function instead of path.Clean to apply masks to preserve protocol separator in the path
      
      * Indentation corrected in the test data map to pass the lint
      
      * Fixing ineffassign of a temporary string variable
      
      * Improved variable naming and documentation
      
      * Improved variable naming
      
      * Added benchmarks and improved variable naming in tests
      
      * Removed unnecessary value capture when iterating over a map for keys
      
      * A typo correction
      04bee0f3
    • Matt Holt's avatar
      Merge pull request #1309 from lhecker/master · 7cbbb01f
      Matt Holt authored
      Fixed #1292 and resulting issues from #1300
      7cbbb01f
  2. 30 Dec, 2016 3 commits
  3. 29 Dec, 2016 1 commit
  4. 28 Dec, 2016 2 commits
  5. 27 Dec, 2016 1 commit
  6. 26 Dec, 2016 4 commits
  7. 23 Dec, 2016 2 commits
  8. 22 Dec, 2016 1 commit
  9. 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
  10. 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
  11. 17 Dec, 2016 1 commit
  12. 13 Dec, 2016 1 commit
  13. 08 Dec, 2016 2 commits
  14. 04 Dec, 2016 4 commits
  15. 03 Dec, 2016 3 commits
  16. 30 Nov, 2016 2 commits
  17. 29 Nov, 2016 3 commits
  18. 27 Nov, 2016 3 commits
  19. 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
  20. 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