[squid-dev] [PATCH] Incorrect processing of long URIs
Eduard Bagdasaryan
eduard.bagdasaryan at measurement-factory.com
Wed Aug 24 12:36:05 UTC 2016
2016-08-23 18:01 GMT+03:00 Alex Rousskov <rousskov at measurement-factory.com>:
> invalid request-line: missing delimiter before "HTTP/1"
In order to generate "where" with such detalization (i.e. the specific
protocol version or method) we would need to pass skipDelimiter() the
parsed AnyP::ProtocolVersion or HttpRequestMethod objects, which would
require converting skipDelimiter() to a template:
<template class C> skipDelimiter(size_t, const char *where, const C
&what);
Otherwise (keeping it simple without templates), the skipDelimiter() the
debugging would be:
invalid request-line: missing delimiter before HTTP-version
I would prefer the latter.
Eduard.
More information about the squid-dev
mailing list