1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

validity: encapsulated ws must report validity on parent h2 conn

This commit is contained in:
Andy Green 2019-10-14 08:21:34 +01:00
parent 938f692c48
commit 667f9d1fb3

View file

@ -2029,7 +2029,7 @@ rops_issue_keepalive_ws(struct lws *wsi, int isvalid)
struct lws *enc = role_ops_h2.encapsulation_parent(wsi);
assert(enc);
if (enc->role_ops->issue_keepalive(wsi, isvalid))
if (enc->role_ops->issue_keepalive(enc, isvalid))
return 1;
}
#endif