Skip Menu |

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

Report information
The Basics
Id: 118018
Status: new
Priority: 0/
Queue: Net-Stomp

People
Owner: Nobody in particular
Requestors: koncept1 [...] gmail.com
Cc:
AdminCc:

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



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...