]> granicus.if.org Git - apache/commit
Fix a couple of bugs in mod_cgid:
authorJeff Trawick <trawick@apache.org>
Tue, 6 Jun 2000 22:22:52 +0000 (22:22 +0000)
committerJeff Trawick <trawick@apache.org>
Tue, 6 Jun 2000 22:22:52 +0000 (22:22 +0000)
commit115d32c36119e048c16f23d81bfbc0be75c2f95d
tree3e37831075a3bcf4f54e3af186390a64defb07bf
parent1b501acd8bcaff189c53ac14869b79aa553db100
Fix a couple of bugs in mod_cgid:

The cgi arguments were sometimes mangled because no terminating '\0' was
added to the arg string passed to the cgi daemon.

The len parm to accept() was not initialized, leading sometimes to an
endless loop of failed accept() calls on OS/390 and anywhere else that
failed the call if the len was negative.

Tweaks: Add some traces for failed socket calls at cgi daemon setup time
(most of which I hit while playing around).

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85452 13f79535-47bb-0310-9956-ffa450edef68
modules/generators/mod_cgid.c