refactor(stream) stream -> pipe

This commit is contained in:
coderaiser 2013-09-16 13:57:58 +00:00
parent 9ba0fb377e
commit 02b06c4395
3 changed files with 7 additions and 7 deletions

View file

@ -11,7 +11,7 @@
SLASH,
ISWIN32,
ext,
path, fs, zlib, url, stream,
path, fs, zlib, url, pipe,
OK, FILE_NOT_FOUND, MOVED_PERMANENTLY = 301,
REQUEST, RESPONSE,
@ -100,7 +100,7 @@
exports.VOLUMES = getVolumes(),
/* Additional Modules */
exports.stream = stream = srvrequire('stream'),
exports.pipe = pipe = srvrequire('pipe'),
exports.socket = srvrequire('socket'),
exports.auth = srvrequire('auth').auth,
exports.appcache = srvrequire('appcache'),
@ -233,7 +233,7 @@
query : getQuery(p.request)
}) );
stream.createPipe({
pipe.create({
from: p.name,
write: p.response,
zip : lGzip && !p.gziped,