/* fallthrough
*/
case ENOTCONN:
- edg_wll_gss_close(&ctx->connPool[ctx->connToUse].gss, NULL);
- edg_wll_FreeContext(ctx);
- ctx = NULL;
free(errt); free(errd);
dprintf(("[%d] Connection closed\n", getpid()));
/*
/* fallthrough
*/
case ENOTCONN:
- edg_wll_gss_close(&ctx->connPool[ctx->connToUse].gss, NULL);
- edg_wll_FreeContext(ctx);
- ctx = NULL;
free(errt); free(errd);
dprintf(("[%d] Connection closed\n", getpid()));
/*
if ( ctx->connPool[ctx->connToUse].gss.context != GSS_C_NO_CONTEXT)
- {
- struct timeval to = { 0, CLNT_REJECT_TIMEOUT };
-
- edg_wll_gss_close(&ctx->connPool[ctx->connToUse].gss, &to);
- }
+ edg_wll_gss_close(&ctx->connPool[ctx->connToUse].gss, timeout);
edg_wll_FreeContext(ctx);
+ ctx = NULL;
return 0;
}