You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-commits@axis.apache.org by ro...@apache.org on 2026/09/25 15:39:14 UTC

(axis-axis2-c-core) 01/04: Correct the h2 client comment on a server that stops reading

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

robertlazarski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/axis-axis2-c-core.git

commit f92cc730034b0ec223372138c6b61e7927f61764
Author: Robert Lazarski <ro...@gmail.com>
AuthorDate: Fri Sep 25 03:27:04 2026 -1000

    Correct the h2 client comment on a server that stops reading
    
    Co-Authored-By: Claude Opus 5.5 (1M context) <no...@anthropic.com>
---
 src/core/transport/h2/sender/axis2_h2_json_client.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/core/transport/h2/sender/axis2_h2_json_client.c b/src/core/transport/h2/sender/axis2_h2_json_client.c
index 1ae794a16..9ad051c4d 100644
--- a/src/core/transport/h2/sender/axis2_h2_json_client.c
+++ b/src/core/transport/h2/sender/axis2_h2_json_client.c
@@ -1033,8 +1033,8 @@ axis2_h2_json_client_post(
      * frames. A server that answers early (a 413 before the body is all
      * sent) sends its response and RST_STREAM(NO_ERROR) (RFC 9113 8.1);
      * the next h2c_pump_recv takes both, and nghttp2 sends no more body. A
-     * server that stops reading altogether blocks a send only until
-     * request_deadline. */
+     * server that stops reading altogether fails the send after
+     * io_timeout_ms, or sooner if request_deadline comes first. */
     while (!c->stream_closed)
     {
         if (h2c_pump_send(c, env) != AXIS2_SUCCESS)