浏览代码

Correct HTTP/2 :path compile error

bel2125 3 年之前
父节点
当前提交
13c30b2fb1
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/mod_http2.inl

+ 1 - 1
src/mod_http2.inl

@@ -1546,7 +1546,7 @@ handle_http2(struct mg_connection *conn)
 					} else if (!strcmp(":path", key)) {
 						conn->request_info.local_uri = val;
 						conn->request_info.request_uri = val;
-						conn->request_info.local_raw = val;
+						conn->request_info.local_uri_raw = val;
 					} else if (!strcmp(":status", key)) {
 						conn->status_code = atoi(val);
 					}