Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-06-21 | Minor cleanups/improvements | Matthew Holt | |
2019-06-20 | caddyhttp: ResponseRecorder type for middlewares to buffer responses | Matthew Holt | |
Unfortunately, templates and markdown require buffering the full response before it can be processed and written to the client | |||
2019-06-20 | caddyhttp: Fix host matching when host has a port | Matthew Holt | |
2019-06-18 | templates: Remove context functions implemented by sprig | Matthew Holt | |
2019-06-18 | Refactor templates execution; add sprig functions | Matthew Holt | |
2019-06-18 | Implement templates handler; various minor cleanups and bug fixes | Matthew Holt | |
2019-06-14 | Rename caddy2 -> caddy | Matthew Holt | |
Removes the version from the package name | |||
2019-06-13 | Implement brotli encoder; improve validation of other encoders | Matthew Holt | |
2019-06-11 | Add simple tests for static responder | Matthew Holt | |
2019-06-10 | Implement encode middleware (#2) | Matt Holt | |
* Implement encode middleware * Add missing break; and add missing JSON struct field tag | |||
2019-06-07 | Do not allow Go standard lib to sniff Content-Type header | Matthew Holt | |
2019-06-07 | fix goroutine leak in healthcheckers | dev | |
2019-06-04 | Fix bugs related to auto HTTPS and alternate port configurations | Matthew Holt | |
2019-06-04 | Change import paths to GitHub package names | Matthew Holt | |
2019-06-04 | Implement IP/CIDR matcher and Not (negated) matcher | Matthew Holt | |
2019-05-28 | ResponseMatcher for conditional logic of response headers | Matthew Holt | |
2019-05-28 | Minor cleanups | Matthew Holt | |
2019-05-23 | Fix error handling and matching catch-all routes | Matthew Holt | |
2019-05-23 | Add very simple markdown middleware for now | Matthew Holt | |
2019-05-23 | Add request_body middleware and some limits to HTTP servers | Matthew Holt | |
2019-05-22 | Don't use auto HTTPS for servers with only HTTP port listeners | Matthew Holt | |
2019-05-22 | Allow multiple matcher sets in routes (OR'ed together) | Matthew Holt | |
Also export MatchRegexp in case other matcher modules find it useful. Add comments to the exported matchers. | |||
2019-05-22 | Export types and fields necessary to build configs (for config adapters) | Matthew Holt | |
Also flag most fields with 'omitempty' for JSON marshaling | |||
2019-05-21 | Module.New() does not need to return an error | Matthew Holt | |
2019-05-21 | Fix up matchers tests and take care of TODO in rewrite | Matthew Holt | |
2019-05-21 | Take care of remaining TODOs in the browse responder | Matthew Holt | |
2019-05-20 | Implement rewrite middleware; fix middleware stack bugs | Matthew Holt | |
2019-05-20 | Fix deferred header ops | Matthew Holt | |
2019-05-20 | Default error handler; rename StaticFiles -> FileServer | Matthew Holt | |
2019-05-20 | Sanitize paths in static file server; some cleanup | Matthew Holt | |
Also remove AutomaticHTTPSError for now | |||
2019-05-20 | Implement headers middleware | Matthew Holt | |
2019-05-20 | Implement most of browse; fix a couple obvious bugs; some cleanup | Matthew Holt | |
2019-05-20 | move internal packages to pkg folder and update reverse proxy | dev | |
* set automatic https error type for cert-magic failures * add state to onload and unload methods * update reverse proxy to use Provision() and Cleanup() | |||
2019-05-20 | Implement most of static file server; refactor and improve Replacer | Matthew Holt | |
2019-05-16 | Architectural shift to using context for config and module state | Matthew Holt | |
2019-05-16 | Some minor updates, and get rid of OnLoad/OnUnload | Matthew Holt | |
2019-05-14 | Rename and export some types, other minor changes | Matthew Holt | |
2019-05-10 | caddyhttp: Implement better HTTP matchers including regexp; add tests | Matthew Holt | |
2019-05-07 | Add some tests and fix vet warning | Matthew Holt | |
2019-05-07 | Rough implementation of auto HTTP->HTTPS redirects | Matthew Holt | |
Also added GracePeriod for server shutdowns | |||
2019-05-04 | Begin implementing HTTP replacer and static responder | Matthew Holt | |
2019-05-04 | Add reverse proxy | Matthew Holt | |
2019-04-29 | Instantiate apps that are needed but not explicitly configured | Matthew Holt | |
2019-04-25 | Initial commit of Storage, TLS, and automatic HTTPS implementations | Matthew Holt | |
2019-04-11 | Begin implementing error handling and re-handling | Matthew Holt | |
2019-04-08 | Protocol and Caddyscript matchers | dev | |
* Added matcher to determine what protocol the request is being made by - grpc, tls, http * Added ability to run caddyscript in a matcher to evaluate the http request * Added TLS field to caddyscript request time * Added a library to manipulate and compare a new caddyscript time type * Library for regex in starlark | |||
2019-04-08 | Implement "global" state for modules, OnLoad and OnUnload callbacks | Matthew Holt | |
Tested for memory leaks and performance. Obviously the added locking and global state is not awesome, but the alternative is a little uglier IMO: we'd have to make some sort of "liaison" value which stores the state, then pass it around to every module, and so LoadModule becomes a lot less accessible, and each module would need to maintain a reference to it... nope, just ugly. I think this is the cleaner solution: just make sure only one Start() happens at a time, and keep global things global. Very simple log middleware is an example. Might need to reorder the operations in Start() and handle errors differently, etc. Otherwise, I'm mostly happy with this solution... | |||
2019-04-02 | Merged in deadlines (pull request #1) | Matt Holt | |
Cleanly fake-close listeners * WIP debugging listener deadlines * Fix listener deadlines | |||
2019-03-31 | Very basic middleware and route matching functionality | Matthew Holt | |
2019-03-27 | Fix goroutine leak in Run | Matthew Holt | |
D'oh, the servers' Shutdown() would never be called because they were never added to the list of servers. Thanks Danny for finding this. |