client: protect againt losing ah by lws_client_connect_2
This commit is contained in:
parent
c541e2d7e3
commit
2926553c41
1 changed files with 6 additions and 0 deletions
|
@ -18,6 +18,12 @@ lws_client_connect_2(struct lws *wsi)
|
|||
|
||||
lwsl_client("%s\n", __func__);
|
||||
|
||||
if (!wsi->u.hdr.ah) {
|
||||
cce = "ah was NULL at cc2";
|
||||
lwsl_err("%s\n", cce);
|
||||
goto oom4;
|
||||
}
|
||||
|
||||
/* proxy? */
|
||||
|
||||
if (wsi->vhost->http_proxy_port) {
|
||||
|
|
Loading…
Add table
Reference in a new issue