Re: [Varnish] #475: usleep() does not handle errors correctly (values > 1,000,000 aren’t allowed on NetBSD)

Varnish varnish-bugs at projects.linpro.no
Sun Mar 22 17:35:26 CET 2009


#475: usleep() does not handle errors correctly (values > 1,000,000 aren’t
allowed on NetBSD)
----------------------+-----------------------------------------------------
 Reporter:  michael   |        Owner:  phk                
     Type:  defect    |       Status:  closed             
 Priority:  high      |    Milestone:  Varnish 2.1 release
Component:  varnishd  |      Version:  trunk              
 Severity:  normal    |   Resolution:  fixed              
 Keywords:  NetBSD    |  
----------------------+-----------------------------------------------------
Changes (by phk):

  * status:  new => closed
  * resolution:  => fixed

Comment:

 (In [3979]) Use TIM_sleep() instead of usleep() where duration might be
 longer than
 the one second Open Group allows.

 Fixes #475

-- 
Ticket URL: <http://varnish.projects.linpro.no/ticket/475#comment:1>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator


More information about the varnish-bugs mailing list