mirror of
https://github.com/openssl/openssl.git
synced 2024-12-15 06:01:37 +08:00
733094ec6b
We have reports that some are using example.com in their /etc/hosts for testing purposes, so we can't necessarily assume that those will fail. We fix it by using "random" hosts in that domain. Fixes #15395 Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15398)
4.1 KiB
4.1 KiB
1 | expected | description | -section | val | -server | val | -proxy | val | -no_proxy | val | -tls_used | noarg | -path | val | -msg_timeout | int | -total_timeout | int | -keep_alive | val |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2 | Message transfer options: | |||||||||||||||||||
3 | ||||||||||||||||||||
4 | 1 | default config | -section | BLANK | BLANK | BLANK | BLANK | |||||||||||||
5 | TBD | Domain name | -section | -server | _SERVER_CN:_SERVER_PORT | |||||||||||||||
6 | TBD | IP address | -section | -server | _SERVER_IP:_SERVER_PORT | |||||||||||||||
7 | ||||||||||||||||||||
8 | 0 | wrong server | -section | -server | xn--rksmrgs-5wao1o.example.com:_SERVER_PORT | BLANK | -msg_timeout | 1 | BLANK | BLANK | ||||||||||
9 | 0 | wrong server port | -section | -server | _SERVER_HOST:99 | BLANK | -msg_timeout | 1 | BLANK | BLANK | ||||||||||
10 | 0 | server default port | -section | -server | _SERVER_HOST | BLANK | -msg_timeout | 1 | BLANK | BLANK | ||||||||||
11 | 0 | server port out of range | -section | -server | _SERVER_HOST:65536 | BLANK | BLANK | BLANK | BLANK | |||||||||||
12 | 0 | server port negative | -section | -server | _SERVER_HOST:-10 | BLANK | BLANK | BLANK | BLANK | |||||||||||
13 | 0 | server missing argument | -section | -server | BLANK | BLANK | BLANK | BLANK | ||||||||||||
14 | 0 | server with default port | -section | -server | _SERVER_HOST | BLANK | BLANK | BLANK | BLANK | |||||||||||
15 | 0 | server port bad syntax: leading garbage | -section | -server | _SERVER_HOST:x/+80 | BLANK | BLANK | BLANK | BLANK | |||||||||||
16 | 0 | server port bad synatx: trailing garbage | -section | -server | _SERVER_HOST:_SERVER_PORT+/x. | BLANK | BLANK | BLANK | BLANK | |||||||||||
17 | 0 | server with wrong port | -section | -server | _SERVER_HOST:999 | BLANK | -msg_timeout | 1 | BLANK | BLANK | ||||||||||
18 | TBD | server IP address with TLS port | -section | -server | _SERVER_IP:_SERVER_TLS | BLANK | BLANK | BLANK | BLANK | |||||||||||
19 | ||||||||||||||||||||
20 | 0 | proxy port bad syntax: leading garbage | -section | -server | _SERVER_HOST:_SERVER_PORT | -proxy | 127.0.0.1:x*/8888 | -no_proxy | nonmatch.com | BLANK | -msg_timeout | 1 | BLANK | BLANK | ||||||
21 | 0 | proxy port out of range | -section | -server | _SERVER_HOST:_SERVER_PORT | -proxy | 127.0.0.1:65536 | -no_proxy | nonmatch.com | BLANK | -msg_timeout | 1 | BLANK | BLANK | ||||||
22 | 0 | proxy default port | -section | -server | _SERVER_HOST:_SERVER_PORT | -proxy | 127.0.0.1 | -no_proxy | nonmatch.com | BLANK | -msg_timeout | 1 | BLANK | BLANK | ||||||
23 | 0 | proxy missing argument | -section | -server | _SERVER_HOST:_SERVER_PORT | -proxy | -no_proxy | nonmatch.com | BLANK | BLANK | BLANK | BLANK | ||||||||
24 | ||||||||||||||||||||
25 | 1 | path explicit | -section | -server | _SERVER_HOST:_SERVER_PORT | BLANK | -path | _SERVER_PATH | BLANK | BLANK | BLANK | |||||||||
26 | 1 | path overrides -server path | -section | -server | _SERVER_HOST:_SERVER_PORT/ignored | BLANK | -path | _SERVER_PATH | BLANK | BLANK | BLANK | |||||||||
27 | 1 | path default -server path | -section | -server | _SERVER_HOST:_SERVER_PORT/_SERVER_PATH | BLANK | -path | " | BLANK | BLANK | BLANK | |||||||||
28 | 0 | path missing argument | -section | BLANK | -path | BLANK | BLANK | BLANK | ||||||||||||
29 | 0 | path wrong | -section | BLANK | -path | /publicweb/cmp/example | BLANK | BLANK | BLANK | |||||||||||
30 | 1 | path with additional '/'s fine according to RFC 3986 | -section | BLANK | -path | /_SERVER_PATH//// | BLANK | BLANK | BLANK | |||||||||||
31 | 0 | path mixed case | -section | BLANK | -path | pKiX/ | BLANK | BLANK | BLANK | |||||||||||
32 | 0 | path upper case | -section | BLANK | -path | PKIX/ | BLANK | BLANK | BLANK | |||||||||||
33 | ||||||||||||||||||||
34 | 0 | msg_timeout missing argument | -section | BLANK | -msg_timeout | BLANK | BLANK | |||||||||||||
35 | 0 | msg_timeout negative | -section | BLANK | -msg_timeout | -5 | BLANK | BLANK | ||||||||||||
36 | 1 | msg_timeout 5 | -section | BLANK | -msg_timeout | 5 | BLANK | BLANK | ||||||||||||
37 | 1 | msg_timeout 0 | -section | BLANK | -msg_timeout | 0 | BLANK | BLANK | ||||||||||||
38 | ||||||||||||||||||||
39 | 0 | total_timeout missing argument | -section | BLANK | BLANK | -total_timeout | BLANK | |||||||||||||
40 | 0 | total_timeout negative | -section | BLANK | BLANK | -total_timeout | -5 | BLANK | ||||||||||||
41 | 1 | total_timeout 10 | -section | BLANK | BLANK | -total_timeout | 10 | BLANK | ||||||||||||
42 | 1 | total_timeout 0 | -section | BLANK | BLANK | -total_timeout | 0 | BLANK | ||||||||||||
43 | ||||||||||||||||||||
44 | 0 | keep_alive missing argument | -section | BLANK | BLANK | BLANK | -keep_alive | |||||||||||||
45 | 0 | keep_alive negative | -section | BLANK | BLANK | BLANK | -keep_alive | -1 | ||||||||||||
46 | 1 | keep_alive 0 | -section | BLANK | BLANK | BLANK | -keep_alive | 0 | ||||||||||||
47 | 1 | keep_alive 1 | -section | BLANK | BLANK | BLANK | -keep_alive | 1 | ||||||||||||
48 | 1 | keep_alive 2 | -section | BLANK | BLANK | BLANK | -keep_alive | 2 | ||||||||||||
49 | 0 | keep_alive 3 | -section | BLANK | BLANK | BLANK | -keep_alive | 3 |