mirror of
https://github.com/yrutschle/sslh.git
synced 2026-10-22 18:12:10 +03:00
downgrade SNI matching logs from error to info to reduce log verboseness (Fix #520)
This commit is contained in:
1 parent
e5d7cd0575
commit
ecc76071c1
2 files changed
+5
-1
No files matched your search
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user