Skip to content
Snippets Groups Projects
Commit 5462be9a authored by Andy Green's avatar Andy Green
Browse files

client account for retries


Signed-off-by: default avatarAndy Green <andy@warmcat.com>
parent c93c47f3
Branches
No related tags found
No related merge requests found
...@@ -304,6 +304,10 @@ lws_client_connect_2(struct lws *wsi) ...@@ -304,6 +304,10 @@ lws_client_connect_2(struct lws *wsi)
oom4: oom4:
lws_free(wsi->u.hdr.ah); lws_free(wsi->u.hdr.ah);
wsi->u.hdr.ah = NULL;
/* take care that we might be inserted in fds already */
if (wsi->position_in_fds_table != -1)
goto failed;
lws_free(wsi); lws_free(wsi);
return NULL; return NULL;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment