On Thu, 4 Jan 2018, Marcos Douglas B. Santos wrote:

Hi,

I have a FastCGI application which needs to receive an user request but, in
some cases, the app should consume a WebService(WS) before make the
response to the user.
The problem is that the WS could take so long time that the entire request
will broke with a "time out".

My question is: Can I consume this WS with a max time to wait?

If you use a thread to consume it, yes.

Without more info on how you consume this webservice, it's difficult to
answer this.

Michael.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to