/
githubmirror
/
curl
Обзор
Документация
Войти
/
githubmirror
/
curl
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
tests/data/test1587
51 строка
690 B
Daniel Stenberg
getinfo: repair CURLINFO_TLS_SESSION
11 апр 2026, 17:56
Не верифицирован
11 апр 2026, 17:56
3e40ccb
Код
Авторство
О чём код?
<?xml version="1.0" encoding="US-ASCII"?> <testcase> <info> <keywords> HTTPS CURLINFO_TLS_SESSION </keywords> </info> # Server-side <reply> <data crlf="headers" nocheck="yes"> HTTP/1.1 401 OK Date: Tue, 09 Nov 2030 14:49:00 GMT Server: test-server/fake Content-Length: 7 WWW-Authenticate: curl2000 nomnom </data> </reply> # Client-side <client> <features> SSL OpenSSL </features> <server> http https </server> <name> CURLINFO_TLS_SESSION and CURLINFO_TLS_SSL_PTR with OpenSSL </name> <tool> lib%TESTNUMBER </tool> <command> https://%HOSTIP:%HTTPSPORT/ </command> </client> <verify> <stdout mode="text"> CURLINFO_TLS_SESSION: OK CURLINFO_TLS_SSL_PTR: OK </stdout> </verify> </testcase>