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