]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
* modules/ssl/ssl_engine_io.c: Update comment, no function change, [skip ci]
authorJoe Orton <jorton@apache.org>
Mon, 30 Mar 2020 14:11:44 +0000 (14:11 +0000)
committerJoe Orton <jorton@apache.org>
Mon, 30 Mar 2020 14:11:44 +0000 (14:11 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1875883 13f79535-47bb-0310-9956-ffa450edef68

modules/ssl/ssl_engine_io.c

index db3b24e2a7888797579aa224e348a0fd6c4b9dd9..bbcb6a38f93f43bbe80310f22822785b32c6651f 100644 (file)
@@ -1678,7 +1678,14 @@ static apr_status_t ssl_io_filter_input(ap_filter_t *f,
  * and introducing unnecessary overhead.
  *
  * ### This buffering could be probably be done more comprehensively
- * ### in ssl_io_filter_output itself. */
+ * ### in ssl_io_filter_output itself. 
+ * 
+ * ### Another possible performance optimisation in particular for the
+ * ### [HEAP] [FILE] HTTP response case is using a brigade rather than
+ * ### a char array to buffer; using apr_brigade_write() to append
+ * ### will use already-allocated memory from the HEAP, reducing # of
+ * ### copies.
+ */
 
 #define COALESCE_BYTES (AP_IOBUFSIZE)