|
@@ -265,6 +265,14 @@ func (s *SubJsonService) streamData(stream string) map[string]any {
|
|
|
streamSettings["wsSettings"] = s.removeAcceptProxy(streamSettings["wsSettings"])
|
|
streamSettings["wsSettings"] = s.removeAcceptProxy(streamSettings["wsSettings"])
|
|
|
case "httpupgrade":
|
|
case "httpupgrade":
|
|
|
streamSettings["httpupgradeSettings"] = s.removeAcceptProxy(streamSettings["httpupgradeSettings"])
|
|
streamSettings["httpupgradeSettings"] = s.removeAcceptProxy(streamSettings["httpupgradeSettings"])
|
|
|
|
|
+ case "xhttp":
|
|
|
|
|
+ streamSettings["xhttpSettings"] = s.removeAcceptProxy(streamSettings["xhttpSettings"])
|
|
|
|
|
+ if xhttp, ok := streamSettings["xhttpSettings"].(map[string]any); ok {
|
|
|
|
|
+ delete(xhttp, "noSSEHeader")
|
|
|
|
|
+ delete(xhttp, "scMaxBufferedPosts")
|
|
|
|
|
+ delete(xhttp, "scStreamUpServerSecs")
|
|
|
|
|
+ delete(xhttp, "serverMaxHeaderBytes")
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
return streamSettings
|
|
return streamSettings
|
|
|
}
|
|
}
|