- changed status to resolved
Generic protocol cannot handle responses starting with bytes >0x7F
Issue #308
resolved
If the generic SEND/EXPECT protocol is used, and the service under test responds with a message that has a leading byte that is greater than 0x7F, the EXPECT matching fails with the error:
GENERIC: error receiving data -- Resource temporarily unavailable.
This is caused because the integer return value from Socket_readByte() is truncated into a byte before the error condition is checked. This makes high bytes indistinguishable from an error code.
Comments (5)
-
repo owner -
repo owner Merged in rdnelson/monit/expect_over_0x80 (pull request #30)
Fixed
#308- Check for socket error before casting→ <<cset c8c0018d5d4c>>
-
repo owner fix issue
#308→ <<cset 838e19ef8b8c>>
-
repo owner Thank you :-)
-
repo owner - removed version
Removing version: 5.15 (automated comment)
- Log in to comment
Fixed
#308- Check for socket error before casting→ <<cset 0412fbb01803>>