TPA_EVENT_HUP & TPA_EVENT_ERR
Opened this issue · 2 comments
johndb2016 commented
yuanhanliu commented
The basic idea is to trigger the tpa_zreadv API call, which will return -1 (with the corrseponding errno) in the end to trigger the close procedure.
johndb2016 commented
i have two questions :
- We can just trigger the close procedure without tpa_zreadv, unless u wanna errono set or ?
- What kind of situation may lead to TPA_EVENT_HUP & TPA_EVENT_ERR, can u give me some examples? if we got that, we should close the connection and rebuild a new one?