Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id: 28453
Status: open
Priority: 3/
Queue: Net-XMPP

People
Owner: dapatrick [...] cpan.org
Requestors: groditi [...] gmail.com
Cc:
AdminCc:

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



Subject: Possible race condition on Send followed by Disconnect
From Net::Jabber, when sending a message, where the ->Send call is directly followed by a ->Disconnect call the message is not delivered. if however I add any kind of statement in between them it works. #this breaks $con->Send($msg); $con->Disconnect; #this too $con->Send($msg) || 1; $con->Disconnect; #works $con->Send($msg) or 1; $con->Disconnect; #works $con->Send($msg); sleep(1); $con->Disconnect; feel free to email me requesting more info. I am trying to put together a test case, but I am usually on irc.perl.org as groditi