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

client account for retries


Signed-off-by: default avatarAndy Green <andy@warmcat.com>
parent 42e8b189
No related branches found
No related tags found
No related merge requests found
...@@ -278,6 +278,9 @@ lws_client_connect_2(struct lws *wsi) ...@@ -278,6 +278,9 @@ lws_client_connect_2(struct lws *wsi)
oom4: oom4:
/* we're closing, losing some rx is OK */ /* we're closing, losing some rx is OK */
wsi->u.hdr.ah->rxpos = wsi->u.hdr.ah->rxlen; wsi->u.hdr.ah->rxpos = wsi->u.hdr.ah->rxlen;
/* take care that we might be inserted in fds already */
if (wsi->position_in_fds_table != -1)
goto failed;
lws_header_table_detach(wsi, 0); lws_header_table_detach(wsi, 0);
lws_free(wsi); lws_free(wsi);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment