curl-library
Re: valgrind shows invalid write, leads to SIGSEGV
Date: Sun, 13 Jul 2008 23:53:59 +0200 (CEST)
On Sun, 13 Jul 2008, Nick Gerner wrote:
> I just rewrote a little bit of my app to use multi_socket_action (using the
> socket callback and poll() ) instead of multi_perform. Is this the
> preferred method of using the multi interface?
Not really, they are simply two different approaches to use libcurl's multi
interface.
> So it could be that my app had bugs, and rewriting this fixed them. But the
> change was fairly small to my app (all I did was add the socket and timer
> callbacks storing stuff in a global data structure and call poll() on an
> array pollfds instead of blindly looping on multi_perform, without a select
> because of the FD_SETSIZE issue)
Would you be capable of writing up a small test case source code and post it
here so that we can try to repeat the problem?
-- / daniel.haxx.seReceived on 2008-07-14