Project homepage Mailing List  Warmcat.com  API Docs  Github Mirror 
{"schema":"libjg2-1", "vpath":"/git/", "avatar":"/git/avatar/", "alang":"", "gen_ut":1711642737, "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":"039576360f7fffa138a52318807020ed", "commit": {"type":"commit", "time": 1509845820, "time_ofs": 480, "oid_tree": { "oid": "de9a3c2f81c420351583aeae087d60bd7e09660c", "alias": []}, "oid":{ "oid": "bc6f8179c602ff0839a0d0ce19b447dc6b2b1432", "alias": []}, "msg": "service: stop trying to find service TID after first time", "sig_commit": { "git_time": { "time": 1509845820, "offset": 480 }, "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" }, "sig_author": { "git_time": { "time": 1509837041, "offset": 480 }, "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" }}, "body": "service: stop trying to find service TID after first time\n" , "diff": "diff --git a/lib/plat/lws-plat-esp32.c b/lib/plat/lws-plat-esp32.c\nindex b5adabe..58b5281 100644\n--- a/lib/plat/lws-plat-esp32.c\n+++ b/lib/plat/lws-plat-esp32.c\n@@ -151,8 +151,9 @@ _lws_plat_service_tsi(struct lws_context *context, int timeout_ms, int tsi)\n \t\tcontext-\u003eservice_tid_detected \u003d\n \t\t\tcontext-\u003evhost_list-\u003eprotocols[0].callback(\n \t\t\t\u0026_lws, LWS_CALLBACK_GET_THREAD_ID, NULL, NULL, 0);\n+\t\tcontext-\u003eservice_tid \u003d context-\u003eservice_tid_detected;\n+\t\tcontext-\u003eservice_tid_detected \u003d 1;\n \t}\n-\tcontext-\u003eservice_tid \u003d context-\u003eservice_tid_detected;\n \n \t/*\n \t * is there anybody with pending stuff that needs service forcing?\ndiff --git a/lib/plat/lws-plat-optee.c b/lib/plat/lws-plat-optee.c\nindex fcd7763..55677af 100644\n--- a/lib/plat/lws-plat-optee.c\n+++ b/lib/plat/lws-plat-optee.c\n@@ -111,8 +111,9 @@ _lws_plat_service_tsi(struct lws_context *context, int timeout_ms, int tsi)\n \t\tcontext-\u003eservice_tid_detected \u003d\n \t\t\tcontext-\u003evhost_list-\u003eprotocols[0].callback(\n \t\t\t\u0026_lws, LWS_CALLBACK_GET_THREAD_ID, NULL, NULL, 0);\n+\t\tcontext-\u003eservice_tid \u003d context-\u003eservice_tid_detected;\n+\t\tcontext-\u003eservice_tid_detected \u003d 1;\n \t}\n-\tcontext-\u003eservice_tid \u003d context-\u003eservice_tid_detected;\n \n \t/*\n \t * is there anybody with pending stuff that needs service forcing?\ndiff --git a/lib/plat/lws-plat-unix.c b/lib/plat/lws-plat-unix.c\nindex f553691..a51e67b 100644\n--- a/lib/plat/lws-plat-unix.c\n+++ b/lib/plat/lws-plat-unix.c\n@@ -153,8 +153,9 @@ _lws_plat_service_tsi(struct lws_context *context, int timeout_ms, int tsi)\n \t\tcontext-\u003eservice_tid_detected \u003d\n \t\t\tcontext-\u003evhost_list-\u003eprotocols[0].callback(\n \t\t\t\u0026_lws, LWS_CALLBACK_GET_THREAD_ID, NULL, NULL, 0);\n+\t\tcontext-\u003eservice_tid \u003d context-\u003eservice_tid_detected;\n+\t\tcontext-\u003eservice_tid_detected \u003d 1;\n \t}\n-\tcontext-\u003eservice_tid \u003d context-\u003eservice_tid_detected;\n \n \t/*\n \t * is there anybody with pending stuff that needs service forcing?\n@@ -171,8 +172,8 @@ _lws_plat_service_tsi(struct lws_context *context, int timeout_ms, int tsi)\n \tn \u003d poll(pt-\u003efds, pt-\u003efds_count, timeout_ms);\n \n #ifdef LWS_OPENSSL_SUPPORT\n-\tif (!pt-\u003erx_draining_ext_list \u0026\u0026\n-\t !lws_ssl_anybody_has_buffered_read_tsi(context, tsi) \u0026\u0026 !n) {\n+\tif (!n \u0026\u0026 !pt-\u003erx_draining_ext_list \u0026\u0026\n+\t !lws_ssl_anybody_has_buffered_read_tsi(context, tsi)) {\n #else\n \tif (!pt-\u003erx_draining_ext_list \u0026\u0026 !n) /* poll timeout */ {\n #endif\ndiff --git a/lib/plat/lws-plat-win.c b/lib/plat/lws-plat-win.c\nindex 864df18..f5b178c 100644\n--- a/lib/plat/lws-plat-win.c\n+++ b/lib/plat/lws-plat-win.c\n@@ -178,8 +178,9 @@ _lws_plat_service_tsi(struct lws_context *context, int timeout_ms, int tsi)\n \t\tcontext-\u003eservice_tid_detected \u003d context-\u003evhost_list-\u003e\n \t\t\tprotocols[0].callback(\u0026_lws, LWS_CALLBACK_GET_THREAD_ID,\n \t\t\t\t\t\t NULL, NULL, 0);\n+\t\tcontext-\u003eservice_tid \u003d context-\u003eservice_tid_detected;\n+\t\tcontext-\u003eservice_tid_detected \u003d 1;\n \t}\n-\tcontext-\u003eservice_tid \u003d context-\u003eservice_tid_detected;\n \n \tif (timeout_ms \u003c 0)\n \t{\n","s":{"c":1711642737,"u": 3818}} ],"g": 4155,"chitpc": 0,"ehitpc": 0,"indexed":0 , "ab": 0, "si": 0, "db":0, "di":0, "sat":0, "lfc": "0000"}