fixed idlewatcher panics and incorrect behavior, update screenshot

This commit is contained in:
yusing
2024-10-06 16:17:52 +08:00
parent 03cad9f315
commit de7805f281
6 changed files with 17 additions and 11 deletions

View File

@@ -135,8 +135,8 @@ func (r *HTTPRoute) Start() E.NestedError {
}
}
if r.entry.URL.Port() == "0" ||
r.entry.IsDocker() && !r.entry.ContainerRunning {
if !r.entry.UseIdleWatcher() && (r.entry.URL.Port() == "0" ||
r.entry.IsDocker() && !r.entry.ContainerRunning) {
// TODO: if it use idlewatcher, set mux to dummy mux
return nil
}