[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: DSPLY CommTCP_read:time-out!
Sender: Scott Klement <sk@xxxxxxxxxxxxxxxx>
On Thu, 20 Jan 2005 nellestj@xxxxxxx wrote:
Are any of you familiar with this error? If so, do you know where we
can change the parameters for this error? Right now if we don't get an
answer back from our webservice within about 12 seconds, this error pops
up for the user.
It's an optional parameter to the HTTP_url_xxxxx() APIs. For example,
it's the 5th parameter to HTTP_url_get_xml().
So, if you have:
http_url_get_xml( 'http://xxxxxxx'
: %paddr(MyProc)
: %paddr(MyOtherProc)
: *NULL );
Then, you could change it to
http_url_get_xml( 'http://xxxxxxx'
: %paddr(MyProc)
: %paddr(MyOtherProc)
: *NULL
: 3600 );
Then it wouldn't time out until 3600 seconds (1 hour) have passed.
The other APIs (HTTP_url_get(), HTTP_url_post(), etc, etc) all have the
same parameter, but it might be in a different place. Check HTTPAPI_H for
info about the various parms to the API calls.
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubsribe from the list send mail
to majordomo@xxxxxxxxxxxxx with the body: unsubscribe ftpapi mymailaddr
-----------------------------------------------------------------------