Anh Dang Vo Hoang
Anh Dang Vo Hoang
Thanks, I'll try to reproduce it with your original code.
I'm still using the full code of redirector and defined some USER_DATA in RedirectorClient.hpp like enum { USER_DATA_PUBLISH = 0x0d, USER_DATA_UNPUBLISH = 0x0a, USER_DATA_LIVESTREAM_URL = 0x0f, }; And just added...
Thanks for your suggestion. I found that the crash was related to call onDraining and close when client disconnetcs to redirector. If clients only call close without onDraining, everything will...
The redirector is crashing. For the backtrace, I'll get it for you as soon as possible..
The problem seems to be fixed as call m_ackFlows.clear() in Session::abortFlowsAndTimers(). m_ackFlows may be invalid after disconnect/draining...
For more details, I used the glog library to capture and print the crash backtrace, but I don't know why the backtrace looks like that... however as I try to...
Thanks for your help, as I mentioned above ,the issue was solved as call m_ackFlows.clear().
I picked and tried your updated commit and it fixed the crash. Thanks