--- fhttpd-file.cc.orig Sun Mar 29 15:21:16 1998 +++ fhttpd-file.cc Sun Mar 29 15:21:39 1998 @@ -689,6 +689,16 @@ if(server->infd<0) exit(1); } +if(server->infd==0&&server->outfd==1){ + int fd2; + close(2); + fd2=open("/dev/null",O_WRONLY); + if(fd2!=2){ + dup2(fd2,2); + close(fd2); + } + } + setcapabilities(server,APP_CAP_KEEPALIVE); readconfig(configfile);