My wild guess is that Valgrind have something against the uninitialized bytes in the "ev" objects. The union epoll_data is 64 bits but you set only the 32-bit "fd" member. Try zeroing "ev" in crawler_init and setsock before use.
------------------------------------------------------------------- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.html
