So guys, I played around with the source and fixed the issue.   The
failing code is within the $writer callback function, specifically the
reference to $out->push_write().  By means of the on_drain() callback,
this particular piece of code gets called as soon as the $out socket is
created - since the socket is considered empty on instantiation. 
Instead of adding the callback reference as an argument to the
constructor for $out, I associated the callback after $out is created. 
I'm not familiar with the process for getting bugfixes into the repo,
but I've attached my source change here and will sign up for Bugzilla
to make note of the error and fix.


+-------------------------------------------------------------------+
|Filename: HTTP.pm                                                  |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=12071|
+-------------------------------------------------------------------+

-- 
BreakTheStatic
------------------------------------------------------------------------
BreakTheStatic's Profile: http://forums.slimdevices.com/member.php?userid=42048
View this thread: http://forums.slimdevices.com/showthread.php?t=87343

_______________________________________________
beta mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/beta

Reply via email to