Re: httpd/apache and 2.1.15-2.1.17

A.N.Kuznetsov (kuznet@ms2.inr.ac.ru)
Mon, 23 Dec 1996 23:40:46 +0300


In article <199612222031.NAA00240@morticia.PHYSICS.ColoState.EDU> you wrote:

: Since 2.1.15, both NCSA's httpd and apache do not work correctly.

Yes, NCSA httpd is broken by 2.1.15. I again forgot to test it :-(
Please, apply the patch:

--- ../v2.1.17+/linux/net/core/scm.c Tue Dec 10 20:57:56 1996
+++ linux/net/core/scm.c Mon Dec 23 21:45:14 1996
@@ -60,7 +60,7 @@
{
int num;
struct scm_fp_list *fpl = *fplp;
- struct file **fpp = &fpl->fp[fpl->count];
+ struct file **fpp;
int *fdp = (int*)cmsg->cmsg_data;
int i;

@@ -80,6 +80,7 @@
*fplp = fpl;
fpl->count = 0;
}
+ fpp = &fpl->fp[fpl->count];

if (fpl->count + num > SCM_MAX_FD)
return -EINVAL;

: HTTPd: message format errorHTTPd: message format error

apache cannot generate this error (at least 1.1.1).
Besides that, it works for me, so that more info needed.

Alexey Kuznetsov.