mirror of https://github.com/yandex/odyssey.git
odissey: make listen host mandatory
This commit is contained in:
parent
50d3435eac
commit
9cc6411c04
|
@ -193,8 +193,10 @@ int od_scheme_validate(od_scheme_t *scheme, od_log_t *log)
|
|||
}
|
||||
|
||||
/* listen */
|
||||
if (scheme->host == NULL)
|
||||
scheme->host = "*";
|
||||
if (scheme->host == NULL) {
|
||||
od_error(log, "config", "listen host is not defined");
|
||||
return -1;
|
||||
}
|
||||
|
||||
/* tls */
|
||||
if (scheme->tls) {
|
||||
|
|
Loading…
Reference in New Issue