Commit 7ac455fc authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

When trying to see if there's a friendly http server on "our" port, we

only accept return code 7 to indicate that there's no server present.
parent e295cd75
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -338,7 +338,7 @@ sub runhttpserver {
    if ( $data =~ /WE ROOLZ: (\d+)/ ) {
        $pid = 0+$1;
    }
    elsif($data) {
    elsif($data || ($res != 7)) {
        print "RUN: Unknown HTTP server is running on port $HOSTPORT\n";
        return -2;
    }