Avoid re-using sessions that are already bound to an executing thread. This will...
[citadel.git] / webcit / webcit.h
index 602bca5359400410f5daca076f0b72c6946d1583..c4891d3e10ac70e22223a36bf13c5508b7a92658 100644 (file)
@@ -479,6 +479,7 @@ struct wcsession {
        int ctdl_pid;                           /* Session ID on the Citadel server */
        int nonce;                              /* session nonce (to prevent session riding) */
        int SessionKey;
+       int inuse;                              /* set to nonzero if bound to a running thread */
 
 /* Session local Members */
        int serv_sock;                          /* Client socket to Citadel server */