diff --git a/src/index.js b/src/index.js index 24a0ae1..c286064 100644 --- a/src/index.js +++ b/src/index.js @@ -45,6 +45,8 @@ function Connection (conn) { conn.on('stream', function (stream) { stream.respond(200, {}) + stream.destroy = stream.abort + self.emit('stream', stream) })