Update goodbyedpi.c

This commit is contained in:
SashaXser 2023-11-27 21:35:47 +04:00 committed by GitHub
parent e98f20bfdc
commit 069a4d3e30
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -428,6 +428,7 @@ static inline void change_window_size(const PWINDIVERT_TCPHDR ppTcpHdr, unsigned
/* HTTP method end without trailing space */
static PVOID find_http_method_end(const char *pkt, unsigned int http_frag, int *is_fragmented) {
unsigned int i;
unsigned int pkt_length = strlen(pkt);
for (i = 0; i<(sizeof(http_methods) / sizeof(*http_methods)); i++) {
unsigned int method_length = strlen(http_methods[i]);
if (strncasecmp(pkt, http_methods[i], method_length) == 0) {