- 18 Sep, 2017 2 commits
-
-
Tim Lewis authored
Create /var/log/caddy.log and chown prior to starting caddy. Caddy running as DAEMONUSER does not have permission to create the /var/log/caddy.log.
-
Tim Lewis authored
This change eliminates the `[ERROR] Could not write pidfile: open /var/run/caddy.pid: permission denied` from caddy.log. The start-stop-daemon writes the file as root so the DAEMONUSER that caddy runs as cannot write to the .pid file.
-
- 16 Sep, 2017 2 commits
-
-
Davor Kapsa authored
-
Fake ID authored
-
- 15 Sep, 2017 2 commits
-
-
Matthew Holt authored
-
Adam Williams authored
This reverts commit 56453e96.
-
- 12 Sep, 2017 5 commits
-
-
Matthew Holt authored
-
Matthew Holt authored
-
Matthew Holt authored
-
Matthew Holt authored
Benchmarks with wrk showed no noticeable performance impact
-
twdkeule authored
* Proxy can now use QUIC for upstream connections Add HandshakeTimeout, change h2quic syntax * Add setup and upstream test Test QUIC proxy with actual h2quic instance Use different port fo QUIC test server Add quic host to CI config Added testdata to vendor Revert "Added testdata to vendor" This reverts commit 959512282deed8623168d090e5ca5e5a7933019c. * Use local testdata
-
- 11 Sep, 2017 2 commits
-
-
Matthew Holt authored
Renewed certificates would not be reloaded into the cache because their names conflict with names of certificates already in the cache; this was intentional when loading new certs to avoid confusion, but is problematic when renewing, since the old certificate doesn't get evicted from the cache. (Oops.) Here, I remedy this situation by explicitly deleting the old cert from the cache before adding the renewed one back in.
-
Matthew Holt authored
(See EULA.) Personally-licensed official Caddy builds cannot remove this header by configuration. The commercially-licensed builds of Caddy don't have this header.
-
- 10 Sep, 2017 1 commit
-
-
Matthew Holt authored
-
- 08 Sep, 2017 3 commits
-
-
Matthew Holt authored
-
Matt Holt authored
httpserver: Fix #1859 by cleaning paths when matching them
-
Matthew Holt authored
Signed-off-by: Matthew Holt <mholt@users.noreply.github.com>
-
- 07 Sep, 2017 1 commit
-
-
Matthew Holt authored
The End-User License Agreement applies to official Caddy binaries; the source code is still under the same open source license.
-
- 06 Sep, 2017 2 commits
- 04 Sep, 2017 1 commit
-
-
Thomas De Keulenaer authored
+ test
-
- 02 Sep, 2017 1 commit
-
-
John Chadwick authored
* Add tests for SCRIPT_NAME * fastcgi: Include vhost path prefix in SCRIPT_NAME
-
- 29 Aug, 2017 4 commits
-
-
Matthew Holt authored
-
Mattias Wadman authored
-
Mateusz Gajewski authored
* Allow pushing multiple resources via Link header * Add nopush test case * Extract Link header parsing to separate function * Parser regexp-free * Remove dead code, thx gometalinter * Redundant condition - won't happen * Reduce duplication
-
Matthew Holt authored
The race was in the test only; not in the production code
-
- 26 Aug, 2017 4 commits
-
-
Matthew Holt authored
-
Matthew Holt authored
-
Matthew Holt authored
-
Matthew Holt authored
-
- 25 Aug, 2017 4 commits
-
-
Matthew Holt authored
-
Matt Holt authored
* browse: Attempt to fix tests on Windows * browse: Make tests verbose for debugging * Moar debugging * Trying path.Join instead * browse: Just skip the tests for now * browse: Remove debug prints
-
Matthew Holt authored
build.go is (should be) cross-platform compatible. Timestamps are now excluded from all builds on a clean commit, in an effort to be byte-for-byte reproducible.
-
Matthew Holt authored
-
- 24 Aug, 2017 1 commit
-
-
Matt Holt authored
* templates: Execute template loaded by later middlewares This is the beginning of an attempt to make the staticfiles file server the only middleware that hits the disk and loads content. This may have unknown implications. But the goal is to reduce duplication without sacrificing performance. (We now call ServeContent here.) This change loses about 15% of the req/sec of the old way of doing it, but this way is arguably more correct since the file server is good at serving static files; duplicating that logic in every middleware that needs to hit the disk is not practical. * httpserver: Introduce ResponseRecorder as per Tw's suggestions It implements io.ReaderFrom and has some allocation-reducing optimizations baked into it * templates: Increase execution speed by ~10-15% after perf regression By using httpserver.ResponseBuffer, we can reduce allocations and still get what we want. It's a little tricky but it works so far.
-
- 23 Aug, 2017 3 commits
-
-
Matt Holt authored
tls: Fix OCSP stapling bug when certificate names overlap other certs
-
Matt Holt authored
Double systemd LimitNPROC to allow more threads
-
Matthew Holt authored
-
- 18 Aug, 2017 2 commits
-
-
Matt Holt authored
Add forwardproxy to directives' list
-
Sergey Frolov authored
-