Re: POE::Session major bug.

2011-04-18 Thread flw
nice job! Thank Rocco Caputo for your speediness! And I also thank Nick for your suggestion. 2011/4/15 Rocco Caputo > Thanks, flw and Nick. > https://github.com/rcaputo/poe/commit/d65590f5c0c065d49a342e94e48b8167f4f5c633should > resolve it. > > That change will defer GC until

POE::Session major bug.

2011-04-07 Thread flw
Sorry for my poor english, let me show it just by code. flw@waker:~/study$ perl -MPOE -le 'print "$POE::VERSION $POE::Kernel::VERSION $POE::Session::VERSION"' 1.299 1.299 1.299 flw@waker:~/study$ ./bug.pl start call bar inner bar call bar inner bar found bug. ca

Re: patch for PoCo::IKC::ClientLite.pm

2009-10-21 Thread flw
repost to whole mail list. 2009/10/22 flw > Sorry for my english. I am happy to use code instead of English to > illustrate the problem. > > Please note that my patch contains 2 lines of change: > delete the line 139 of ClientLite.pm.orig, (maybe you have overlooked this > li

Re: TCP keepalive?

2009-10-21 Thread flw
new POE::Component::Client::TCP( . . Connected => { my ($socket, $peer_addr, $peer_port) = @_[ARG0, ARG1, ARG2]; setsockopt( $socket, SOL_SOCKET, SO_KEEPALIVE, 1 ); } . ); 2009/10/21 Adams Sean > > never mind, this was easy to enable globally by modify

Re: patch for PoCo::IKC::ClientLite.pm

2009-10-14 Thread flw
Even if there is no defined $@, it also need to alarm(0). 2009/10/15 Philip Gwyn > > Thank you for the patch. > > I do have a question though : could the alarm(0) be moved into the if($@) { > block? Would this be cleaner? > > > > On 14-Oct-2009 flw wrote: > &

patch for PoCo::IKC::ClientLite.pm

2009-10-13 Thread flw
When it working with a server which used Non-IKC protocol, alarm( $self->{connect_timeout} ) will break user process via SIGALRM(default behaviour) Following patch is based on: $Id: ClientLite.pm 495 2009-05-08 19:46:42Z fil $ --- ClientLite.pm.orig 2009-10-14 11:35:38.0 +0800 +++ Clien

Re: POE-Tk memory leak?

2009-03-07 Thread flw
My problem has been resolved! upgrade Tk804.027 to Tk804.028 will lead the example to works fine. Thank Jürgen Schöneberg! 2009/3/7 flw : > Thanks for your reply and sorry for my omission, > My Perl runtime are: > > Windows XP SP3 > ActivePerl 5.8.8 buid 817 > POE 1.286 >

POE-Tk memory leak?

2009-03-06 Thread flw
Hello all, I have a trouble about Tk interfaces in POE. http://poe.perl.org/?POE_Cookbook/Tk_Interfaces When I run above POE-Tk example on my person computer, there has been a rapid increase in the memory usage of perl.exe process. More than 300MB memory leaked in two minutes, it's so shocking fo

How to write a new wheel?

2007-03-19 Thread flw
Because the POE::Wheel::ReadLine module can't work on Win32 platform. So I want to write a new wheel like POE::Wheel::ReadLine to support Win32 platform. Any document or hint are welcome.