Dmitry Verkhoturov and Umputun
532573fb34
fix problems reported by golangci-lint
2024-02-20 12:10:39 -06:00
Dmitry Verkhoturov and Umputun
0c3053d4ad
CloseIdleConnections on http clients
...
Without this, go.uber.org/goleak reports
leaking goroutine caused by HTTP client
on many tests when ran one by one.
2022-04-29 10:51:49 -05:00
Dmitry Verkhoturov and Umputun
2a7966b9e6
replace numbers with proper HTTP status codes in tests
...
Also, remove unneeded whitespaces using whitespace
linter for golangci-lint.
2022-04-17 19:42:45 -05:00
Dmitry Verkhoturov and Umputun
90e537358d
update golangci-lint to 1.43.0, fix found issues
2021-11-23 15:00:40 -06:00
Dmitry Verkhoturov and Umputun
7bab10ab57
Replace "(Not)Nil" test checks for errors with with "(No)Error" ( #503 )
...
* replace "(Not)Nil" test checks for errors with with "(No)Error"
* unify error text checks style
* clarify error check in tests in memory_store
2019-12-29 15:42:39 -06:00
Anton Kosourov and Umputun
8f678ad04e
Feature/add autocert support ( #217 )
...
* add le support
* fix log info
* change readme for autocert mode
* rename acme location param
* add test for http challenge
* add acme-email param
* do tls config more sane
2018-11-25 13:12:07 -06:00
Umputun
dec2d0062c
ssl redirect test
2018-11-04 13:13:56 -06:00