problem in libURL...

Trevor DeVore lists at mangomultimedia.com
Sun Feb 6 22:54:23 EST 2005


On Jan 29, 2005, at 12:14 PM, Andre Garzia wrote:
> I am at 2.5 release... after rebooting the machine libURL started to 
> behave better.... guess what there's a strange thing with XML-RPC lib, 
> the one that taps into revXML that taps into libURL anyway. For 
> example revXMLRPC_CreateRequest is a handler, but if you call it as if 
> it is a function by using parenthesis, it will not return an error, it 
> will return fine, but it will never work and the errors will be 
> related to libURL... heck.... no xmlrpcerr: something, but things like 
> "socket timeout" and stuff. I always thought that if you call a 
> handler using a function call it would never reach it's destination. 
> strange.... very strange...

Andre,

I've been on vacation so I am answering this a little late but if you 
are using the XML-RPC library you need to reset the httpHeaders after 
any call to revXMLRPC_Execute since it sets the headers but never 
empties them.  I have filed a bug report on it which you can see here:

http://support.runrev.com/bugdatabase/show_bug.cgi?id=2444

Getting the timeout error is consistent with the behavior I saw when 
working with XML-RPC.


-- 
Trevor DeVore
Blue Mango Multimedia
trevor at mangomultimedia.com



More information about the use-livecode mailing list