From 6f4bcbf02756cb9da52c805133c5a12fe89cbbb5 Mon Sep 17 00:00:00 2001 From: "Allan K. Edwards" Date: Mon, 19 Jun 2000 17:38:06 +0000 Subject: [PATCH] Add notes field to conn_rec git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85615 13f79535-47bb-0310-9956-ffa450edef68 --- include/httpd.h | 2 ++ server/connection.c | 1 + 2 files changed, 3 insertions(+) diff --git a/include/httpd.h b/include/httpd.h index c476da6e3c..2a9b7e4d44 100644 --- a/include/httpd.h +++ b/include/httpd.h @@ -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... */ diff --git a/server/connection.c b/server/connection.c index 984c18b60a..98235c1f00 100644 --- a/server/connection.c +++ b/server/connection.c @@ -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; -- 2.50.1