$Log$
+Revision 602.10 2005/02/21 21:57:55 ajc
+* Various debugging type of everythingism to help chat mode to work.
+
Revision 602.9 2005/02/21 04:47:41 ajc
* When creating rooms:
* 1. Selecting a view other than "Bulletin Board" causes the room access
1998-12-03 Nathan Bryant <bryant@cs.usm.maine.edu>
* webserver.c: warning fix
+
/*
* Bind to the session and perform the transaction
*/
- lprintf(9, "LOCKING SESSION %d\n", TheSession->wc_session);
pthread_mutex_lock(&TheSession->SessionMutex); /* bind */
- lprintf(9, "LOCKKED SESSION %d\n", TheSession->wc_session);
pthread_setspecific(MyConKey, (void *)TheSession);
TheSession->http_sock = sock;
TheSession->lastreq = time(NULL); /* log */
session_loop(req); /* do transaction */
- lprintf(9, "UNLKING SESSION %d\n", TheSession->wc_session);
pthread_mutex_unlock(&TheSession->SessionMutex); /* unbind */
/* Free the request buffer */
char cl_text[SIZ];
char *output_data = NULL;
- lprintf(9, "chat_recv() called\n");
output_headers(0, 0, 0, 0, 0, 0, 0);
wprintf("Content-type: text/html\n");
} while ( (got_data) && (!end_chat_now) );
if (end_chat_now) {
- lprintf(9, "exiting chat\n");
close(WC->chat_sock);
WC->chat_sock = (-1);
wprintf("<IMG SRC=\"/static/blank.gif\" onLoad=\"parent.window.close();\">\n");
}
/* Output our fun to the other frame. */
- lprintf(9, "output to other frame\n");
wprintf("<IMG SRC=\"/static/blank.gif\" WIDTH=1 HEIGHT=1\n"
"onLoad=\" \n"
);
}
wprintf("parent.chat_transcript.scrollTo(999999,999999);\">\n");
- lprintf(9, "done fun\n");
}
free(output_data);
#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 v6.02" /* who's in da house */
+#define SERVER "WebCit v6.03" /* who's in da house */
#define DEVELOPER_ID 0
#define CLIENT_ID 4
-#define CLIENT_VERSION 602 /* This version of WebCit */
+#define CLIENT_VERSION 603 /* This version of WebCit */
#define MINIMUM_CIT_VERSION 640 /* min required Citadel vers */
#define DEFAULT_HOST "localhost" /* Default Citadel server */
#define DEFAULT_PORT "504"