Explorar el Código

Update BaseControlHandler.cs

BaronGreenback hace 4 años
padre
commit
293237b714
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Emby.Dlna/Service/BaseControlHandler.cs

+ 1 - 1
Emby.Dlna/Service/BaseControlHandler.cs

@@ -150,7 +150,7 @@ namespace Emby.Dlna.Service
                 }
             }
 
-            return new ControlRequestInfo();
+            throw new EndOfStreamException("Stream ended but no body tag found.");
         }
 
         private async Task<ControlRequestInfo> ParseBodyTagAsync(XmlReader reader)