This queue is for tickets about the SOAP-Transport-TCP CPAN distribution.

Report information
The Basics
Id:
60453
Status:
resolved
Priority:
Low/Low

People
Owner:
Nobody in particular
Requestors:
david [...] fakenet.eu
Cc:
AdminCc:

BugTracker
Severity:
(no value)
Broken in:
  • 0.714
  • 0.715
Fixed in:
(no value)



Subject: SOAP::Transport::TCP in use with IO::Socket::SSL exits process when TLS authentication fail
Date: Wed, 18 Aug 2010 09:36:50 +0200
To: <bug-SOAP-Lite@rt.cpan.org>
From: David Zurborg <david@fakenet.eu>
If SOAP::Transport::TCP uses SSL, TLS authentication can be used. The server can verify a client certificate. But when this verification fails, the whole server process exits with exit code 255: "Can't call method "read" on an undefined value at /usr/share/perl5/SOAP/Transport/TCP.pm line 210." Reason: In SOAP/Transport/TCP.pm the sub handle() gets a list of ready Sockets. If TLS authentication is mandatory and fails, the socket will be closed by IO::Socket::SSL, but then SOAP::Transport::TCP still tries to read (on a undefined value) A workaround is, to check for defined values by using grep: line 207: for my $session (grep { defined } @ready) Now the server don't exit when TLS authentication fails. greetings from Oldenburg, Germany /David
Hi David, sorry for the late reply. SOAP::Transport::TCP is one of the modules I'd like to remove from the SOAP::Lite distribution, and put it into it's own (add-on) distro. Would you want to take over maintainership for a SOAP-Transport-TCP distro? Best regards, Martin
Hi, I moved the report to the (now separate) SOAP-Transport-TCP distro. As SOAP-Transport-TCP is now unmaintained, there's little hope someone aside from you will take care of this error. Best regards, Martin
Resolved in 0.717.


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.