Skip to content

Commit 8bdbfb0

Browse files
committed
Add cachestreamparts() to catch case where previous try failed.
1 parent 9abdd68 commit 8bdbfb0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

stream.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ function stream(source, res) {
105105
var patch = parseInt(vera[2])
106106
log.logres("Node.js version: " + process.version, res.options, "stream")
107107
if (minor < 12 || (minor == 12 && patch < 7)) {
108-
log.logres("Ignoring existing streamfilecat because of bug "
108+
log.logres("Ignoring existing streamfilecat because of bug"
109109
+ " in node.js < 12.7 with concateneated gzip files",
110110
res.options, "stream")
111111
} else {
@@ -369,6 +369,7 @@ function stream(source, res) {
369369
if (reqstatus[work.options.logsig].N == reqstatus[work.options.logsig].Nx) {
370370
log.logres("Sending res.end().", work.options, "stream")
371371
res.end()
372+
catstreamparts()
372373
} else {
373374
if (work.options.streamOrder) {
374375
queuecheck(work)

0 commit comments

Comments
 (0)