Comparing version 0.7.2 to 0.7.3
@@ -0,1 +1,4 @@ | ||
2014/04/13 Version 0.7.3 | ||
- Close fstream if/when res closes, fixes potential fd leak | ||
2015/04/05 Version 0.7.2 | ||
@@ -2,0 +5,0 @@ - Correctly handle req.statusCode in recursive calls; do not inherit upstream res.statusCode |
@@ -190,2 +190,5 @@ #! /usr/bin/env node | ||
}); | ||
res.on('close', function () { | ||
fstream.destroy(); | ||
}); | ||
res.writeHead(206, { | ||
@@ -192,0 +195,0 @@ 'Content-Range': 'bytes ' + start + '-' + end + '/' + total, |
@@ -5,3 +5,3 @@ { | ||
"description": "A simple static file server middleware that works with both Express and Flatiron", | ||
"version": "0.7.2", | ||
"version": "0.7.3", | ||
"homepage": "https://github.com/jfhbrook/node-ecstatic", | ||
@@ -8,0 +8,0 @@ "repository": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
226215
635