comparison proxy_ssl.t @ 437:8b4a6b8691eb

Tests: set ssl_session_cache. This fixes session reuse tests with older OpenSSL, which does not support session tickets.
author Sergey Kandaurov <pluknet@nginx.com>
date Fri, 18 Jul 2014 13:13:46 +0400
parents a7d04159e52b
children 984bfe661cce
comparison
equal deleted inserted replaced
436:4984dac109db 437:8b4a6b8691eb
37 server { 37 server {
38 listen 127.0.0.1:8081 ssl; 38 listen 127.0.0.1:8081 ssl;
39 39
40 ssl_certificate_key localhost.key; 40 ssl_certificate_key localhost.key;
41 ssl_certificate localhost.crt; 41 ssl_certificate localhost.crt;
42 ssl_session_cache builtin;
42 43
43 location / { 44 location / {
44 add_header X-Session $ssl_session_reused; 45 add_header X-Session $ssl_session_reused;
45 } 46 }
46 } 47 }