Explorar o código

HTTP/2 needs to set local_uri_raw

Fix from https://github.com/civetweb/civetweb/issues/875#issuecomment-962513642
gajanak %!s(int64=3) %!d(string=hai) anos
pai
achega
19d1609b51
Modificáronse 2 ficheiros con 2 adicións e 0 borrados
  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);
 					}