Skip Menu |

This queue is for tickets about the Net-Appliance-Session CPAN distribution.

Report information
The Basics
Id: 100325
Status: resolved
Priority: 0/
Queue: Net-Appliance-Session

People
Owner: Nobody in particular
Requestors: ssb [...] umn.edu
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: How to force disconnect (after failed login perhaps)
Date: Thu, 13 Nov 2014 17:09:37 -0600
To: bug-Net-Appliance-Session [...] rt.cpan.org
From: Scott Bertilson <ssb [...] umn.edu>
I am having a problem when an incorrect password is entered in that an eval that begins with a session->connect exits as a result of the die "login failed to remote host - prompt does not match", but then the process hangs when I issue a session->close because NAP sends "exit" which isn't a correct response to the "Username" prompt. Is there anything more elegant to do other than just trashing the session variable to drop the session? Thanks, Scott
Sorry, nothing that I can think of off the top of my head (and sorry this is a late reply). On Thu Nov 13 18:09:57 2014, ssb@umn.edu wrote: Show quoted text
> I am having a problem when an incorrect password is entered in that an eval > that begins with a session->connect exits as a result of the die "login > failed to remote host - prompt does not match", but then the process hangs > when I issue a session->close because NAP sends "exit" which isn't a > correct response to the "Username" prompt. > > Is there anything more elegant to do other than just trashing the session > variable to drop the session? > > Thanks, Scott
-- regards, oliver.