Re: Timeout implementation (General questions)
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:
- Timeout implementation - dirk, 2012-05-17, 15:05
- Re: Timeout implementation - woddrazen, 2012-05-17, 15:20
- Re: Timeout implementation - dirk, 2012-05-17, 15:26
- Re: Timeout implementation - woddrazen, 2012-05-17, 15:20