0
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-23 22:27:38 -05:00
caddy/caddytls
Matthew Holt abdf13ea30 Improve TLS storage provider errors
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.
2016-09-08 18:50:04 -06:00
..
storagetest Improve TLS storage provider errors 2016-09-08 18:50:04 -06:00
certificates.go Fix edge case in stapling; do not allow certs without any names 2016-08-19 13:42:48 -06:00
certificates_test.go fix typo 2016-08-09 14:57:17 +09:00
client.go Eliminate ineffectual assignments 2016-09-05 10:30:46 -06:00
client_test.go Rewrote Caddy from the ground up; initial commit of 0.9 branch 2016-06-04 17:00:29 -06:00
config.go Fix bug renewing certs affecting Caddyfiles using wildcard addresses 2016-09-08 18:50:04 -06:00
config_test.go Ignore conflicting settings if TLS disabled (fixes #1075) 2016-08-26 16:18:08 -06:00
crypto.go Minor text fixes ;) 2016-08-23 15:47:23 -06:00
crypto_test.go tls: fix TestStandaloneTLSTicketKeyRotation data race 2016-08-02 15:28:12 +08:00
filestorage.go Improve TLS storage provider errors 2016-09-08 18:50:04 -06:00
filestorage_test.go Pluggable TLS Storage (#913) 2016-07-08 07:32:31 -06:00
handshake.go Scope TLS max_certs to site config instead of global 2016-07-28 11:08:18 -06:00
handshake_test.go Rewrote Caddy from the ground up; initial commit of 0.9 branch 2016-06-04 17:00:29 -06:00
httphandler.go Only consume HTTP challenge for names we are solving for (closes #549) 2016-08-10 22:13:06 -06:00
httphandler_test.go Only consume HTTP challenge for names we are solving for (closes #549) 2016-08-10 22:13:06 -06:00
maintain.go Fix misspellings 2016-09-05 10:20:34 -06:00
setup.go Add plugin capabilities for tls storage. 2016-08-23 23:00:20 +02:00
setup_test.go Allow just one TLS Protocol (Caddyfile) (#1004) 2016-08-06 15:00:54 -06:00
storage.go Improve TLS storage provider errors 2016-09-08 18:50:04 -06:00
tls.go Add plugin capabilities for tls storage. 2016-08-23 23:00:20 +02:00
tls_test.go Add error parameter to storage.SiteExists() 2016-08-18 18:38:33 +02:00
user.go Improve TLS storage provider errors 2016-09-08 18:50:04 -06:00
user_test.go Use P384 for TestUser (privateKey) (#1009) 2016-08-08 11:13:10 -06:00