Menu

#1 I/O errors during WS:RECV don't get matched by _EXPECT ERROR

2.0
open
nobody
None
2015-02-05
2015-02-05
Micha Lenk
No

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

1 Attachments

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.