From: Art Cancro Date: Fri, 3 Dec 1999 18:48:57 +0000 (+0000) Subject: * Removed some pseudocode X-Git-Tag: v7.86~7416 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=59a586153ea76233d8b15026eb1e5336f444e4b8;p=citadel.git * Removed some pseudocode --- diff --git a/webcit/README.txt b/webcit/README.txt index 077b10df0..b27b82905 100644 --- a/webcit/README.txt +++ b/webcit/README.txt @@ -1,5 +1,5 @@ WEBCIT for the Citadel/UX System - version 2.01 + version 2.10 Copyright (C) 1996-1999 by Art Cancro, Nathan Bryant, and Nick Grossman This program is free software released under the terms of the GNU General @@ -26,7 +26,9 @@ be attractive and easy to navigate. If you've installed WebCit v1.xx before, you'll be pleased to know that the new version doesn't require all that tedious mucking about with Apache configuration files and directories. WebCit now contains its own standalone -webserver, which you run on another port (port 2000 by default). +HTTP engine, which you run on another port (port 2000 by default). WebCit is +not intended to replace your regular webserver; it is merely a separate service +that happens to talk HTTP. To compile from source, enter the usual commands: ./configure diff --git a/webcit/context_loop.c b/webcit/context_loop.c index 1a18ef31f..fce94fb86 100644 --- a/webcit/context_loop.c +++ b/webcit/context_loop.c @@ -70,10 +70,10 @@ void do_housekeeping(void) BREAKOUT: pthread_mutex_unlock(&SessionListMutex); if (session_to_kill != NULL) { - lock the session - shut down the session - unlock the session - free the struct + pthread_mutex_lock(&session_to_kill->SessionMutex); + close(session_to_kill->serv_sock); + pthread_mutex_unlock(&session_to_kill->SessionMutex); + free(session_to_kill); } } while (session_to_kill != NULL); diff --git a/webcit/webcit.h b/webcit/webcit.h index 9adabfd1c..f54dbead9 100644 --- a/webcit/webcit.h +++ b/webcit/webcit.h @@ -3,10 +3,10 @@ #define SLEEPING 180 /* TCP connection timeout */ #define WEBCIT_TIMEOUT 900 /* WebCit session timeout */ #define PORT_NUM 2000 /* port number to listen on */ -#define SERVER "WebCit v2.50" /* who's in da house */ +#define SERVER "WebCit v2.10" /* who's in da house */ #define DEVELOPER_ID 0 #define CLIENT_ID 4 -#define CLIENT_VERSION 250 +#define CLIENT_VERSION 210 #define DEFAULT_HOST "localhost" #define DEFAULT_PORT "504" #define LB (1)