Subject: CVS commit: pkgsrc/www/py-scgi
From: Adam Ciarcinski
Date: 2018-03-24 09:25:30
Message id: 20180324082530.77E8CFB40@cvs.NetBSD.org

Log Message:
py-scgi: updated to 1.15

1.15:
Improve comments.

Close unwanted file descriptors.

In scgi_server.py, spawn_child() is called at startup to start the
first child and also from delegate_request() when more children are
needed. In the latter case, the parameter 'conn' is passed to
spawn_child() so that the newly-created child knows to close the
file descriptor it has inherited but doesn't need.

The bug is that in the latter case the new child also inherits
various other file descriptors which are not similarly closed,
namely the Unix sockets to its elder siblings, and the TCP listener
socket.

Improve Apache 2 mod_scgi error messages.

If the connection is aborted while sending the response, log an
error but don't generate an internal server error. This can happen
if the client closes the connection before the entire response has
been read. There's nothing the server can do about it.

When an error occurs while reading the response headers, don't
log an error since ap_scan_script_header_err_brigade() has already
done so.

Files:
RevisionActionfile
1.14modifypkgsrc/www/py-scgi/Makefile
1.5modifypkgsrc/www/py-scgi/PLIST
1.4modifypkgsrc/www/py-scgi/distinfo
1.3removepkgsrc/www/py-scgi/Makefile.common