Project homepage Mailing List  Warmcat.com  API Docs  Github Mirror 
{"schema":"libjg2-1", "vpath":"/git/", "avatar":"/git/avatar/", "alang":"", "gen_ut":1745907892, "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":"ecf54a03072d5e668f1bf30104c02234", "commit": {"type":"commit", "time": 1700732712, "time_ofs": 0, "oid_tree": { "oid": "f8e87a7f73015f903c094ebe507f1e4668c52c5f", "alias": []}, "oid":{ "oid": "9f44863e0752028ee80a1ae59a6be9c14ec735e4", "alias": []}, "msg": "tls: fix ssl connection error in raw connection", "sig_commit": { "git_time": { "time": 1700732712, "offset": 0 }, "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" }, "sig_author": { "git_time": { "time": 1688352265, "offset": 480 }, "name": "johnnychen", "email": "johnnychen@prestolabs.io", "md5": "5bdbd6002855c261d864f20720fd245c" }}, "body": "tls: fix ssl connection error in raw connection\n" , "diff": "diff --git a/lib/core-net/client/connect.c b/lib/core-net/client/connect.c\nindex f5ac2dc..9dd3e6c 100644\n--- a/lib/core-net/client/connect.c\n+++ b/lib/core-net/client/connect.c\n@@ -492,7 +492,7 @@ lws_client_connect_via_info(const struct lws_client_connect_info *i)\n \n \t\twsi-\u003etls.ssl \u003d NULL;\n \n-\t\tif (wsi-\u003etls.use_ssl \u0026 LCCSCF_USE_SSL) {\n+\t\tif (wsi-\u003erole_ops !\u003d \u0026role_ops_raw_skt \u0026\u0026 (wsi-\u003etls.use_ssl \u0026 LCCSCF_USE_SSL)) {\n \t\t\tconst char *cce \u003d NULL;\n \n \t\t\tswitch (\n","s":{"c":1745907892,"u": 3760}} ],"g": 4771,"chitpc": 0,"ehitpc": 0,"indexed":0 , "ab": 0, "si": 0, "db":0, "di":0, "sat":0, "lfc": "0000"}