[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HTTP API 1.14 times out -1.11 does not time out



Sender: Scott Klement <sk@xxxxxxxxxxxxxxxx>

does anybody have an idea why HTTP API V1.14 times out while HTTP API V1.11 does not time out? The error message that I receive from HTTP API V1.14 is "CommTCP_read: time-out

Ooops! It looks like I changed the default timeout (I was probably testing something) down to 10 seconds, and forgot to change it back! To fix this, change the value of the HTTP_TIMEOUT constant in the CONFIG_H source member and re-install HTTPAPI.


I'll try to update the Web site as soon as I'm able. I'm currently at COMMON, and away from home.

I am using the http_url_post_xml() function to call a self written test web service. The very same program times out when using the V1.14 API. It runs fine when it uses the V1.11 API. All I do is changing the library list entry from LIBHTTP (V1.14) to LIBHTTP# (V1.11) to use the different HTTP API versions.

Is it possible that it's because the timeout changed to 10 seconds? Would that make sense as the reason? Or is the web service usually faster than that?
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubsribe from the list send mail
to majordomo@xxxxxxxxxxxxx with the body: unsubscribe ftpapi mymailaddr
-----------------------------------------------------------------------