- 06 Nov, 2015 6 commits
-
-
Matthew Holt authored
-
Matt Holt authored
use log instead of fmt to obey the -log flag
-
Benny Ng authored
-
Matt Holt authored
fixed data races in websockets
-
Matthew Holt authored
Also we're not messing with log flags anymore during parsing. Timestamps could come in handy, plus concurrent logging is going on now.
-
Matthew Holt authored
-
- 05 Nov, 2015 8 commits
-
-
Matthew Holt authored
Previously, if a listener fails to bind (for example), there was a race in caddy.go between unblocking the startup waitgroup and returning the error and putting it into errChan. Now, an error is returned directly into errChan and the closing of the startup waitgroup is defered until after that return takes place.
-
Matthew Holt authored
Log file can also be stdout or stderr. Log output is disabled by default now, which makes it more feasible to add more log statements to trace program flow in debugging situations.
-
Matt Holt authored
add helpful suggestion to identify problem
-
AJ ONeal authored
-
Matthew Holt authored
This is known to happen if another program spawns Caddy with a stdin pipe but does not close its write end of Caddy's stdin.
-
Matt Holt authored
Lint pacification
-
buddhamagnet authored
-
buddhamagnet authored
pass all tests respond to maintainer comments reinstate assignment of t correct typo correct typo pass linter some more
-
- 04 Nov, 2015 4 commits
-
-
Matt Holt authored
Fix regression: Ensure TLS defaults are added by LE handlers.
-
xenolf authored
-
Matthew Holt authored
-
Matthew Holt authored
If the -host flag is used, we might still have to set up Let's Encrypt, so this change is necessary.
-
- 03 Nov, 2015 12 commits
-
-
Austin authored
-
Matthew Holt authored
-
Matthew Holt authored
Fixed bug where manually specifying port 443 disabled TLS (whoops); otherHostHasScheme was the culprit, since it would return true even if it was the same config that had that scheme. Also, an error at startup (if not a restart) is now fatal, rather than keeping a half-alive zombie server.
-
Matthew Holt authored
-
Matt Holt authored
Let's Encrypt
-
Matthew Holt authored
-
Matthew Holt authored
-
Matthew Holt authored
-
Matthew Holt authored
Conflicts: caddy/parse/parse.go caddy/parse/parsing.go config/config.go config/setup/controller.go main.go server/server.go
-
Matthew Holt authored
-
Matthew Holt authored
-
Matthew Holt authored
By chaining in a middleware handler and using newly exposed hooks from the acme package, we're able to proxy ACME requests on port 443 to the ACME client listening on a different port.
-
- 02 Nov, 2015 5 commits
-
-
Austin authored
-
Matthew Holt authored
This fixes a bug with the -agree flag
-
Matthew Holt authored
-
Matthew Holt authored
-
xenolf authored
-
- 01 Nov, 2015 2 commits
-
-
Matthew Holt authored
-
Matthew Holt authored
Before, we were activating Let's Encrypt after all the directives were executed. This means their setup functions had access to potentially erroneous information about the server's TLS setup, since the letsencrypt package makes changes to the port, etc. Now, we execute all directives up to and including tls, then activate letsencrypt, then finish with the rest of the directives. It's a bit ugly, but I do think it is more correct. It also fixes some bugs, for example: a host that only has a catch-all redirect.
-
- 31 Oct, 2015 3 commits
-
-
Matt Holt authored
Windows Build: Remove PATH from output.
-
Abiola Ibrahim authored
-
Matthew Holt authored
In testing, I've found that Windows doesn't release the socket right away even though the listener is closed, so calling caddy.Start() right after caddy.Stop() can fail. This change has server.ListenAndServe() try up to 20 times every 100ms to bind the listener, and only return an error if it doesn't succeed after 2 seconds. This might be kind of nifty for Unix, too, but there hasn't been a need for it yet.
-