comparison ssl_stapling.t @ 1636:2d371452658c

Tests: fixed serving binary OCSP responses on win32.
author Sergey Kandaurov <pluknet@nginx.com>
date Thu, 24 Dec 2020 19:17:05 +0300
parents dbce8fb5f5f8
children af47a0b348a5
comparison
equal deleted inserted replaced
1635:7b80c8e0479a 1636:2d371452658c
397 Connection: close 397 Connection: close
398 Content-Type: application/ocsp-response 398 Content-Type: application/ocsp-response
399 399
400 EOF 400 EOF
401 401
402 print $client $headers . $t->read_file("$resp.der"); 402 local $/;
403 open my $fh, '<', "$d/$resp.der"
404 or die "Can't open $resp.der: $!";
405 binmode $fh;
406 my $content = <$fh>;
407 close $fh;
408
409 print $client $headers . $content;
403 } 410 }
404 } 411 }
405 412
406 ############################################################################### 413 ###############################################################################