- 05 Aug, 2016 4 commits
-
-
Daniel van Dorp authored
`$(which setcap)` might evaluate to nothing, and this way the error thrown will be more clear. If setcap is not available on Debian/Ubuntu, you can install the package `libcap2-bin`
-
Daniel van Dorp authored
* dist/init/linux-sysvinit: pass --oknodo for --start as well * dist/init/linux-sysvinit: manually rm PIDFILE Since start-stop-daemon --remove-pidfile is new and not present everywhere.
-
Daniel van Dorp authored
dist/init/linux-sysvinit: fix minor typo in DAEMONOPTS
-
Daniel van Dorp authored
-
- 03 Aug, 2016 1 commit
-
-
s7v7nislands authored
* improve rlimit usage * fix windows build * fix code style
-
- 02 Aug, 2016 6 commits
-
-
Matt Holt authored
added ip_hash load balancing
-
Matthew Holt authored
-
Matthew Holt authored
-
elcore authored
tls: fix TestStandaloneTLSTicketKeyRotation data race
-
Tw authored
================== WARNING: DATA RACE Write at 0x00c42049d300 by goroutine 26: github.com/mholt/caddy/caddytls.standaloneTLSTicketKeyRotation() /home/tw/golib/src/github.com/mholt/caddy/caddytls/crypto.go:230 +0x698 Previous read at 0x00c42049d300 by goroutine 25: github.com/mholt/caddy/caddytls.TestStandaloneTLSTicketKeyRotation() /home/tw/golib/src/github.com/mholt/caddy/caddytls/crypto_test.go:113 +0x413 testing.tRunner() /home/tw/goroot/src/testing/testing.go:610 +0xc9 Goroutine 26 (running) created at: github.com/mholt/caddy/caddytls.TestStandaloneTLSTicketKeyRotation() /home/tw/golib/src/github.com/mholt/caddy/caddytls/crypto_test.go:101 +0x2a4 testing.tRunner() /home/tw/goroot/src/testing/testing.go:610 +0xc9 Goroutine 25 (running) created at: testing.(*T).Run() /home/tw/goroot/src/testing/testing.go:646 +0x52f testing.RunTests.func1() /home/tw/goroot/src/testing/testing.go:793 +0xb9 testing.tRunner() /home/tw/goroot/src/testing/testing.go:610 +0xc9 testing.RunTests() /home/tw/goroot/src/testing/testing.go:799 +0x4b5 testing.(*M).Run() /home/tw/goroot/src/testing/testing.go:743 +0x12f github.com/mholt/caddy/caddytls.TestMain() /home/tw/golib/src/github.com/mholt/caddy/caddytls/setup_test.go:27 +0x133 main.main() github.com/mholt/caddy/caddytls/_test/_testmain.go:116 +0x1b1 ================== ================== WARNING: DATA RACE Write at 0x00c4204aa6c0 by goroutine 26: github.com/mholt/caddy/caddytls.TestStandaloneTLSTicketKeyRotation.func2() /home/tw/golib/src/github.com/mholt/caddy/caddytls/crypto_test.go:93 +0x56 github.com/mholt/caddy/caddytls.standaloneTLSTicketKeyRotation() /home/tw/golib/src/github.com/mholt/caddy/caddytls/crypto.go:233 +0x638 Previous read at 0x00c4204aa6c0 by goroutine 25: github.com/mholt/caddy/caddytls.TestStandaloneTLSTicketKeyRotation() /home/tw/golib/src/github.com/mholt/caddy/caddytls/crypto_test.go:108 +0x391 testing.tRunner() /home/tw/goroot/src/testing/testing.go:610 +0xc9 Goroutine 26 (running) created at: github.com/mholt/caddy/caddytls.TestStandaloneTLSTicketKeyRotation() /home/tw/golib/src/github.com/mholt/caddy/caddytls/crypto_test.go:101 +0x2a4 testing.tRunner() /home/tw/goroot/src/testing/testing.go:610 +0xc9 Goroutine 25 (running) created at: testing.(*T).Run() /home/tw/goroot/src/testing/testing.go:646 +0x52f testing.RunTests.func1() /home/tw/goroot/src/testing/testing.go:793 +0xb9 testing.tRunner() /home/tw/goroot/src/testing/testing.go:610 +0xc9 testing.RunTests() /home/tw/goroot/src/testing/testing.go:799 +0x4b5 testing.(*M).Run() /home/tw/goroot/src/testing/testing.go:743 +0x12f github.com/mholt/caddy/caddytls.TestMain() /home/tw/golib/src/github.com/mholt/caddy/caddytls/setup_test.go:27 +0x133 main.main() github.com/mholt/caddy/caddytls/_test/_testmain.go:116 +0x1b1 ================== Signed-off-by: Tw <tw19881113@gmail.com>
-
Kris Hamoud authored
updated tests fixed comment format fixed formatting, minor logic fix added newline to EOF updated logic, fixed tests added comment updated formatting updated test output fixed typo
-
- 01 Aug, 2016 5 commits
-
-
Matt Holt authored
Re-enable HTTP/2 for Go 1.7.
-
Matt Holt authored
dist/init/linux-sysvinit: caddy for SysVinit
-
Daniel van Dorp authored
In addition to `linux-upstart` and `linux-systemd`, I think this one might be very useful too. The script is based on [this script](https://git.devuan.org/fredg/stuffs/blob/master/caddy/init.d/caddy) by @fredg, found via [Installation du serveur Caddy sous Devuan · Frédéric Galusik](http://galusik.xyz/installation-caddy-server-devuan/#démon:d7570338f345f168f3c50f22e7f8c47c). I have modified it into an extended version myself, since I had the need for this.
-
Matt Holt authored
redir: loading block arguments before parsing matcher
-
Tw authored
fix issue #977 Signed-off-by: Tw <tw19881113@gmail.com>
-
- 30 Jul, 2016 1 commit
-
-
Wolfgang Johannes Kohnen authored
* Since Go 1.7 HTTP/2 support is enabled only if TLSConfig.NextProtos includes the string "h2". * see mholt/caddy#975
-
- 29 Jul, 2016 2 commits
- 28 Jul, 2016 2 commits
-
-
Matthew Holt authored
-
Matthew Holt authored
-
- 27 Jul, 2016 1 commit
-
-
Matthew Holt authored
-
- 25 Jul, 2016 1 commit
-
-
Matt Holt authored
Change position of locale directive
-
- 24 Jul, 2016 1 commit
-
-
Philipp Brüll authored
First, great job on the 0.9 release! It seems caddy's path lead into a bright future. Thanks also for including the locale plugin. Trying it, I've figured out, that there might be a problem with the order of the directives. In the typical use case, the result of the locale detection might be used in the `rewrite` and `log` plugin. If I'm not mistaken, it makes sense to put the `locale` directive before those.
-
- 23 Jul, 2016 2 commits
-
-
Matt Holt authored
Register ratelimit
-
xuqingfeng authored
-
- 22 Jul, 2016 2 commits
-
-
Viacheslav Chimishuk authored
-
Matthew Holt authored
-
- 21 Jul, 2016 8 commits
-
-
Matthew Holt authored
This reverts commit 9ea05919, reversing changes made to 2125ae5f.
-
Matt Holt authored
minor condition keyword check refactor
-
Matt Holt authored
proxy: fix hyphen issue when parsing target
-
Abiola Ibrahim authored
-
Matt Holt authored
HTTP Headers
-
Tw authored
fix issue #948 Signed-off-by: Tw <tw19881113@gmail.com>
-
Garrett Squire authored
add a test to ensure this works.
-
Tw authored
* proxy: add benchmark Signed-off-by: Tw <tw19881113@gmail.com> * replacer: prepare lazily update issue#939 benchmark old ns/op new ns/op delta BenchmarkProxy-4 83865 72544 -13.50% Signed-off-by: Tw <tw19881113@gmail.com> * proxy: use buffer pool to avoid temporary allocation Signed-off-by: Tw <tw19881113@gmail.com>
-
- 19 Jul, 2016 4 commits
-
-
Matthew Holt authored
-
Matthew Holt authored
-
Matt Holt authored
Update readme contributing section
-
Matthias Loker authored
-