Mailing List Archive

Bug fix on bsd machines.
Over the past two days we have been doing some collaborative bug hunting
with our friends over at livejournal.com. mod_backhand was eating
itself alive over there. After much deliberation and debugging, it
appears that a simple bug fix and some substantial improvements have
been made. Many thanks to Brad and Alan from LiveJournal.

backhand:
(1) It works :-)
(2) The filename of the child's unix domains sockets wasn't being null
terminated correctly under BSD (the length calculation was not done
correctly) -- this is fixed.
(3) The apache child could feasibly hang forever waiting for a file
descriptor from the moderator -- tight timeouts have been added. It is
currently 5 seconds and I see no good reason to make this configurable.
(4) The apache child could hang forever while proxying to the end
user -- this has been fixed by enforcing the default apache request
timeout on the proxying execution path.

misc:
(1) FreeBSD's truss lacks all of the useful options of Solaris' truss --
making it _almost_ useless. This was fixed by logging into a Solaris
machine and running truss on every process I could find. (NOTE: this,
of course, only fixed my mood).

If you run FreeBSD, you almost certainly want to check this copy out
from CVS. I hope to release 1.1.1 soon.

--
Theo Schlossnagle
1024D/A8EBCF8F/13BD 8C08 6BE2 629A 527E 2DC2 72C2 AD05 A8EB CF8F
2047R/33131B65/71 F7 95 64 49 76 5D BA 3D 90 B9 9F BE 27 24 E7