 -
 -  #endif
 -
--}
--
+ }
+ 
 -
 -
  void proccgi(struct connstruct *cn, int has_pathinfo) {

+    removeconnection(cn);
+    return;
+  }
 
+  _dup2(tmp_stdout, _fileno(stdout));
+  close(tmp_stdout);
+  cn->filedesc = tpipe[0];

+void initlists(void);
diff -Naur awhttpd/cgi.c axTLS/httpd/awhttpd/cgi.c
--- awhttpd/cgi.c	2005-06-04 14:09:52.000000000 +1000
+++ axTLS/httpd/awhttpd/cgi.c	2006-08-12 19:17:29.171875000 +1000
@@ -7,93 +7,46 @@
 */
 
