Changeset: fe7e47033266 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/fe7e47033266
Modified Files:
        common/stream/socket_stream.c
Branch: Mar2025
Log Message:

Fix handling of incomplete socket writes


diffs (12 lines):

diff --git a/common/stream/socket_stream.c b/common/stream/socket_stream.c
--- a/common/stream/socket_stream.c
+++ b/common/stream/socket_stream.c
@@ -209,7 +209,7 @@ socket_write(stream *restrict s, const v
 #ifdef _MSC_VER
                                                   (int) min(size - res, 1 << 
16)
 #else
-                                                  size
+                                                  size - res
 #endif
                                                   , 0)) > 0)
                       || (nr < 0 &&    /* syscall failed */
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to