Branch :
| Author | Commit | Date | CI | Message |
|---|---|---|---|---|
| 7fd49414 | 2014-11-30 19:26:20 | Merge remote-tracking branch 'origin/pr/182' | ||
| 10fe4ef3 | 2014-11-16 23:40:16 | Prevent duplicate event_del on fd | ||
| 2b9ec4c1 | 2014-10-26 01:18:10 | Implement interface that provides the ability to have an outbound evhttp_connection free itself once all requests have completed | ||
| bc79cc5c | 2014-09-27 21:29:45 | http: reset connection before installing retry timer (fix http retries handling) This will fix some invalid read/write: ==556== Invalid read of size 8 ==556== at 0x4E4EEC6: event_queue_remove_timeout (minheap-internal.h:178) ==556== by 0x4E508AA: event_del_nolock_ (event.c:2764) ==556== by 0x4E53535: event_base_loop (event.c:3088) ==556== by 0x406FCFA: dispatch (libcrawl.c:271) ==556== by 0x402863: main (crawler.c:49) ==556== Address 0x68a3f18 is 152 bytes inside a block of size 400 free'd ==556== at 0x4C29C97: free (in /usr/local/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==556== by 0x406F140: renew (libcrawl.c:625) ==556== by 0x4E6CDE9: evhttp_connection_cb_cleanup (http.c:1331) ==556== by 0x4E6E2B2: evhttp_connection_cb (http.c:1424) ==556== by 0x4E4DF2D: bufferevent_writecb (bufferevent_sock.c:310) ==556== by 0x4E52D1D: event_process_active_single_queue (event.c:1584) ==556== by 0x4E53676: event_base_loop (event.c:1676) ==556== by 0x406FCFA: dispatch (libcrawl.c:271) ==556== by 0x402863: main (crawler.c:49) But this one because of some invalid write before (I guess). It is 100% reproduced during massive crawling (because this process has many different servers), but after spending some time for trying to reproduce this using some simple tests/utils I gave up for a few days (I have a lot of work to do), but I'm sending this patch as a reminder. Just in case, I've tried next tests: - mixing timeouts/retries - shutdown http server and return it back - slow dns server for first request - sleep before accept - hacking libevent sources to change the behaviour of http layer (so it will go into that function which I'm insterested in). | ||
| 73615a37 | 2014-09-18 11:31:52 | Merge pull request #118 from azat/http-forward-family-to-bufferevent Add evhttp_connection_set_family() to set addrinfo->family for DNS requests | ||
| 12c29b0f | 2014-03-21 17:32:09 | Add evhttp_connection_set_family() to set addrinfo->family for DNS requests This is useful if you want to avoid extra dns requests. | ||
| e660db6d | 2014-03-18 11:39:23 | Catch over-large port numbers early in http Otherwise integer overflow potentially turns the port number into garbage. | ||
| da86dda9 | 2014-01-06 20:36:31 | evhttp_request_set_on_complete_cb to be more specific about what the function actually does and usage | ||
| b083ca05 | 2014-01-05 20:35:46 | Provide on request complete callback facility This patch provides the ability to receive a callback on the completion of a request. The callback takes place immediately before the request's resources are released. | ||
| b0bd7fe1 | 2013-11-18 16:06:16 | Allow registering callback for parsing HTTP headers Slightly changed version of Espen Jürgensen's commit 548141e72312126fa6121f6a5f436đ251c7fb1251 for forked-daapd. |