{"schema":"libjg2-1",
"vpath":"/git/",
"avatar":"/git/avatar/",
"alang":"",
"gen_ut":1746503872,
"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":"ec146d214101b5af91db447139481d70",
"commit": {"type":"commit",
"time": 1547336157,
"time_ofs": 480,
"oid_tree": { "oid": "14ed6c087375eecd8bff24632bffc89118af67bc", "alias": []},
"oid":{ "oid": "f10d5e07d4766c671ecbd0f456490ab790f7169f", "alias": []},
"msg": "windows: socket keepalive valid is ms",
"sig_commit": { "git_time": { "time": 1547336157, "offset": 480 }, "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" },
"sig_author": { "git_time": { "time": 1547336157, "offset": 480 }, "name": "Bitomaxsp", "email": "bitomaxsp@user.github.invalid", "md5": "739012f8db239ab8c1ae85103fb0a811" }},
"body": "windows: socket keepalive valid is ms\n\nhttps://github.com/warmcat/libwebsockets/issues/1477\n"
,
"diff": "diff --git a/lib/plat/windows/windows-sockets.c b/lib/plat/windows/windows-sockets.c\nindex bf09350..3772cfb 100644\n--- a/lib/plat/windows/windows-sockets.c\n+++ b/lib/plat/windows/windows-sockets.c\n@@ -64,8 +64,8 @@ lws_plat_set_socket_options(struct lws_vhost *vhost, lws_sockfd_type fd,\n \t\t\treturn 1;\n \n \t\talive.onoff \u003d TRUE;\n-\t\talive.keepalivetime \u003d vhost-\u003eka_time;\n-\t\talive.keepaliveinterval \u003d vhost-\u003eka_interval;\n+\t\talive.keepalivetime \u003d vhost-\u003eka_time * 1000;\n+\t\talive.keepaliveinterval \u003d vhost-\u003eka_interval * 1000;\n \n \t\tif (WSAIoctl(fd, SIO_KEEPALIVE_VALS, \u0026alive, sizeof(alive),\n \t\t\t NULL, 0, \u0026dwBytesRet, NULL, NULL))\n","s":{"c":1746443705,"u": 3164}}
],"g": 1178,"chitpc": 0,"ehitpc": 0,"indexed":0
,
"ab": 0, "si": 0, "db":0, "di":0, "sat":0, "lfc": "7d0a"}