<div dir="ltr"><div class="gmail_default" style="color:#3333ff"><p style="box-sizing:border-box;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:14px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;margin-top:0px">Hi,</p><p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:14px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">I have two issues (maybe observations) which needs some clarifications:</p><ol style="box-sizing:border-box;padding-left:2em;margin-top:0px;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:14px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><li style="box-sizing:border-box;margin-left:0px"><p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px">Currently I send one H2 client request vis lws_client_connect_via_info(), it creates one network wsi (nwsi) and then one h2 child wsi (h2_wsi). When I return -1 in the callback, it frees h2_wsi only. Why nwsi is not close?</p></li><li style="box-sizing:border-box;margin-top:0.25em;margin-left:0px"><p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px">If I want to send the same request again, seems I need to call lws_client_connect_via_info() again which creates nwsi and h2_wsi again (i.e., SSL handshake again), is there a way I can reuse the previous allocated nwsi and h2_wsi?</p></li></ol><p style="box-sizing:border-box;margin-top:0px;color:rgb(36,41,46);font-family:-apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:14px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;margin-bottom:0px">Thanks<br style="box-sizing:border-box">-Xi</p><br></div></div>