Skip to content

Commit

Permalink
Merge pull request #10 from G-Core/CDP-1482_nginx-crash-on-adding-new…
Browse files Browse the repository at this point in the history
…-request-header-by-fastedge

fix: set lowcase_key and next fields on adding new http header
  • Loading branch information
ruslanti authored Feb 17, 2025
2 parents ef2e3c3 + 886445c commit 8256f48
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nginx_module/src/http_request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -572,6 +572,8 @@ impl<'a> HeaderList<'a> {
h.hash = 1;
h.key = name.inner();
h.value = value.inner();
h.lowcase_key = name.inner().data;
h.next = std::ptr::null_mut();
Ok(())
}

Expand Down

0 comments on commit 8256f48

Please sign in to comment.