{"schema":"libjg2-1",
"vpath":"/git/",
"avatar":"/git/avatar/",
"alang":"",
"gen_ut":1745821492,
"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":"b9ffa6b614866c5a533e4bccd3886846",
"commit": {"type":"commit",
"time": 1481897292,
"time_ofs": 480,
"oid_tree": { "oid": "4d0286cfd11b5830bc0f2918e253c8257ac61d9b", "alias": []},
"oid":{ "oid": "fbe66065ff0b79c758650840aa25202c9f597e54", "alias": []},
"msg": "client: treat 304 like 200",
"sig_commit": { "git_time": { "time": 1481897292, "offset": 480 }, "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" },
"sig_author": { "git_time": { "time": 1477060740, "offset": 480 }, "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" }},
"body": "client: treat 304 like 200"
,
"diff": "diff --git a/lib/client.c b/lib/client.c\nindex 6af36c8..7731e8a 100755\n--- a/lib/client.c\n+++ b/lib/client.c\n@@ -474,9 +474,9 @@ lws_client_interpret_server_handshake(struct lws *wsi)\n \t}\n \n \tif (!wsi-\u003edo_ws) {\n-\t\tif (n !\u003d 200) {\n-\t\t\tlwsl_notice(\u0022Connection failed with code %d\u0022, n);\n-\t\t\tcce \u003d \u0022HS: Server did not return 200\u0022;\n+\t\tif (n !\u003d 200 \u0026\u0026 n !\u003d 304) {\n+\t\t\tlwsl_notice(\u0022Connection failed with code %d\u005cn\u0022, n);\n+\t\t\tcce \u003d \u0022HS: Server did not return 200 or 304\u0022;\n \t\t\tgoto bail2;\n \t\t}\n \n","s":{"c":1745821492,"u": 1704}}
],"g": 3133,"chitpc": 0,"ehitpc": 0,"indexed":0
,
"ab": 0, "si": 0, "db":0, "di":0, "sat":0, "lfc": "0000"}