diff options
author | Robert James Kaes <rjkaes@users.sourceforge.net> | 2002-04-11 20:27:51 +0000 |
---|---|---|
committer | Robert James Kaes <rjkaes@users.sourceforge.net> | 2002-04-11 20:27:51 +0000 |
commit | ce06f27a3518e62da072eb21da0847578c72d86d (patch) | |
tree | e44fa7717187a3f5a16175fdd04c6cd8d1dc1b45 /src/conns.c | |
parent | 52fa476b21e03e63f68461908a3e910370bf40ca (diff) |
Added the remote_content_length variable to store the number of bytes the
remote server is supposed to be transmiting to the client.
Diffstat (limited to 'src/conns.c')
-rw-r--r-- | src/conns.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/conns.c b/src/conns.c index 7bf86b2..683e34b 100644 --- a/src/conns.c +++ b/src/conns.c @@ -1,4 +1,4 @@ -/* $Id: conns.c,v 1.7 2002-04-07 21:32:01 rjkaes Exp $ +/* $Id: conns.c,v 1.8 2002-04-11 20:27:51 rjkaes Exp $ * * Create and free the connection structure. One day there could be * other connnection related tasks put here, but for now the header @@ -62,6 +62,8 @@ initialize_conn(int client_fd) connptr->protocol.major = connptr->protocol.minor = 0; + connptr->remote_content_length = -1; + update_stats(STAT_OPEN); return connptr; |