I'm working with Wheel::SocketFactory and Wheel::Run. When I have a client talking to my socket and it suddenly (perhaps due to user intervention) goes away, I still have a Wheel::Run process lingering around. It's trying to send data to the session that created it on STDIN and STDERR, but that seems to go away when the socket is killed on the remote end. I get:
>>>>> POE::Session=ARRAY(0x86f0958); POE::Kernel=ARRAY(0x841ce24); POE::Session=ARRAY(0x86fdd88) <<<<< Event: trapped error in `?? Kernel.pm:760': can't enqueue event(_signal) for no nexistent session(SCALAR(0x8349724))^G at /usr/local/lib/perl/5.6.1/Event.pm line 148 I get that a *lot* for a while, then it stops (when the child dies?). Is there some way I can get the child process to exit gracefully or signal it somehow? When the child goes away, my socket_error handler doesn't get triggered, so I'm not sure how to watch for it. I'm using TCP and the client agent talking to my POE SocketFactory is "wget". Thanks.
