Comment #14 on issue 410 by r...@cyberjunky.nl: Signal 11 in gb.net.curl
http://code.google.com/p/gambas/issues/detail?id=410

While trying to extract a demo project to show the problem I figured out  
the reason for the hangs.
Try attached project, if you don't code a _Read event for a async  
httpclient it hangs, blocking the whole project, until you get grey hairs  
and get bold...
If you comment out the _Read code it works ok.

This was never the case in Gambas2 and earlier Gambas3 versions, you could  
also run it async and fetch the whole result string in the _Finish event.
So I changed my code and it runs now, but the question is, is this by  
design or a bug?
If by design, should it bail out after the Timeout has gone by?
Anyway by having _Read code defined it works ok now, no crashes, also not  
on exit of program, seems the libcurl close bug was not the cause?
Didn't try to get a new valgrind run, will test more first on other distros.


Attachments:
        CurlClose-0.0.1.tar.gz  5.1 KB

-- 
You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to