bbennett-ks commented on code in PR #643:
URL: https://github.com/apache/guacamole-server/pull/643#discussion_r2900049464
##########
src/common/io.c:
##########
@@ -29,7 +30,10 @@ int guac_common_write(int fd, void* buffer, int length) {
while (length > 0) {
/* Attempt write */
- int bytes_written = write(fd, bytes, length);
+ int bytes_written;
+ do {
+ bytes_written = write(fd, bytes, length);
+ } while (bytes_written < 0 && errno == EINTR);
Review Comment:
Done!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]