DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=37586>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=37586 [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- OS/Version|other |All Priority|P2 |P1 Platform|PC |All ------- Additional Comments From [EMAIL PROTECTED] 2005-11-22 11:18 ------- Email received on the apr-dev mail list Seems this bug has known about for over a year! Changing to P1 in the hope that someone fixes it! --//-- >From "Dror Shilo" <[EMAIL PROTECTED]> Subject RE: bug in poll.c of apr 0.9.4 Date Mon, 23 Aug 2004 15:26:42 GMT I use apr-0.9.4 if you don't have the poll function this makes apr to implement apr_pollset_poll with a select call ( this how it is done in windows) apr_status_t apr_pollset_poll (apr_pollset_t *pollset, apr_interval_time_t timeout, apr_int32_t *num, const apr_pollfd_t **descriptors) the num parameter have to return the length of descriptors with the Unix poll function this done correct, but the select call returns the total number of socket handles that are ready and contained in the fd_set structures therefore if we have 2 socket that one have an FD_READ and the second have FD_READ and FD_WRITE it will return 3 , but the lenght of descriptors is only 2 , this is a bug there for the fix for this bug is to add this line at file poll.c line 622 (*num) = j; Dror Shilo Ericom software -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
