1
0
mirror of https://github.com/umputun/reproxy.git synced 2025-06-30 22:13:42 +02:00

fix: add timeouts and address race conditions in DNS challenge tests

- Add proper synchronization for DNS mock server
- Fix race condition with thread-safe token access
- Add timeouts to certificate acquisition to prevent test hanging
- Improve error handling in DNS server
- Normalize comments with unfuck-ai-comments
This commit is contained in:
Umputun
2025-04-19 12:28:07 -05:00
parent 528807d744
commit d563c2a648
9 changed files with 109 additions and 26 deletions

View File

@ -17,7 +17,7 @@ func main() {
Methods: []string{"HeaderThing", "ErrorThing"},
}
log.Printf("start demo plugin")
// Do start the plugin listener and register with reproxy plugin conductor
// do start the plugin listener and register with reproxy plugin conductor
if err := plugin.Do(context.TODO(), "http://reproxy:8081", new(Handler)); err != nil {
log.Fatal(err)
}