security harden http parser a bit
authorAndy Green <andy.green@linaro.org>
Tue, 12 Feb 2013 04:52:39 +0000 (12:52 +0800)
committerAndy Green <andy.green@linaro.org>
Tue, 12 Feb 2013 04:55:40 +0000 (12:55 +0800)
commit3ee9b310549d3eb75832985fad0d45b85551b117
tree3cb5b199f6df9097f5d90de5014dd65493dd45d7
parentd579a7d89a46d67042cd02845df08d801e47aa4c
security harden http parser a bit

Drop the connection during parsing for a few more cases that can't be legit.

Take care about trying to free rxflow_buffer only if we reached a connmode
where it exists

Change behaviour on setting unknown HTTP method to kill connection

Signed-off-by: Andy Green <andy.green@linaro.org>
lib/handshake.c
lib/libwebsockets.c
lib/parsers.c