manual merge of fastcgi.c