You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working on a client application where I have set the following retry policies using the API:
lws_client_connect_via_info(pCcInfo);
lws_retry_bo_t retry = {
.secs_since_valid_ping = 12, /* force PINGs after 12 secs idle /
.secs_since_valid_hangup = 14, / hangup after 14 secs idle */
};
Additionally, I am resetting these retry policies every 10 seconds if I find a valid probe. However, I still see PING messages being sent by libwebsockets after every 5 minutes.
i am using lws_validity_confirmed() api to reset this retry .
Could you please suggest any thing if i missed here ?
The text was updated successfully, but these errors were encountered:
I am using the lws_client_connect_via_info API to configure retry policies for my client connection. Before calling this API, I have created a virtual host (vhost) and passed it to lws_client_connect_via_info.
Do you mean to say I should pass this retry policy in the structure struct lws_context_creation_info *info? Also, I am calling lws_create_vhost after creating the context. Should I pass this retry policy in the lws_create_vhost API?
Hi @lws-team,
I am working on a client application where I have set the following retry policies using the API:
lws_client_connect_via_info(pCcInfo);
lws_retry_bo_t retry = {
.secs_since_valid_ping = 12, /* force PINGs after 12 secs idle /
.secs_since_valid_hangup = 14, / hangup after 14 secs idle */
};
Additionally, I am resetting these retry policies every 10 seconds if I find a valid probe. However, I still see PING messages being sent by libwebsockets after every 5 minutes.
i am using lws_validity_confirmed() api to reset this retry .
Could you please suggest any thing if i missed here ?
The text was updated successfully, but these errors were encountered: