Scenario: Read supported register, read unsupported register, read same supported register.
It should behave the same on 1st and 3rd read call.
Prior to #1924 the 2nd read call would termine the connection.
While the 2nd call now returns nicely with the correct error, the 3rd is failing in 3.6.3.
Scenario: Read supported register, read unsupported register, read same supported register. It should behave the same on 1st and 3rd read call.
Prior to #1924 the 2nd read call would termine the connection. While the 2nd call now returns nicely with the correct error, the 3rd is failing in 3.6.3.
Before this PR:
After this PR:
Tests
Unfortunately I was not able to figure out how to add a reasonable test here. E.g. by extending
test_recv_socket_exception_packet()
.I only run the example above. "Works on my machine".