10 seconds not 10 ..very short periods of time

This commit is contained in:
Rob Emery 2025-02-08 19:09:57 +00:00
parent 2696eaee64
commit 335251384f

View File

@ -424,7 +424,7 @@ func (s *SSDPServer) soapActionResponse(sa upnp.SoapAction, actionRequestXML []b
func (s *SSDPServer) serveHTTP() error {
srv := &http.Server{
Handler: s.handler,
ReadHeaderTimeout: 10,
ReadHeaderTimeout: 10 * time.Second,
}
err := srv.Serve(s.HTTPConn)
select {