We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 117a98e commit 857e310Copy full SHA for 857e310
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "uquik",
3
- "version": "1.0.34",
+ "version": "1.0.35",
4
"description": "uQuik HTTP(S) framework",
5
"main": "index.js",
6
"scripts": {
src/Response.js
@@ -269,6 +269,7 @@ class Response extends Writable {
269
// Wait for this chunk to be written to the client
270
let drained = false
271
return this.drain(() => {
272
+ if (this.completed) return true
273
// Call the callback once the chunk is drained
274
if (!drained) {
275
drained = true
0 commit comments