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.
This commit is contained in:
Thierry FOURNIER 2015-02-28 19:03:56 +01:00 committed by Willy Tarreau
parent 71b99ef3dc
commit 63d692c037

View File

@ -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,
};