[Quickfix-developers] ThreadedSocketInitiator session time problem
Brought to you by:
orenmnero
|
From: H. S. <st...@un...> - 2005-10-20 16:16:11
|
hi oren, guys ... i still have some issues with ThreadedSocketInitiator trying to connect counterparts out of session times. i use current cvs version and oren worked on that issue and patched ThreadedSocketInitiator.cpp (1.20). still for me it seems that this patch only helps if the threads are spawned out of session times. as soon as doConnect() is called and a socketThread is spawned, it keeps running until the initiator is being stopped. that keeps the thread trying to connect even if it is out of session times for that session. i am not sure if the right way would be to leave the thread or to send it to sleep as i am not that much into the qf code to see where thread cleanup and stuff is done. either way i guess that ThreadedSocketInitiator::socketThread should be left when out of session time to prevent if from keep it connecting. cheers, heri -- This e-mail was scanned with a private, non-commercial version of AntiVir MailGate. See http://www.antivir.de for details. |