- 09 Sep, 2016 4 commits
-
-
Matthew Holt authored
-
Matthew Holt authored
This already happens in the getCertificate function, but doing it here guarantees case insensitivity across the board for this handshake.
-
Matthew Holt authored
We renamed caddytls.ErrStorageNotFound to caddytls.ErrNotExist to more closely mirror the os package. We changed it to an interface wrapper so that the custom error message can be preserved. Returning only "data not found" was useless in debugging because we couldn't know the concrete value of the error (like what it was trying to load). Users can do a type assertion to determine if the error value is a "not found" error instead of doing an equality check.
-
Matthew Holt authored
A Caddyfile using *.example.com as its site address would be subject to this bug at renewal time, as it would use the literal "*.example.com" value instead of the name being passed in to obtain a certificate. This change fixes the LoadSite call so that it looks in the proper directory for the certificate resources.
-
- 05 Sep, 2016 4 commits
-
-
Matt Holt authored
Caddyfiles read from STDIN now have server types associated with them.
-
Mike Pulaski authored
-
Matthew Holt authored
Most of these were fixed by handling errors that were previously unhandled (oops).
-
Matthew Holt authored
-
- 30 Aug, 2016 5 commits
-
-
Sebastian authored
* Support for lego's timeout option * Changed IntVar to DurationVar for catimeout * Modified catimeout according to mholt's comments
-
Matthew Holt authored
-
Matt Holt authored
Use naoina/toml for MIT license. Make proxy_test work in any directory.
-
Issac Trotts authored
Some tests were running into this issue: https://github.com/golang/go/issues/6895 Putting the sockets into temp dirs fixes the problem.
-
Issac Trotts authored
-
- 29 Aug, 2016 2 commits
-
-
Abiola Ibrahim authored
Add 'status' middleware instead of 'status' directive for 'rewrite' middleware
-
Volodymyr Galkin authored
-
- 26 Aug, 2016 1 commit
-
-
Matthew Holt authored
-
- 25 Aug, 2016 8 commits
-
-
Matthew Holt authored
-
Matthew Holt authored
-
Matt Holt authored
Actually set tls.Config.PreferServerCipherSuites
-
Filippo Valsorda authored
It was set by default on the caddy-internal config object, and even checked for conflicts, but it was never actually reflected on the tls.Config. This will have user-visible changes: a client that prefers, say, AES-CBC but also supports AES-GCM would have used AES-CBC befor this, and will use AES-GCM after. This is desirable and important behavior, because if for example the server wanted to support 3DES, but *only if it was strictly necessary*, it would have had no way of doing so with PreferServerCipherSuites false, as the client preference would have won.
-
Matthew Holt authored
This change is still experimental.
-
Matthew Holt authored
This function should not be used outside of development. It destroys the absolute ordering and guarantees of correctness. Multiple uses of it may work fine, but maybe not if they overlap, causing non-deterministic builds which is bad. However, this can be convenient when developing a plugin by calling it from an init() function, since you don't have to modify the Caddy source code just to try your plugin.
-
Matt Holt authored
log: add multiple log entry test
-
Tw authored
Signed-off-by: Tw <tw19881113@gmail.com>
-
- 24 Aug, 2016 3 commits
-
-
Matt Holt authored
log: support multiple log entries under one path scope
-
Tw authored
fix issue #1044 Signed-off-by: Tw <tw19881113@gmail.com>
-
Matthew Holt authored
-
- 23 Aug, 2016 12 commits
-
-
Matt Holt authored
Keep quic protocol headers only between one hop
-
Michael Grosser authored
Removing quic protocol headers from being persisted during proxy requests. Not removing them could lead to the client attempting to connect to the wrong port. This makes the quic headers consistent with other protocol headers.
-
Matthew Holt authored
-
Matt Holt authored
Add plugin capabilities for tls storage.
-
Luna Duclos authored
To use a plugged in storage, specify "storage storage_name" in the tls block of the Caddyfile, by default, file storage will be used
-
Matthew Holt authored
No need to check if SiteExists if the config is not managed or the name does not even qualify.
-
Matt Holt authored
Proxy: Set MaxIdleConnsPerHost to -1 to prevent Idle Conns
-
Nimi Wariboko Jr authored
Proxy: Instead of setting DisableKeepAlives, set MaxIdleConnsPerHost to -1 to prevent net/http from pooling the connections. DisableKeepAlives causes net/http to send a Connection: Closed header which is bad. Fixes #1056
-
Matt Holt authored
capture request body normally
-
Tw authored
fix issue #1015 Signed-off-by: Tw <tw19881113@gmail.com>
-
Tw authored
Signed-off-by: Tw <tw19881113@gmail.com>
-
Tw authored
Signed-off-by: Tw <tw19881113@gmail.com>
-
- 20 Aug, 2016 1 commit
-
-
Matt Holt authored
Add error parameter to storage.SiteExists()
-