[Stgt-devel] Open connections
FUJITA Tomonori
fujita.tomonori
Wed Mar 19 03:24:23 CET 2008
On Wed, 19 Mar 2008 03:06:57 +0100 (CET)
"Niels de Carpentier" <stgt at decarpentier.com> wrote:
> >>
> >> The reconnect issue seems to be related to some commented out code in
> >> login_security_done:
> >>
> >> if (!req->tsih) {
> >> /* do session reinstatement */
> >> /* We need to close all connections in this
> >> session */
> >> /* session_conns_close(conn->tid, sid); */
> >> /* session = NULL; */
> >>
> >> If I uncomment the session = NULL, things will work ok. (Of course this
> >> doesn't handle any cleanups, but indicates where the problem is)
> >
> > Yeah, one of the problems is that tgt doesn't implement session
> > reinstatement properly.
> >
> > Can you try the following patch?
>
> The patch fixed the reconnect issue for me, and properly closes the old
> connection.
Great, thanks for testing.
> Just let me know if you need more info about the other issue. (I'll be on
> leave till Monday, but will be available again after that.)
What are the other issues?
More information about the stgt
mailing list