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:
@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user