downgrade SNI matching logs from error to info to reduce log verboseness (Fix #520)

This commit is contained in:
Yves Rutschle committed 2026-02-08 09:50:45 +01:00
1 parent e5d7cd0575
commit ecc76071c1
2 files changed
+5 -1

No files matched your search

+4
View File
@@ -8,6 +8,10 @@ vNEXT:
proxying can work. Removed sslh-select systemd file:
don't repeat the same configuration file!
Changed SNI matching log messages from
`msg_probe_error` to `msg_probe_info`: beware if you
happen to use them...
v2.3.0:
Added `max_connections` setting to `listen` and
`protocol` configuration; see the
+1 -1
View File
@@ -277,7 +277,7 @@ has_match(const char** list, size_t list_len, const char* name, size_t name_len)
for (i = 0; i < list_len; i++) {
item = &list[i];
print_message(msg_probe_error, "matching [%.*s] with [%s]\n", (int)name_len, name, *item);
print_message(msg_probe_info, "matching [%.*s] with [%s]\n", (int)name_len, name, *item);
if(!fnmatch(*item, name_nullterminated, 0)) {
free(name_nullterminated);
return 1;