1. 17 Jan, 2017 1 commit
  2. 14 Jan, 2017 3 commits
    • M-A's avatar
      Add {whenISO} to record timestamp in ISO 8601 format in UTC. (#1353) · 8464020f
      M-A authored
      * Add {whenISO} to record timestamp in ISO 8601 format in UTC.
      
      ISO 8601 is the standard time format and is easy to parse.
      
      This change assumes users desiring ISO 8016 generally prefer UTC for simplicity.
      This results in {whenISO} to be significantly shorter than {when}:
      {when}    = "02/Jan/2006:15:04:05 +0000"
      {whenISO} = "2006-01-02T15:04:12Z"
      
      Add unit test to verify both, as there was no unit test for {when}.
      
      * Rename {whenISO} to {when_iso}
      8464020f
    • Henrique Dias's avatar
      Add StartupHooks to Plugins (#1330) · 0155b0c5
      Henrique Dias authored
      * Update run.go
      
      * Update plugins.go
      
      * Update plugins.go
      
      * Update run.go
      
      * typo
      
      * Update plugins.go
      
      * Update plugins.go
      
      * Requested changes by @mholt
      0155b0c5
    • Toby Allen's avatar
      Add a cli parameter to -validate a Caddyfile. Issue #1328 (#1344) · 21d92d68
      Toby Allen authored
      * Allow -validate flag to validate caddyfile and return
      
      * Ensure logging without -log flag
      
      * Changes to validate seperatly to Starup func
      
      * Removed change to Start signature.  Created function to ValidateCaddyfile
      
      * comment and tidyup
      
      * ValidateandExecuteDirectives with justValidate option
      
      * remove debugging code
      
      * Tidy up comments
      
      * additional parameter added to calls to mustLogFataf
      
      * ValidateAndExecuteDirectives needs to only return err
      21d92d68
  3. 11 Jan, 2017 4 commits
  4. 10 Jan, 2017 3 commits
  5. 09 Jan, 2017 2 commits
  6. 08 Jan, 2017 1 commit
  7. 04 Jan, 2017 2 commits
  8. 03 Jan, 2017 1 commit
  9. 01 Jan, 2017 4 commits
  10. 30 Dec, 2016 3 commits
  11. 29 Dec, 2016 1 commit
  12. 28 Dec, 2016 2 commits
  13. 27 Dec, 2016 1 commit
  14. 26 Dec, 2016 4 commits
  15. 23 Dec, 2016 2 commits
  16. 22 Dec, 2016 1 commit
  17. 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
  18. 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
  19. 17 Dec, 2016 1 commit
  20. 13 Dec, 2016 1 commit