Skip to content

Commit 56b0ba3

Browse files
authored
Remove unecessary async from writeBuffer (#3245)
1 parent eadf781 commit 56b0ba3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/dispatcher/client-h1.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1101,7 +1101,7 @@ function writeStream ({ abort, body, client, request, socket, contentLength, hea
11011101
}
11021102
}
11031103

1104-
async function writeBuffer ({ abort, body, client, request, socket, contentLength, header, expectsPayload }) {
1104+
function writeBuffer ({ abort, body, client, request, socket, contentLength, header, expectsPayload }) {
11051105
try {
11061106
if (!body) {
11071107
if (contentLength === 0) {

0 commit comments

Comments
 (0)