Skip to content

Commit

Permalink
Make sure that gprobe:// data is completely sent before receiving ##io
Browse files Browse the repository at this point in the history
  • Loading branch information
eibach authored and trufae committed Nov 7, 2023
1 parent 678c37b commit b00bb2b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libr/io/p/io_gprobe.c
Original file line number Diff line number Diff line change
Expand Up @@ -629,6 +629,8 @@ static int sp_blocking_write(struct gport *port, const void *buf,
ptr += result;
}

tcdrain (port->fd);

return bytes_written;
#endif
}
Expand Down

0 comments on commit b00bb2b

Please sign in to comment.