Project homepage Mailing List  Warmcat.com  API Docs  Github Mirror 
{"schema":"libjg2-1", "vpath":"/git/", "avatar":"/git/avatar/", "alang":"", "gen_ut":1713621005, "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":"7a3628bf44fdc2b3f434693d9f6a4109", "commit": {"type":"commit", "time": 1508798830, "time_ofs": 480, "oid_tree": { "oid": "64ecbda633384a15d4d195465f8862144359efb7", "alias": []}, "oid":{ "oid": "2224183110882401401c5094b98e650d61db361c", "alias": []}, "msg": "http2: missing return when openssl too old", "sig_commit": { "git_time": { "time": 1508798830, "offset": 480 }, "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" }, "sig_author": { "git_time": { "time": 1508798830, "offset": 480 }, "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" }}, "body": "http2: missing return when openssl too old" , "diff": "diff --git a/lib/http2/http2.c b/lib/http2/http2.c\nindex 7ba1060..e20a228 100644\n--- a/lib/http2/http2.c\n+++ b/lib/http2/http2.c\n@@ -129,6 +129,8 @@ lws_h2_state(struct lws *wsi, enum lws_h2_states s)\n \tlwsl_info(\u0022%s: wsi %p: state %s -\u003e %s\u005cn\u0022, __func__, wsi,\n \t\t\th2_state_names[wsi-\u003eu.h2.h2_state],\n \t\t\th2_state_names[s]);\n+\n+\t(void)h2_state_names;\n \twsi-\u003eu.h2.h2_state \u003d (uint8_t)s;\n }\n \ndiff --git a/lib/http2/ssl-http2.c b/lib/http2/ssl-http2.c\nindex f017343..592a73d 100644\n--- a/lib/http2/ssl-http2.c\n+++ b/lib/http2/ssl-http2.c\n@@ -147,9 +147,8 @@ int lws_h2_configure_if_upgraded(struct lws *wsi)\n \twsi-\u003eu.h2.tx_cr \u003d 65535;\n \n \tlwsl_info(\u0022%s: wsi %p: configured for h2\u005cn\u0022, __func__, wsi);\n-\n-\treturn 0;\n #endif\n+\treturn 0;\n }\n #endif\n #endif\n","s":{"c":1713621005,"u": 2156}} ],"g": 3155,"chitpc": 0,"ehitpc": 0,"indexed":0 , "ab": 0, "si": 0, "db":0, "di":0, "sat":0, "lfc": "0000"}