about summary refs log tree commit homepage
path: root/mwrap_httpd.h
diff options
context:
space:
mode:
Diffstat (limited to 'mwrap_httpd.h')
-rw-r--r--mwrap_httpd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/mwrap_httpd.h b/mwrap_httpd.h
index b0adf6a..6d40d6c 100644
--- a/mwrap_httpd.h
+++ b/mwrap_httpd.h
@@ -53,11 +53,11 @@ struct mw_wbuf { /* for response headers + bodies */
 struct mw_h1req { /* HTTP/1.x request (TSD in common (fast) case) */
         const char *method, *path, *qstr;
         size_t method_len, path_len, qlen;
-        uint16_t rbuf_len;
+        uint16_t rbuf_len; /* capped by MW_RBUF_SIZE */
         int pret, minor_ver;
         size_t nr_hdr;
         struct phr_header hdr[MW_NR_NAME];
-        char rbuf[MW_RBUF_SIZE]; /* read(2) in to thi */
+        char rbuf[MW_RBUF_SIZE]; /* read(2) in to this */
 };
 
 struct mw_h1 { /* each HTTP/1.x client (heap) */