Opened 4 years ago

Last modified 4 years ago

#52329 new defect

lighttpd @1.4.41_0+ssl mod_fastcgi connection was dropped after accept()

Reported by: jim.a.driscoll@… Owned by: ryandesign (Ryan Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: haspatch Cc:
Port: lighttpd


There's an intermittently reproducible race in lighttpd 1.4.41 which makes it think that the fastcgi socket has disconnected:

2016-09-22 17:28:32: (network_writev.c.88) writev failed: Socket is not connected 7 
2016-09-22 17:28:32: (mod_fastcgi.c.3075) connection was dropped after accept() (perhaps the fastcgi process died), write-offset: 0 socket: tcp: 

It's been patched upstream in 1.4.42, described in

This may be exacerbated by changes in macOS Sierra, as that's when the problem started. I've backported the patch and will attach it here.

Attachments (1)

lighttpd-1.4.41-writev-failed-backport.patch (2.4 KB) - added by jim.a.driscoll@… 4 years ago.
Port patch

Download all attachments as: .zip

Change History (2)

Changed 4 years ago by jim.a.driscoll@…

Port patch

comment:1 Changed 4 years ago by mf2k (Frank Schima)

Cc: ryandesign@… removed
Keywords: haspatch added; mod_scgi mod_proxy removed
Milestone: MacPorts 2.3.5
Owner: changed from macports-tickets@… to ryandesign@…

The Milestone field is for use by Macports team members only, please do not set it.

Note: See TracTickets for help on using tickets.