Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/response.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,11 @@ module.exports = class ServerlessResponse extends http.ServerResponse {
if (typeof cb === 'function') {
cb()
}

// must return bool to indicate if the data was flushed to the
// kernel and if not then indicate that the sender must wait
// for drain event; which we never do so always return true.
return true;
}
})
}
Expand Down