* Removed some pseudocode
authorArt Cancro <ajc@citadel.org>
Fri, 3 Dec 1999 18:48:57 +0000 (18:48 +0000)
committerArt Cancro <ajc@citadel.org>
Fri, 3 Dec 1999 18:48:57 +0000 (18:48 +0000)
webcit/README.txt
webcit/context_loop.c
webcit/webcit.h

index 077b10df0012bd57de601aa52a7bdeaf30acf42d..b27b8290597d05c38de065247e6b53f744f09836 100644 (file)
@@ -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
index 1a18ef31f13c3b99d7116ba552f169ea6068c87b..fce94fb86c928463a84e5408474e5b98f2943f03 100644 (file)
@@ -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);
index 9adabfd1c8211834109ac9f9911c434984e8f0d5..f54dbead90df0188e37ff5a348a02e99e51f1298 100644 (file)
@@ -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)