Skip to content

Commit

Permalink
Remove unecessary async from writeBuffer (#3245)
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkGL authored May 11, 2024
1 parent eadf781 commit 56b0ba3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dispatcher/client-h1.js
Original file line number Diff line number Diff line change
Expand Up @@ -1101,7 +1101,7 @@ function writeStream ({ abort, body, client, request, socket, contentLength, hea
}
}

async function writeBuffer ({ abort, body, client, request, socket, contentLength, header, expectsPayload }) {
function writeBuffer ({ abort, body, client, request, socket, contentLength, header, expectsPayload }) {
try {
if (!body) {
if (contentLength === 0) {
Expand Down

0 comments on commit 56b0ba3

Please sign in to comment.