mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-01 22:53:05 +02:00
fixed streams with zero port being served
This commit is contained in:
@@ -58,7 +58,7 @@ func (r *StreamRoute) String() string {
|
||||
}
|
||||
|
||||
func (r *StreamRoute) Start() E.NestedError {
|
||||
if r.Port.ListeningPort == PT.NoPort || r.started.Load() {
|
||||
if r.Port.ProxyPort == PT.NoPort || r.started.Load() {
|
||||
return nil
|
||||
}
|
||||
r.ctx, r.cancel = context.WithCancel(context.Background())
|
||||
|
||||
Reference in New Issue
Block a user