This is an automated email from the ASF dual-hosted git repository.

markt-asf pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat-connectors.git


The following commit(s) were added to refs/heads/main by this push:
     new 73f180ffb Fully fix "tolerate partial send"
73f180ffb is described below

commit 73f180ffb57fd3099174721179944d7161e5e779
Author: Mark Thomas <[email protected]>
AuthorDate: Tue Jun 9 17:26:34 2026 +0100

    Fully fix "tolerate partial send"
---
 native/common/jk_sockbuf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/native/common/jk_sockbuf.c b/native/common/jk_sockbuf.c
index b82d78fdb..2238ee7b0 100644
--- a/native/common/jk_sockbuf.c
+++ b/native/common/jk_sockbuf.c
@@ -116,7 +116,7 @@ int jk_sb_flush(jk_sockbuf_t *sb)
         int save_out = sb->end;
         sb->end = sb->start = 0;
         if (save_out) {
-            return send(sb->sd, sb->buf, save_out, 0) == save_out;
+            return jk_sb_send_all(sb->sd, sb->buf, save_out);
         }
         return JK_TRUE;
     }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to