forked from svrjs/svrjs
Improve HTTP partial content request logging
This commit is contained in:
parent
9c82164433
commit
8af7f1df99
1 changed files with 1 additions and 1 deletions
2
svr.js
2
svr.js
|
@ -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);
|
||||
}
|
||||
|
|
Reference in a new issue