On Wed, 26 May 2004, Stas Bekman wrote:
> Date: Wed, 26 May 2004 19:08:40 -0700
> From: Stas Bekman <[EMAIL PROTECTED]>
> To: Jie Gao <[EMAIL PROTECTED]>
> Cc: [EMAIL PROTECTED]
> Subject: Re: [mp2] 1.99_14: socket problem
>
> 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.
That's what I am doing. It's just that the doco did not specify any valid
values but "xxxx'.
BTW, I am getting this in the log:
Undefined subroutine &Apache::Connection::AUTOLOAD called.\n,
It seems that some mod_perl module is trying to do autoload a sub that
does not exist.
Regards,
Jie
--
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