Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Nov 2024 22:47:04 +0000
From:      bugzilla-noreply@freebsd.org
To:        apache@FreeBSD.org
Subject:   [Bug 282137] devel/apr1: proxy_fcgi:error after updating to 1.7.5
Message-ID:  <bug-282137-16115-OOGTG6420P@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-282137-16115@https.bugs.freebsd.org/bugzilla/>
References:  <bug-282137-16115@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282137

--- Comment #6 from Jung-uk Kim <jkim@FreeBSD.org> ---
Created attachment 255205
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=255205&action=edit
Fix poll(2) usage

To my surprise, this patch was enough to fix the problem for me.

It seems APR follows Linux poll() behavior, i.e., if timeout is negative, it is
infinite.  We do not allow any negative timeout other than INFTIM(-1).  It
seems POSIX does not define this.

https://man7.org/linux/man-pages/man2/poll.2.html
https://pubs.opengroup.org/onlinepubs/009696799/functions/poll.html

-- 
You are receiving this mail because:
You are the assignee for the bug.


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-282137-16115-OOGTG6420P>