Project homepage Mailing List  Warmcat.com  API Docs  Github Mirror 
{"schema":"libjg2-1", "vpath":"/git/", "avatar":"/git/avatar/", "alang":"", "gen_ut":1711660432, "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":"bdcbc88c3f054ce08466ecfd7f8108ed", "commit": {"type":"commit", "time": 1510797296, "time_ofs": 480, "oid_tree": { "oid": "7fdd3620da63a55cc21dab71b276a0b54f76cf4b", "alias": []}, "oid":{ "oid": "1177c20a59043aec3035a9138958c26017d1c7f1", "alias": []}, "msg": "client: handle bio_create failing", "sig_commit": { "git_time": { "time": 1510797296, "offset": 480 }, "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" }, "sig_author": { "git_time": { "time": 1510797296, "offset": 480 }, "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" }}, "body": "client: handle bio_create failing" , "diff": "diff --git a/lib/client/client.c b/lib/client/client.c\nindex 20450aa..76d7581 100644\n--- a/lib/client/client.c\n+++ b/lib/client/client.c\n@@ -258,9 +258,10 @@ start_ws_handshake:\n #ifdef LWS_OPENSSL_SUPPORT\n \t\t/* we can retry this... just cook the SSL BIO the first time */\n \n-\t\tif (wsi-\u003euse_ssl \u0026\u0026 !wsi-\u003essl) {\n-\t\t\tif (lws_ssl_client_bio_create(wsi))\n-\t\t\t\treturn -1;\n+\t\tif (wsi-\u003euse_ssl \u0026\u0026 !wsi-\u003essl \u0026\u0026\n+\t\t lws_ssl_client_bio_create(wsi) \u003c 0) {\n+\t\t\tcce \u003d \u0022bio_create failed\u0022;\n+\t\t\tgoto bail3;\n \t\t}\n \n \t\tif (wsi-\u003euse_ssl) {\n","s":{"c":1711660432,"u": 1252}} ],"g": 2156,"chitpc": 0,"ehitpc": 0,"indexed":0 , "ab": 0, "si": 0, "db":0, "di":0, "sat":0, "lfc": "0000"}