Put the connextion and gss context in the request for later use.
authorMargaret Wasserman <margaret@moonshot-proxy.(none)>
Sun, 14 Apr 2013 13:35:57 +0000 (09:35 -0400)
committerMargaret Wasserman <margaret@moonshot-proxy.(none)>
Sun, 14 Apr 2013 13:35:57 +0000 (09:35 -0400)
tid/tids.c

index 202c62a..d3447cb 100644 (file)
@@ -208,6 +208,10 @@ static void tids_handle_connection (TIDS_INSTANCE *tids, int conn)
       continue;
     }
 
+    /* Put connection information into the request structure */
+    mreq->tid_req->conn = conn;
+    mreq->tid_req->gssctx = gssctx;
+
     /* Allocate a response structure and populate common fields */
     if ((NULL == (resp = calloc(sizeof(TID_RESP), 1)))) {
       fprintf(stderr, "Error allocating response structure.\n");