summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/conns.c4
-rw-r--r--src/conns.h6
2 files changed, 8 insertions, 2 deletions
diff --git a/src/conns.c b/src/conns.c
index daf5ad3..8c0767a 100644
--- a/src/conns.c
+++ b/src/conns.c
@@ -1,4 +1,4 @@
-/* $Id: conns.c,v 1.3 2001-10-25 16:58:09 rjkaes Exp $
+/* $Id: conns.c,v 1.4 2001-11-21 01:00:08 rjkaes Exp $
*
* Create and free the connection structure. One day there could be
* other connnection related tasks put here, but for now the header
@@ -37,6 +37,8 @@ void initialize_conn(struct conn_s *connptr)
connptr->ssl = FALSE;
connptr->upstream = FALSE;
+ connptr->protocol.major = connptr->protocol.minor = 0;
+
update_stats(STAT_OPEN);
}
diff --git a/src/conns.h b/src/conns.h
index 123a075..3b9a7d8 100644
--- a/src/conns.h
+++ b/src/conns.h
@@ -1,4 +1,4 @@
-/* $Id: conns.h,v 1.3 2001-10-25 16:58:09 rjkaes Exp $
+/* $Id: conns.h,v 1.4 2001-11-21 01:00:09 rjkaes Exp $
*
* See 'conns.c' for a detailed description.
*
@@ -30,6 +30,10 @@ struct conn_s {
bool_t ssl;
bool_t upstream;
bool_t send_message;
+ struct {
+ unsigned short int major;
+ unsigned short int minor;
+ } protocol;
};
/*