fix Mux bug not matching paths correctly; httpraw HTTP V1 naming applied

This commit is contained in:
Patricio Whittingslow
2026-07-30 16:40:44 -03:00
parent aa259d1efd
commit 9ff97f1808
18 changed files with 410 additions and 174 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ var (
)
type PacketBreakdown struct {
hdr httpraw.Header
hdr httpraw.HeaderV1
dmsg dns.Message
vld lneto.Validator
// SubfieldLimit will limit the number of captured subfields to the value it has.
+1 -1
View File
@@ -23,7 +23,7 @@ import (
const httpProtocol = "HTTP/1.1"
func makeHttpPayload(body string) ([]byte, error) {
var hdr httpraw.Header
var hdr httpraw.HeaderV1
hdr.SetProtocol(httpProtocol)
hdr.SetStatus("200", "OK")
hdr.Set("Cookie", "ABC=123")