Ticket #132 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

avahi_simple_poll_iterate does not check for new events when sleep_time is zero

Reported by: armin Owned by: lennart
Milestone: Avahi 0.6.18 Component: avahi-common
Keywords: Cc: armin@…

Description

The documentation states "If sleep_time is 0 the routine just checks if any event is pending." The code however does not even call the poll function in avahi_simple_poll_run when the prepared timeout is zero (which is for example always the case with a zero sleep time and no further timeouts).

Change History

Changed 5 years ago by lennart

  • status changed from new to assigned
  • milestone set to Avahi 0.6.18

Changed 5 years ago by lennart

  • status changed from assigned to closed
  • resolution set to fixed

(In [1425]) Remove an invalid optimization in avahi_simple_poll_run(). (Closes #132)

Note: See TracTickets for help on using tickets.