Jie Gao wrote: [...]
If you've moved to Apache 2.0.49, it now gives you a non-blocking socket. So all protocol handlers now must start with:
use APR::Const -compile => 'SO_NONBLOCK'; $sock->opt_set(APR::SO_NONBLOCK => 0);
Is this supported?
$socket->opt_set(APR::SO_KEEPALIVE, 1);
I haven't tried, but if it's a valid option, why not? Have you tried doing that and it didn't work? Though I won't advise on doing that for HTTP stuff. I guess it's OK for your own protocols.
-- __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
-- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html