]> granicus.if.org Git - apache/commitdiff
Add notes field to conn_rec
authorAllan K. Edwards <ake@apache.org>
Mon, 19 Jun 2000 17:38:06 +0000 (17:38 +0000)
committerAllan K. Edwards <ake@apache.org>
Mon, 19 Jun 2000 17:38:06 +0000 (17:38 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85615 13f79535-47bb-0310-9956-ffa450edef68

include/httpd.h
server/connection.c

index c476da6e3c1c607916d92f104630e83338a6768c..2a9b7e4d4477feb89bff842a46c7befbfc223694 100644 (file)
@@ -800,6 +800,8 @@ struct conn_rec {
     long id;                    /* ID of this connection; unique at any
                                  * point in time */
     void *conn_config;         /* Notes on *this* connection */
+    ap_table_t *notes;  /* send note from one module to another, must
+                         * remain valid for all requests on this conn */
 };
 
 /* Per-vhost config... */
index 984c18b60a0e02ad19de4a1f5299b5625eae964a..98235c1f00bd1706a40bbc30c4a9d187e2ef0425 100644 (file)
@@ -260,6 +260,7 @@ conn_rec *ap_new_connection(ap_pool_t *p, server_rec *server, BUFF *inout,
      */
 
     conn->conn_config=ap_create_conn_config(p);
+    conn->notes = ap_make_table(p, 5);
 
     conn->pool = p;
     conn->local_addr = *saddr;