Re: Timeout implementation - WeOnlyDo Discussion board

Re: Timeout implementation (General questions)

by dirk, Thursday, May 17, 2012, 15:26 (4571 days ago) @ woddrazen

Hi Dirk,


Why don't you implement your own timer and call Abort or Disconnect Method if time inside timer is reached?

Let us know how it goes.


Regards,
Drazen


As we're using multiple wodHTTP threads using our own timer is kind of difficult, that's why I wanted to implement this within one of the wodHTTP events (fast notification). With a .disconnect it's not working correctly, with the .abort it seems to be working fine. Will continue the testing using .abort instead of .disconnect.


Complete thread: