mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-04-24 22:17:25 -04:00
Kestrel doesn't like sync IO operations
This commit is contained in:
parent
8e71046a3c
commit
2610f377c0
1 changed files with 4 additions and 2 deletions
|
@ -63,7 +63,8 @@ namespace Emby.Dlna.Service
|
|||
ValidationType = ValidationType.None,
|
||||
CheckCharacters = false,
|
||||
IgnoreProcessingInstructions = true,
|
||||
IgnoreComments = true
|
||||
IgnoreComments = true,
|
||||
Async = true
|
||||
};
|
||||
|
||||
using (var reader = XmlReader.Create(streamReader, readerSettings))
|
||||
|
@ -79,7 +80,8 @@ namespace Emby.Dlna.Service
|
|||
var settings = new XmlWriterSettings
|
||||
{
|
||||
Encoding = Encoding.UTF8,
|
||||
CloseOutput = false
|
||||
CloseOutput = false,
|
||||
Async = true
|
||||
};
|
||||
|
||||
StringWriter builder = new StringWriterWithEncoding(Encoding.UTF8);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue