Import civetweb ans jsoncpp
This commit is contained in:
12
3P/civetweb/test/timeout.cgi
Executable file
12
3P/civetweb/test/timeout.cgi
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env perl
|
||||
|
||||
# Make stdout unbuffered
|
||||
use FileHandle;
|
||||
STDOUT->autoflush(1);
|
||||
|
||||
# This script outputs some content, then sleeps for 5 seconds, then exits.
|
||||
# Web server should return the content immediately after it is sent,
|
||||
# not waiting until the script exits.
|
||||
print "Content-Type: text/html\r\n\r\n";
|
||||
print "Some data";
|
||||
sleep 3;
|
||||
Reference in New Issue
Block a user