Skip to content

Commit

Permalink
Merge pull request #448 from linuxsmiths/skip_iov_bugfix
Browse files Browse the repository at this point in the history
Fix bug in skipping of partially sent iov data
  • Loading branch information
sahlberg authored Mar 27, 2024
2 parents 37e0c01 + 7890ae1 commit 559cbd1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/socket.c
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,7 @@ rpc_write_to_socket(struct rpc_context *rpc)
}
buf += num_done;
len -= num_done;
num_done = 0;

/* Concatenate continous blocks */
if (last_buf != buf) {
Expand Down

0 comments on commit 559cbd1

Please sign in to comment.