force failed header parse to act
authorFujii Bunichiroh <Bunichiroh.Fujii@jp.sony.com>
Wed, 18 Sep 2013 13:01:02 +0000 (21:01 +0800)
committerAndy Green <andy.green@linaro.org>
Wed, 18 Sep 2013 13:01:02 +0000 (21:01 +0800)
commite92947680ac64c61dd0276aeca24bab5c6f91143
tree847190cdb29f509d396e515b9c1a432757eeae0b
parent8eda4117dd80ed9cfb592cb71e451dfe45014cbb
force failed header parse to act

''...Websocket servers return failure responses other than HTTP Status 101 in the case of
mismatches of WebSocket version or additional header data etc...
It seems that libwebsockets shows "WARN: problems parsing header" error in such cases without
calling any callbacks or returning error code. Is this right?
I modified lib/client.c to handle this.''

Signed-off-by: Fujii Bunichiroh <Bunichiroh.Fujii@jp.sony.com>
lib/client.c