I/O errors during WS:RECV don't get matched by _EXPECT ERROR
Brought to you by:
ia97lies
Hi,
if I use _EXPECT ERROR to match an I/O error during WS:RECV, the script still succeeds. Reason is an implete error handling in websocket_module.c. For a proposed change, please review the attached patch. With this patch applied, _EXPECT ERROR at least does catch an error.
This affects branch 'httest-2.2', but not branch 'master'.
Regards,
Micha Lenk