]> granicus.if.org Git - apache/blobdiff - modules/http2/h2_conn_io.h
On the 2.4.x branch: merge of r1776738,1777160,1777324 from trunk
[apache] / modules / http2 / h2_conn_io.h
index 4ccf007086e483be8f7855dc18f51c1715f3c0e6..f61701856593599283dc40f8dc2127d0866391bc 100644 (file)
@@ -39,7 +39,10 @@ typedef struct {
     apr_int64_t bytes_written;
     
     int buffer_output;
+    int needs_flush;
     apr_size_t pass_threshold;
+    float flush_factor;
+    float speed_factor;
     
     char *scratch;
     apr_size_t ssize;
@@ -73,4 +76,6 @@ apr_status_t h2_conn_io_write_eoc(h2_conn_io *io, struct h2_session *session);
  */
 apr_status_t h2_conn_io_flush(h2_conn_io *io);
 
+int h2_conn_io_needs_flush(h2_conn_io *io);
+
 #endif /* defined(__mod_h2__h2_conn_io__) */