Unfortunately it has nothing to do with the wait timeout. It's an actual CURL timeout error returned from the request. i can be handling other events fine during that interval, but the only event from the roUrlTransfer AsyncGetToString call is an error type -28.
The SetMinimumTransferRate() seemed like it might be a good bet, but actually I get the same 30 second timeout whether I've required 1 byte in 10 seconds or 1 byte in 60 seconds. This seems odd, as I figured others would have used this and noted if it wasn't, so possibly I'm doing it wrong, or maybe that only functions after some data has actually been received.
request = CreateObject("roURLTransfer")
request.setPort(m.port)
request.setURL(DELAYED_RESPONSE_URL)
print "sending request"
request.SetMinimumTransferRate(1,60)
timer.mark()
result = request.aSyncGetToString() ' returns boolean
As stated, the only event passed from this is a CURL timeout error.
-- GandK Labs
Check out Reversi! in the channel store!