Markus Mäkelä e057c751cd
Improve handleError error messages
The hangup and error handlers now have unique messages. Although the
behavior in the handlers is practically the same in both cases, the cause
of the error is not the same.

If a socket error is present, it is added to the error message. If an
error is present, it should clearly show the reason why the TCP socket was
closed.

The is_fake_event boolean helps distinguish fake events from real
ones. This makes figuring out the real source of hangup events easier.
2019-12-13 10:50:04 +02:00
..
2019-12-13 10:50:04 +02:00
2018-09-10 13:22:49 +03:00
2019-10-29 12:51:31 +02:00
2017-01-16 10:56:33 +02:00