summaryrefslogtreecommitdiffstats
path: root/debian/htdig/htdig-3.2.0b6/test/htdocs/set3/nph-hang.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'debian/htdig/htdig-3.2.0b6/test/htdocs/set3/nph-hang.cgi')
-rwxr-xr-xdebian/htdig/htdig-3.2.0b6/test/htdocs/set3/nph-hang.cgi31
1 files changed, 31 insertions, 0 deletions
diff --git a/debian/htdig/htdig-3.2.0b6/test/htdocs/set3/nph-hang.cgi b/debian/htdig/htdig-3.2.0b6/test/htdocs/set3/nph-hang.cgi
new file mode 100755
index 00000000..142bfcf6
--- /dev/null
+++ b/debian/htdig/htdig-3.2.0b6/test/htdocs/set3/nph-hang.cgi
@@ -0,0 +1,31 @@
+#!/bin/sh
+
+if [ ! -z "$QUERY_STRING" ]
+then
+ echo 'HTTP/1.1 200 OK'
+ echo 'Connection: close'
+ echo 'Content-Type: text/html'
+ echo
+ cat <<!
+root::0:root
+other::1:
+bin::2:root,bin,daemon
+sys::3:root,bin,sys,adm
+adm::4:root,adm,daemon
+uucp::5:root,uucp
+mail::6:root
+tty::7:root,tty,adm
+lp::8:root,lp,adm
+nuucp::9:root,nuucp
+staff::10:
+daemon::12:root,daemon
+nobody::60001:
+noaccess::60002:
+users::100:
+basis::200:
+
+!
+fi
+
+sleep 200
+