YIHONG-JIN commented on code in PR #11890:
URL: https://github.com/apache/trafficserver/pull/11890#discussion_r1926342005


##########
src/proxy/http/HttpSM.cc:
##########
@@ -7274,6 +7274,32 @@ HttpSM::setup_blind_tunnel(bool send_response_hdr, 
IOBufferReader *initial)
   //  header buffer into new buffer
   client_request_body_bytes += 
from_ua_buf->write(_ua.get_txn()->get_remote_reader());
 
+#if TS_USE_LINUX_SPLICE
+  MIOBuffer *from_ua_pipe_buf = new_PipeIOBuffer(BUFFER_SIZE_INDEX_32K);

Review Comment:
   Yes, it is the same as the MIOBuffer size we use for blind tunnel. The 
default linux pipe size is 16 pages so I am trying to save memory by requesting 
only 8 pages here.  However, the system admin still need to lift 
pipe-user-pages-soft limit to avoid exceptions.



-- 
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: github-unsubscr...@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to