vhost should have his own options

Signed-off-by: Andy Green <andy@warmcat.com>
This commit is contained in:
Andy Green 2016-04-14 15:09:01 +08:00
parent ddd9bfaaac
commit cc3c6fb047
2 changed files with 2 additions and 0 deletions

View file

@ -227,6 +227,7 @@ lws_create_vhost(struct lws_context *context,
vh->count_protocols++)
;
vh->options = context->options;
vh->pvo = info->pvo;
vh->keepalive_timeout = info->keepalive_timeout;

View file

@ -670,6 +670,7 @@ struct lws_vhost {
int listen_port;
unsigned int http_proxy_port;
unsigned int options;
int count_protocols;
int ka_time;
int ka_probes;