[Bug 282137] devel/apr1: proxy_fcgi:error after updating to 1.7.5
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 282137] devel/apr1: proxy_fcgi:error after updating to 1.7.5"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 15 Nov 2024 22:47:04 UTC
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.