| <?xml version="1.0" encoding="US-ASCII"?> |
| <testcase> |
| <info> |
| <keywords> |
| --ssl-sessions |
| </keywords> |
| </info> |
| |
| # Server-side |
| <reply> |
| <data crlf="headers"> |
| HTTP/1.1 200 |
| Date: Tue, 09 Nov 2030 14:49:00 GMT |
| Server: test-server/fake swsclose |
| Content-Type: text/html |
| |
| </data> |
| </reply> |
| |
| # Client-side |
| <client> |
| <server> |
| http |
| </server> |
| <features> |
| ssl-sessions |
| </features> |
| <name> |
| --ssl-sessions with weird sessions in file |
| </name> |
| <command> |
| http://%HOSTIP:%HTTPPORT/%TESTNUMBER --ssl-sessions "%LOGDIR/sessions" |
| </command> |
| <file name="%LOGDIR/sessions"> |
| # Your SSL session cache. https://curl.se/docs/ssl-sessions.html |
| # This file was generated by libcurl! Edit at your own risk. |
| %b64[this is a funny test]b64%:%b64[second sequence]b64% |
| %b64[also a funny test]b64%:%b64[second different sequence]b64% |
| bad base64:also!bad |
| </file> |
| </client> |
| |
| # Verify data after the test has been "shot" |
| <verify> |
| </verify> |
| </testcase> |