File tree 1 file changed +7
-1
lines changed
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 87
87
listen 127.0.0.1:8445 ssl;
88
88
server_name localhost;
89
89
90
- ssl_ocsp_responder http://127.0.0.1:8082 ;
90
+ ssl_ocsp_responder http://127.0.0.1:8083/test ;
91
91
}
92
92
93
93
server {
@@ -266,10 +266,12 @@ foreach my $name ('rsa') {
266
266
267
267
$t -> run_daemon(\&http_daemon, $t , port(8081));
268
268
$t -> run_daemon(\&http_daemon, $t , port(8082));
269
+ $t -> run_daemon(\&http_daemon, $t , port(8083));
269
270
$t -> run()-> plan(15);
270
271
271
272
$t -> waitforsocket(" 127.0.0.1:" . port(8081));
272
273
$t -> waitforsocket(" 127.0.0.1:" . port(8082));
274
+ $t -> waitforsocket(" 127.0.0.1:" . port(8083));
273
275
274
276
# ##############################################################################
275
277
@@ -474,6 +476,10 @@ sub http_daemon {
474
476
$uri = $1 if $headers =~ / ^\S +\s +\/ ([^ ]+)\s +HTTP/i ;
475
477
next unless $uri ;
476
478
479
+ if ($port == port(8083)) {
480
+ next unless $uri =~ s / ^test\/ // ;
481
+ }
482
+
477
483
$uri =~ s / %([0-9A-Fa-f]{2})/ chr(hex($1 ))/ eg ;
478
484
my $req = decode_base64($uri );
479
485
You can’t perform that action at this time.
0 commit comments