mirror of https://github.com/adamdruppe/arsd.git
another musl try
This commit is contained in:
parent
aa45fe8f54
commit
8fcaa90825
19
cgi.d
19
cgi.d
|
@ -2104,13 +2104,24 @@ class Cgi {
|
|||
foreach(h; hd) {
|
||||
if(rawDataOutput !is null)
|
||||
rawDataOutput(cast(const(ubyte)[]) (h ~ "\r\n"));
|
||||
else
|
||||
writeln(h);
|
||||
else {
|
||||
version(CRuntime_Musl) {
|
||||
stdout.rawWrite(h);
|
||||
stdout.rawWrite("\n");
|
||||
} else {
|
||||
writeln(h);
|
||||
}
|
||||
}
|
||||
}
|
||||
if(rawDataOutput !is null)
|
||||
rawDataOutput(cast(const(ubyte)[]) ("\r\n"));
|
||||
else
|
||||
writeln("");
|
||||
else {
|
||||
version(CRuntime_Musl) {
|
||||
stdout.rawWrite("\n");
|
||||
} else {
|
||||
writeln("");
|
||||
}
|
||||
}
|
||||
|
||||
outputtedResponseData = true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue