From: Thierry FOURNIER Date: Sat, 28 Feb 2015 18:03:56 +0000 (+0100) Subject: MEDIUM: http: allows 'R' and 'S' in the protocol alphabet X-Git-Tag: v1.6-dev2~310 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=63d692c03721d21b6469a97ce7c2e91714fb9408;p=thirdparty%2Fhaproxy.git MEDIUM: http: allows 'R' and 'S' in the protocol alphabet This patch allow the 'R' and the 'S' in the protocol/version alphabet. It permits to process RTSP requests like HTTP. --- diff --git a/src/proto_http.c b/src/proto_http.c index 0ed2acb691..e6dd041bfd 100644 --- a/src/proto_http.c +++ b/src/proto_http.c @@ -449,7 +449,7 @@ const char http_is_ver_token[256] = { ['.'] = 1, ['/'] = 1, ['0'] = 1, ['1'] = 1, ['2'] = 1, ['3'] = 1, ['4'] = 1, ['5'] = 1, ['6'] = 1, ['7'] = 1, ['8'] = 1, ['9'] = 1, - ['H'] = 1, ['P'] = 1, ['T'] = 1, + ['H'] = 1, ['P'] = 1, ['R'] = 1, ['S'] = 1, ['T'] = 1, };