Commit Diff


commit - ed77be6862e23dbd16a470dbeed633200d4ece9c
commit + 9645c8399cddca84e38d227e3a1781683b54d7a0
blob - 5c7cbf390e7d1c58fbaf2f567a17268e42982935
blob + 3403e68d5d2bf5ace11786adbaf30f53f9655d7f
--- regress/cmdline/http-server
+++ regress/cmdline/http-server
@@ -165,7 +165,7 @@ while (1) {
 			warn "unknown method ". $req->method . "\n";
 			my $res = HTTP::Response->new(405,
 			    "Method not Allowed");
-
+			$client->send_response($res);
 			last;
 		}
 	}