Merge nucleic/keen-maple-heron-yzg3 into dev
This commit is contained in:
@@ -26,6 +26,10 @@ public sealed class OutboundWriter
|
||||
public OutboundWriter(TextWriter output)
|
||||
{
|
||||
this.output = output;
|
||||
// NDJSON is LF-framed on the wire (docs/WINDOWS_PORT.md §3.3). TextWriter.NewLine
|
||||
// defaults to Environment.NewLine — CRLF here — which would append a stray \r to
|
||||
// every line hostd's JSONRPCConnection reads. We own this writer, so pin it.
|
||||
this.output.NewLine = "\n";
|
||||
loop = Task.Run(DrainAsync);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user