-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposition_test.ini
More file actions
executable file
·99 lines (68 loc) · 2.56 KB
/
Copy pathcomposition_test.ini
File metadata and controls
executable file
·99 lines (68 loc) · 2.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
################################################################################
# #
# COPYRIGHT: (c) 2026 Dipl.-Ing. Klaus Lux (Aachen, Germany) #
# #
################################################################################
# #
# sample configuration file for composition_parser tests. #
# #
################################################################################
_____________________________________
server {
host = localhost
port = 8080
tls {
enabled
certificate = "/etc/certs/server.pem"
ciphers {
#* comment block *#
accept { TLS_AES_128_CCM_8_SHA256 TLS_CHACHA20_POLY1305_SHA256 TLS_AES_128_GCM_SHA256 }
}
}
}
_____________________________________
# alternative configuration
[server]
host = localhost
port = 8080
tls = {
enabled
certificate = "/etc/certs/server.pem"
[ciphers]
#*
comment block
*#
accept = {
TLS_AES_128_CCM_8_SHA256
TLS_CHACHA20_POLY1305_SHA256
TLS_AES_128_GCM_SHA256
}
}
_____________________________________
# more INI like configuration
[server]
host = localhost
port = 8080
[server.tls]
enabled
certificate = "/etc/certs/server.pem"
[server.tls.ciphers.accept]
TLS_AES_128_CCM_8_SHA256
TLS_CHACHA20_POLY1305_SHA256
TLS_AES_128_GCM_SHA256
_____________________________________
[ Crazy server {} #* übertrieben häßlich Modus ein *# [\]{ (äöüß) }
;* ^ this is for tests of reading section names according to the standard only ;o) *;"" ]
tls = on\ or\ off
host = localhost
port = 8080
"Ärger über Konfigdateien gefällig?"
'Once upon a time there were XML, JSON, YAML, TOML and many other nice formats who had a lot of lovers'
'until that poor littly INI grew up and became an utterly charming beauty beyond compare...'
_____________________________________
[nameless blocks recognition test]
triangle_3D{{6 4 3}{4 5 7}{-1 17 2}}
_____________________________________
################################################################################
# E N D O F F I L E
################################################################################