Skip to content

Commit

Permalink
Fix reception of fastcgi stdout frame padding after d5fe08
Browse files Browse the repository at this point in the history
  • Loading branch information
lpereira committed May 19, 2024
1 parent d2a4bcc commit 22d6b5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/lwan-mod-fastcgi.c
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ handle_stdout(struct lwan_request *request, const struct record *record, int fd)

if (record->len_padding) {
char padding[256];
if (lwan_send_fd(request, fd, padding, (size_t)record->len_padding,
if (lwan_recv_fd(request, fd, padding, (size_t)record->len_padding,
MSG_TRUNC) < 0) {
return false;
}
Expand Down

0 comments on commit 22d6b5d

Please sign in to comment.