[Varnish] #482: Polling broken on Solaris?

Varnish varnish-bugs at projects.linpro.no
Wed Jul 29 14:43:34 CEST 2009


#482: Polling broken on Solaris?
----------------------+-----------------------------------------------------
 Reporter:  whocares  |        Owner:  sky   
     Type:  defect    |       Status:  closed
 Priority:  normal    |    Milestone:        
Component:  varnishd  |      Version:  trunk 
 Severity:  normal    |   Resolution:  fixed 
 Keywords:            |  
----------------------+-----------------------------------------------------
Changes (by sky):

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

Comment:

 (In [4161]) On Solaris we occasionally get EBADF when we use the ioctl
 to toggle blocking. This then results in the connects failing.

 The way Solaris seems to want it to be done is using fcntl
 over two syscalls. So make it so conditionally for Solaris.

 Should fix #482 and #535

 Compiled on Solaris and Victori tested a prelminary version
 of the patch that solved it. Sadly test cases don't
 seem to run at all on my solaris dev zone.

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


More information about the varnish-bugs mailing list