Project homepage Mailing List  Warmcat.com  API Docs  Github Mirror 
{"schema":"libjg2-1", "vpath":"/git/", "avatar":"/git/avatar/", "alang":"", "gen_ut":1752654512, "reponame":"libwebsockets", "desc":"libwebsockets lightweight C networking library", "owner": { "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" },"url":"https://libwebsockets.org/repo/libwebsockets", "f":3, "items": [ {"schema":"libjg2-1", "cid":"87be1ee3df4708fa19d635456fba31ac", "commit": {"type":"commit", "time": 1619029923, "time_ofs": 60, "oid_tree": { "oid": "68dc54a4437db34da9e2ecf99f03fbd99d14dddd", "alias": []}, "oid":{ "oid": "afb77240ad025ef4f9da3c4d11e44813d684986e", "alias": []}, "msg": "h2: just log nwsi close and pass thru", "sig_commit": { "git_time": { "time": 1619029923, "offset": 60 }, "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" }, "sig_author": { "git_time": { "time": 1618978466, "offset": 60 }, "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" }}, "body": "h2: just log nwsi close and pass thru\n\nUser reports problems with the close / retry flow not happening if we don't\npass thru the nwsi close... it may be happening before the sid1 migration.\n\nJust log it and don't end the handling before the passthru. Logging it\nbecause there was a reason for the change to not passing it through...\n" , "diff": "diff --git a/lib/secure-streams/protocols/ss-h2.c b/lib/secure-streams/protocols/ss-h2.c\nindex 533cd63..df45626 100644\n--- a/lib/secure-streams/protocols/ss-h2.c\n+++ b/lib/secure-streams/protocols/ss-h2.c\n@@ -66,8 +66,13 @@ secstream_h2(struct lws *wsi, enum lws_callback_reasons reason, void *user,\n \t\treturn n;\n \n \tcase LWS_CALLBACK_CLOSED_CLIENT_HTTP:\n-\t\tif (lws_get_network_wsi(wsi) \u003d\u003d wsi)\n+\t\t/*\n+\t\t * Only allow the wsi that the handle believes is representing\n+\t\t * him to report closure up to h1\n+\t\t */\n+\t\tif (!h || h-\u003ewsi !\u003d wsi)\n \t\t\treturn 0;\n+\n \t\tbreak;\n \n \tcase LWS_CALLBACK_COMPLETED_CLIENT_HTTP:\n","s":{"c":1752654512,"u": 1654}} ],"g": 2489,"chitpc": 0,"ehitpc": 0,"indexed":0 , "ab": 0, "si": 0, "db":0, "di":0, "sat":0, "lfc": "0000"}