소스 검색

HTTP/2 needs to set local_uri_raw

Fix from https://github.com/civetweb/civetweb/issues/875#issuecomment-962513642
gajanak 3 년 전
부모
커밋
19d1609b51
2개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      CREDITS.md
  2. 1 0
      src/mod_http2.inl

+ 1 - 0
CREDITS.md

@@ -62,6 +62,7 @@
 * Fernando G. Aranda
 * Frank Hilliger
 * Gábor Csárdi
+* gajanak
 * Girish Joshi
 * goodmenzy
 * Grahack

+ 1 - 0
src/mod_http2.inl

@@ -1546,6 +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;
 					} else if (!strcmp(":status", key)) {
 						conn->status_code = atoi(val);
 					}