Daniel Martins wrote:
Daniel,
As promised, here's my comment ... :)
Your sugestion is valid but is not working for the OutSystems REST services.
I don't understand why, but I've tried everthing! From using the "SetRequestTimeout", using Factory Configuration app approach to override web.config and even using machine.config.
The screen requests (post and ajax) and the SOAP services, all timeout as expected.
The REST services just run forever... I did not found a limit...
I would say that it is related with the MVC/OS specific REST services implementation.
Nontheless, I would say that nothing is impossible (or almost)! :)
Thankfully to Luis Almeida sugestion, I've achived a solution by implementing a wrapper pattern that aborts the service executing thread after a given timeout. Extension fully comented in attach (don't forget to use OS IPP).
Best Regards,
Tiago Peres
Thank you Tiago for sharing this!