Wed Sep 21 10:50:28 2016koncept1 [...] gmail.com - Ticket created
Subject:
_get_socket doesn't check that it has a valid socket before trying to set options
Date:
Wed, 21 Sep 2016 10:50:13 -0400
To:
bug-Net-Stomp [...] rt.cpan.org
From:
Ben Magistro <koncept1 [...] gmail.com>
Currently 0.57 attempts to create a socket, if you are also setting
keepalive, it does not check that it has a valid object before trying to
call setsockopt.
This can be fixed by doing a check around like 165 where "if ($keepalive)"
if (defined($socket))) {
...current keepalive code
}
return...