1
0
Fork 0
forked from svrjs/svrjs

Improve HTTP partial content request logging

This commit is contained in:
Dorian Niemiec 2024-05-13 17:59:48 +02:00
parent 9c82164433
commit 8af7f1df99

2
svr.js
View file

@ -3748,8 +3748,8 @@ if (!cluster.isPrimary) {
} else {
res.writeHead(206, http.STATUS_CODES[206], rhd);
readStream.pipe(res);
serverconsole.resmessage("Client successfully received content.");
}
serverconsole.resmessage("Client successfully received content.");
} catch (err) {
callServerError(500, err);
}