sed(): Don't call enforce_header_order() if a filter removed the request line
authorFabian Keil <fk@fabiankeil.de>
Tue, 5 Jan 2021 13:32:50 +0000 (14:32 +0100)
committerFabian Keil <fk@fabiankeil.de>
Tue, 5 Jan 2021 13:56:02 +0000 (14:56 +0100)
commitff3493f08f35e907620bc9d56ba202d7e1300a68
tree90c048858d1c8ba941485172941cda178b32dea5
parent8aad4aff233360830511c104c2e6183b4a35d5b4
sed(): Don't call enforce_header_order() if a filter removed the request line

... as enforce_header_order() asserts that the request line is present.

Without the request line the request will be rejected as invalid
later on anyway, so sorting the headers first is pointless.
parsers.c