mirror of
https://github.com/cesanta/mongoose.git
synced 2025-08-06 13:37:34 +08:00
import
This commit is contained in:
parent
3cd16d7266
commit
d44f4e4abb
16
test/timeout.cgi
Executable file
16
test/timeout.cgi
Executable file
@ -0,0 +1,16 @@
|
||||
#!/usr/bin/env perl
|
||||
|
||||
use Cwd;
|
||||
use CGI;
|
||||
|
||||
use vars '%in';
|
||||
CGI::ReadParse();
|
||||
|
||||
print "Content-Type: text/html\r\n\r\n";
|
||||
|
||||
# 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 "Some data";
|
||||
flush STDOUT;
|
||||
sleep 5;
|
Loading…
Reference in New Issue
Block a user