Commit Graph

  • 80ab68a972 Default Browse sort by Dir, File Toby Allen 2017-03-19 12:02:04 +0000
  • f1e2e2f8dc
    Add tests for path-prefix case-sensitivity Jeremiah Megel 2017-03-18 18:06:34 -0500
  • 06c81a09b5
    Make path prefixes conditionally case-insensitive Jeremiah Megel 2017-03-18 15:27:16 -0500
  • 099b56ac9e Linting: change counter to just use the default zero value instead of setting it MixedMessages 2017-03-18 12:34:20 -0400
  • fd116af1b9 Incrementing WaitGroup outside of goroutine to avoid race condition. Loading atomic values in test. MixedMessages 2017-03-18 12:31:20 -0400
  • b5a287aa63 Remove assignment to atomic value MixedMessages 2017-03-18 12:21:43 -0400
  • 9d09360a96 Go back to using a stop channel since the context adds no additional benefit. Only register stop function for onShutdown since it's called as part of restart. MixedMessages 2017-03-18 11:59:38 -0400
  • e50dc53896 Rename GetShutdownFunc to Stop(). Add a waitgroup to the staticUpstream for controlling individual object's goroutines. Add the Stop function to OnRestart and OnShutdown. Add tests for checking to see if healthchecks continue hitting a backend server after stop has been called. MixedMessages 2017-03-18 11:48:29 -0400
  • 913595fb60 Make fakeUpstream implement new Upstream methods. MixedMessages 2017-03-18 10:12:00 -0400
  • e6c14f6ca0 Add a shutdown function and context to staticUpstream so that running goroutines can be cancelled. Add a GetShutdownFunc to Upstream interface to expose the shutdown function to the caddy Controller for performing it on restarts. MixedMessages 2017-03-18 09:58:49 -0400
  • aee0b640e9
    Do not lowercase path in httpContext Jeremiah Megel 2017-03-17 16:17:26 -0500
  • 36d2027493 browse: Use helper functions in staticfiles to redirect (#1497) ericdreeves 2017-03-15 11:17:12 -0500
  • 26f7cfa90c Update const URLPathCtxKey in browse package. ericdreeves 2017-03-15 05:34:15 -0500
  • 75d2a43026 Merge branch 'master' of github.com:mholt/caddy into browse_redirect ericdreeves 2017-03-15 05:32:57 -0500
  • a148b92381 proxy: Add the first policy (#1513) Peer Beckmann 2017-03-14 16:57:08 +0100
  • 592704a892 Make the error message clear. As we expect the second not first upstream host. Peer Beckmann 2017-03-14 15:44:33 +0100
  • 36a62f0915 markdown: backup title should use TrimSuffix, not TrimRight (#1515) Chao Huang 2017-03-13 17:24:03 -0400
  • e392a411e3 Merge branch 'master' into master Chao Huang 2017-03-13 11:47:41 -0400
  • d85e90a7b4
    tls: Only update OCSP staple if field is not nil (fixes #1514) Matthew Holt 2017-03-13 09:30:58 -0600
  • d5cc10f7aa Added Const for use of CtxKeys (#1511) Toby Allen 2017-03-13 15:22:46 +0000
  • 0c53a46b96 markdown: backup title should use TrimSuffix not TrimRight Chao Huang 2017-03-13 10:40:05 -0400
  • 099a8769eb Merge branch 'master' into addctxkeysd Toby Allen 2017-03-13 13:51:23 +0000
  • c5d88de52f fix test Toby Allen 2017-03-13 13:50:37 +0000
  • d00e3429c7 Add the first policy which sends the request to the first available host Peer Beckmann 2017-03-13 11:40:18 +0100
  • 96bfb9f347 staticfiles: add Content-Length header (closes #1479) (#1492) Martin Bertschler 2017-03-12 23:41:49 +0100
  • c8bee4c772 Merge branch 'master' into zipped_content_length Martin Bertschler 2017-03-12 21:01:23 +0100
  • 4eaa6a6e5e Fixed tests Toby Allen 2017-03-12 18:58:56 +0000
  • af03c8df7d Move CtxKey Const declarations Toby Allen 2017-03-12 18:49:42 +0000
  • c4edd9071f Added Const for CtxKeys Toby Allen 2017-03-11 13:00:45 +0000
  • 5e48f0a412 Merge pull request #1510 from zmwangx/systemd-readme-fix-caddy.service-mode Matt Holt 2017-03-12 00:03:24 -0700
  • 18c93756b4
    systemd README: set mode of caddy.service to 644 instead of 744 Zhiming Wang 2017-03-11 22:43:54 -0500
  • cfe52084aa Fix issue #1346 {path} logging {uri} and add {rewrite_uri} placeholder (#1481) Toby Allen 2017-03-11 21:59:47 +0000
  • c429d8781d added TODO comment to move consts Toby Allen 2017-03-11 08:04:15 +0000
  • 6aa0e30af3 basicauth: Don't remove Authorization header on good auth (fixes #1508) Matthew Holt 2017-03-10 16:45:36 -0700
  • b14bb3be6b Merge branch 'master' into fixpathrewrite Toby Allen 2017-03-10 22:37:31 +0000
  • b5888f0bea Merge f3d8d473c3 into 5a41e8bc1a Toby Allen 2017-03-10 17:41:49 +0000
  • 5a41e8bc1a proxy: Fixed #1484, websockets with h2 disabled (#1488) Leonard Hecker 2017-03-10 18:41:37 +0100
  • 9e4eeb4fb7 Add proxyprotocol directive and listener middleware plugin type (#1349) Nathan Caza 2017-03-09 23:31:37 -0600
  • 10c6de51b6 Remove tcpKeepAliveListener wrapper from Serve() This is now done in the Listen() function, along with other potential middleware. Nathan Caza 2017-03-09 20:39:23 -0600
  • 2042d1a66d Merge branch 'master' into proxy_protocol Nathan Caza 2017-03-09 20:36:13 -0600
  • c62b6b9f1a fastcgi: Fix for missing content-length header when using QUIC (#1501) ssut 2017-03-10 11:36:04 +0900
  • cc9c0906ad Merge 381e319b56 into 52584f7f23 ssut 2017-03-10 01:01:29 +0000
  • 52584f7f23 Merge pull request #1499 from mholt/issue1394 Matt Holt 2017-03-09 17:45:06 -0700
  • 2be0dc40f0 templates: Merge pull request #1482 from crvv/master Matt Holt 2017-03-09 17:26:08 -0700
  • e3e62a952d basicauth: Ability to customize realm (#1491) Kurt Jung 2017-03-09 15:20:14 -0500
  • 6e80cb4e7f Remove 'path' subdirective Kurt 2017-03-09 15:11:28 -0500
  • 56c71371c9 Correct typo: missing space Kurt Jung 2017-03-09 11:23:50 -0500
  • 9218e6c1d8 Merge branch 'master' into basicauth_realm Alex Harrington 2017-03-09 08:00:45 +0000
  • 6f4a4cfb3a Merge branch 'master' into browse_redirect ericdreeves 2017-03-08 18:16:20 -0600
  • a664359339 Add test for default basicauth directive in which realm is not specified Kurt 2017-03-08 15:13:20 -0500
  • 88793410b5 Merge branch 'master' into zipped_content_length Martin Bertschler 2017-03-08 10:48:30 +0100
  • 6bc3e7536e
    tls: Command line flags to disable HTTP and TLS-SNI challenges Matthew Holt 2017-03-08 00:06:49 -0700
  • df9d062a8f Merge pull request #1500 from mholt/customports Matt Holt 2017-03-07 11:31:47 -0700
  • eafbf0b218 Merge pull request #1474 from jtyr/jtyr-local_ip Matt Holt 2017-03-07 08:55:40 -0700
  • 33cc7b6319 Merge branch 'fix_fastcgi_using_quic' of github.com:ssut/caddy into fix_fastcgi_using_quic SuHun Han 2017-03-07 23:24:42 +0900
  • 3604122cc5 Fix test for fcgiclient SuHun Han 2017-03-07 23:23:17 +0900
  • 698edf7833 Merge branch 'master' into fix_fastcgi_using_quic ssut 2017-03-07 23:19:10 +0900
  • be6328fca4 Fix an error for undeclared variable SuHun Han 2017-03-07 23:18:19 +0900
  • 32fe7b7d3b Change the data type for fastcgi contentLength to int64 SuHun Han 2017-03-07 23:08:56 +0900
  • daf0482d91 Fix for missing content-length header when using QUIC SuHun Han 2017-03-07 22:51:36 +0900
  • 73d52490d0 Adding support for ServerIP context Jiri Tyr 2017-02-25 00:16:46 +0000
  • 4a095590b1 templates: Set right response Content-Type crvv 2017-02-28 18:14:52 +0800
  • c8514ad7b7 Avoid panic if reloading before server is started Matthew Holt 2017-03-06 19:20:13 -0700
  • e3f2d96a5e
    httpserver: Flags to customize HTTP and HTTPS ports (incl. for ACME) Matthew Holt 2017-03-06 18:18:49 -0700
  • bcddfb2daa Log certificate location Toby Allen 2017-03-06 21:56:24 +0000
  • 381e319b56 Fix for missing content-length header when using QUIC ssut 2017-03-06 23:57:49 +0900
  • 8acae06078 Merge branch 'fixpathrewrite' of https://github.com/mholt/caddy into fixpathrewrite Toby Allen 2017-03-05 20:18:26 +0000
  • bb356bfd23 added context for uri and test Toby Allen 2017-03-05 20:17:24 +0000
  • ce4a0b441c clarified code with variable name Toby Allen 2017-03-05 20:00:25 +0000
  • 1039e35cbd Merged with fix #1481 Toby Allen 2017-03-05 19:56:32 +0000
  • bff65ff3dc Use helper functions in staticfiles to redirect. ericdreeves 2017-03-05 08:43:19 -0600
  • f3d8d473c3 fixed spelling mistake Toby Allen 2017-03-05 10:22:28 +0000
  • 74f0b05722 added comment as requested by lint Toby Allen 2017-03-05 09:41:30 +0000
  • 8e7dd96da9 Remove commented out code. Toby Allen 2017-03-05 09:36:00 +0000
  • b6a5b51229 tidy up, removal of comments and invalidated tests Toby Allen 2017-03-05 09:26:22 +0000
  • 637971af3a ignore .vscode Toby Allen 2017-03-05 08:41:39 +0000
  • c1e37495ab Use context to store uri value Toby Allen 2017-03-05 08:41:11 +0000
  • 9969131617 Merge branch 'master' into fixpathrewrite Toby Allen 2017-03-04 21:31:23 +0000
  • a3918ceb3c Merge remote-tracking branch 'origin/master' into proxy_protocol Nathan Caza 2017-03-04 09:15:42 -0600
  • e93ed95d6d Merge remote-tracking branch 'origin/master' into proxy_protocol Nathan Caza 2017-03-04 09:12:58 -0600
  • 5dc3bf8dbf gitignore Toby Allen 2017-03-04 08:49:07 +0000
  • 2649f0330e make linter happy, rename "Html" in identifiers to "HTML" Martin Bertschler 2017-03-04 01:40:34 +0100
  • eb8a482aa5 staticfiles: add Content-Length header (closes #1479) Martin Bertschler 2017-03-04 01:21:00 +0100
  • 4fcb65a513 Support realms with basic authentication Kurt Jung 2017-03-03 17:40:14 -0500
  • 75ccc05d84 Request placeholders: extract query argument (#1478) Samuel BERTHE 2017-03-03 07:25:28 +0100
  • f893bd4088 Minor improvement to UseInsecureTransport Leonard Hecker 2017-03-02 12:51:38 +0100
  • 4e31a26af9 Fixed #1484 Leonard Hecker 2017-03-02 12:50:03 +0100
  • 0a0d2cc1cf Use RequestURI when redirecting to canonical path. (#1331) ericdreeves 2017-02-28 06:54:12 -0600
  • ef9493705b httpserver: Fix reference to CtxKey Matt Holt 2017-02-28 05:46:35 -0700
  • 02a3dc8dbb Merge branch 'master' into issue_1327 Matt Holt 2017-02-27 23:50:56 -0700
  • 66ee2434fe Merge 50e32d67e7 into 50749b4e84 Simon Lightfoot 2017-02-28 02:20:09 +0000
  • 50749b4e84
    httpserver: Improve MITM tests for Chrome on iOS, BlueCoat connections Matthew Holt 2017-02-27 18:40:40 -0700
  • d7c043ba85 fix broken test. Just checks for existance of rewrite header Toby Allen 2017-02-27 21:38:12 +0000
  • ae2c2013b7 added rewrite_uri and test Toby Allen 2017-02-27 21:15:36 +0000
  • 4c46f1a559 add in uri_escaped Toby Allen 2017-02-27 21:09:17 +0000
  • 2d967de613 test(request placeholders): test query argument extractor {?arg} Samuel BERTHE 2017-02-27 15:07:56 +0100
  • 854d011652 feat(request placeholders): adds {?arg} Samuel BERTHE 2017-02-27 14:34:56 +0100
  • 078ad99263 Test added for path rewrite Toby Allen 2017-02-26 23:03:01 +0000
  • c950e8ad79 Fixed issue with {path} actually {uri} Toby Allen 2017-02-26 22:25:42 +0000
  • 06873175bf
    httpserver: Add user agent to test case (closes #1454) Matthew Holt 2017-02-22 14:29:19 -0700