uld I send the patch so that it gets integrated with
Apache?
Regards,
Ken
--
MailChannels: Control Your Email
http://www.mailchannels.com
Ken Simpson, CEO
+1-604-729-1741
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional c
04 07:16:05 +0100
To: Ken Simpson <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Subject: Re: Unable to set sockets to non blocking on OpenBSD
User-Agent: Mutt/1.4.1i
On Thu, Aug 26, 2004 at 07:30:33PM -0700, Ken Simpson wrote:
> Unfortunately, in APR, Unix sockets are assumed to initially be
> I was thinking, would it be better to make it an APR::Socket method?
>
> $socket->poll($c->pool, 1_000_000, APR::POLLIN);
>
> looks more intuitive to me. Especially since you've hardcoded the fd type
> to be socket:
> fd.desc_type = APR_POLL_SOCKET;
That's a really good idea. I'll move it
Hi Everyone,
This patch adds a poll() method to APR::Socket that allows you to poll
a nonblocking APR socket -- similar to the select() call in Unix-land.
Synopsis:
use APR::Socket();
use Apache::Connection ();
use APR::Const -compile => qw(POLLIN);
my $timeout = 10_000_000; # microseconds
else {
> +last;
> + }
> +}
> +elsif ($rc == APR::TIMEUP) {
> +debug "timeout";
> +$socket->send("TIMEUP\n");
> +}
> +else {
> +die "poll error: $rc: " . APR::Error::strerror($rc);
> +}
> +}
> +
> +Apache::OK;
> +}
> +
> +1;
>
> --
> __
> Stas BekmanJAm_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
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
--
MailChannels: Imagine no more spam
--
http://www.mailchannels.com
MailChannels Corporation
Suite 1600, 1188 West Georgia St.
Vancouver, BC, Canada
Ken Simpson, CEO
+1-604-729-1741
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
own the problem. I haven't seen
that bug crop up yet. If I see it under other circumstances I'll be
sure to let you know.
TTUL
Ken
--
MailChannels: Imagine no more spam
--
http://www.mailchannels.com
MailChannels Corporation
Suite 1600, 1188 West Georgia St.
Vancouver
[EMAIL PROTECTED]>
> >Date: Mon, 30 Aug 2004 21:33:14 +0100
> >To: Ken Simpson <[EMAIL PROTECTED]>
> >Subject: Re: Unable to set sockets to non blocking on OpenBSD
> >User-Agent: Mutt/1.4.1i
> >
> >On Mon, Aug 30, 2004 at 11:20:30AM -0700, Ken Simpson wrot
The APR_0_9_4 branch contains the patch.
Where do I get the 2.0.51 release candidate tar?
TTUL
Ken
Stas Bekman [03/09/04 21:15 -0400]:
> Ken Simpson wrote:
> >>Is it in the upcoming 2.0.51? In which case we may need to subject tests
> >>to skip on OpenBSD &