Sunday, November 21, 2010

FRONTIER BUG



Wanted to record this to be sure I get back to it some point.

Problem is with all HTTP requests emanating from tcp.httpClient.

Setting the timeout has no effect when its not possible to open a connection on the server because tcp.openStream doesn't take a timeout parameter. It's always 20 seconds, near as I can tell.

Once I get back into the C source again I'll have to check this out.

You can see the problem on the log page for rssCloud -- when testing the link back from a remote app registering a handler, the timeout is never less than 20 seconds, even when it's unreachable. I have the timeout param in tcp.httpClient set at 180 ticks (3 seconds), which is plenty to find out if there's anyone at the other end.



No comments:

Post a Comment