Commit Graph

16 Commits

Author SHA1 Message Date
Eric Promislow
43f79036b0 Revert change using !errors.Is(...) vs err != ... 2024-08-29 13:54:15 -07:00
Eric Promislow
d1fbc00b82 Stop using and testing the intermediate function.
Directly test the exported ListenAndServe function.
2024-08-29 12:44:36 -07:00
Eric Promislow
678e190743 Just change the level and output-handler on the logrus's underlying logger. 2024-08-28 14:16:43 -07:00
Eric Promislow
a594876867 Keep the logger 'WriterLevel' in sync with the logger's own level.
Add a 'DisplayServerLogs' field.

When this option is true, all logs from the http.Server are displayed as errors.

This makes sense, because the docs for 'http.Server.ErrorLog' says mostly error messages
are written to it.

Unit tests need to use mutexes so we can have the logger write to a wrapped buffer
and safely read from it after writing is finished.
2024-08-28 12:52:03 -07:00
Tom Lebreux
e507a7ad34
Upgrade wrangler to v3.0.0-rc2 (#109)
* Upgrade wrangler to v3.0.0-rc2

* Update README
2024-05-03 15:13:41 -04:00
Kevin Joiner
e6451ba1e8 Bumps rancher/wrangler to it's tagged v2 version. 2024-01-11 16:22:55 -05:00
vardhaman22
06acb83e5d fix listener call 2023-08-31 10:50:15 +05:30
Jonas Wagner
02304047cf
Enable intermediate CA Certificates
Signed-off-by: Jonas Wagner <jwagner@knoppiks.de>
2023-07-10 09:42:17 +02:00
Darren Shepherd
9dfd7df057 Pass context to http server as BaseContext 2021-06-15 22:42:42 -07:00
Darren Shepherd
bcbb612b24 Stop using wrangler-api project 2020-07-14 13:09:07 -07:00
Darren Shepherd
5ba69b1c5f Fix acme listener 2020-02-07 14:20:45 -07:00
Darren Shepherd
0b114dc0c2 Add BindHost option 2020-02-05 23:11:51 -07:00
Darren Shepherd
4e8035fa46 Fix go fmt/vet issues 2020-01-30 22:41:19 -07:00
Darren Shepherd
a75e84bc81 Add more helpers 2020-01-30 22:41:19 -07:00
Darren Shepherd
f1484a07b3 Add static storage and listener opts 2019-12-04 11:32:00 -07:00
Darren Shepherd
af04867843 Refactor to not include a server by default 2019-10-30 19:14:34 -07:00