-
Notifications
You must be signed in to change notification settings - Fork 123
Description
Hi,
we use our project with swagger-node-runner.
also using
swagger_router, swagger-json-output.
recently we tried to add support for gzip with the following line
"app.use(restify.plugins.gzipResponse());"
we use restify as you can tell.
when trying to add it we get the following error:
Error: write after end
at writeAfterEnd (_stream_writable.js:236:12)
at Gzip.Writable.write (_stream_writable.js:287:5)
at flush (project/node_modules/restify/lib/response.js:832:13)
at ServerResponse.__send (project/node_modules/restify/lib/response.js:500:16)
at ServerResponse.send (project/node_modules/restify/lib/response.js:303:28)
at emitErrorsDone (project/node_modules/restify/lib/server.js:1052:29)
at onResult (project/node_modules/restify/lib/server.js:1293:20)
at Immediate. (project/node_modules/vasync/lib/vasync.js:175:30)
at Immediate._onImmediate (project/node_modules/async-listener/glue.js:188:31)
at runCallback (timers.js:789:20)
at tryOnImmediate (timers.js:751:5)
at processImmediate [as _immediateCallback] (timers.js:722:5)
any advise?