mirror of
https://github.com/curl/curl.git
synced 2026-04-15 07:31:41 +03:00
don't use 'strict' anymore, as it doesn't work good with the cygwin fixes
also, always kill/restart the HTTP server on startup if it is our test server
This commit is contained in:
parent
92abbcef4c
commit
8dd6a4e369
3 changed files with 33 additions and 23 deletions
|
|
@ -3,7 +3,7 @@ use Socket;
|
|||
use Carp;
|
||||
use FileHandle;
|
||||
|
||||
use strict;
|
||||
#use strict;
|
||||
|
||||
require "getpart.pm";
|
||||
|
||||
|
|
@ -119,7 +119,7 @@ for ( $waitedpid = 0;
|
|||
elsif($path =~ /verifiedserver/) {
|
||||
# this is a hard-coded query-string for the test script
|
||||
# to verify that this is the server actually running!
|
||||
print "HTTP/1.1 999 WE ROOLZ\r\n";
|
||||
print "HTTP/1.1 999 WE ROOLZ: $$\r\n";
|
||||
exit;
|
||||
}
|
||||
else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue