From 63d692c03721d21b6469a97ce7c2e91714fb9408 Mon Sep 17 00:00:00 2001 From: Thierry FOURNIER Date: Sat, 28 Feb 2015 19:03:56 +0100 Subject: [PATCH] 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. --- src/proto_http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/proto_http.c b/src/proto_http.c index 0ed2acb69..e6dd041bf 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, };