Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | | Fix a typo in a doxygen comment. Reported by 亦得. | Nick Mathewson | 2014-10-09 | 1 | -1/+1 | |
| | |/ | |/| | ||||||
* | | | Merge remote-tracking branch 'origin/patches-2.0' | Nick Mathewson | 2014-09-18 | 1 | -1/+1 | |
|\ \ \ | |/ / | | / | |/ |/| | ||||||
| * | [Bugfix] fix bufferevent setwatermark suspend_read | ufo2243 | 2014-09-18 | 1 | -1/+1 | |
| | | ||||||
* | | Fix several memory leaks in the unit tests. | Nick Mathewson | 2014-09-18 | 7 | -9/+25 | |
| | | | | | | | | | | Also add a comment to buffer.c about why we call evbuffer_file_segment_free on failure to add the segment. | |||||
* | | Fix for a677b72bd6d9d378daf9775966aa8ca574e26e67 | Nick Mathewson | 2014-09-18 | 1 | -1/+1 | |
| | | ||||||
* | | Make a buffer larger in the tests to avoid a scary evbuffer_copyout_from() | Nick Mathewson | 2014-09-18 | 1 | -1/+1 | |
| | | | | | | | | The call was safe, but coverity couldn't tell. CID 1239294. | |||||
* | | Use a more precise calculation for max in time-ratelim.c | Nick Mathewson | 2014-09-18 | 1 | -1/+1 | |
| | | | | | | | | CID 1239297 | |||||
* | | Use evutil_weakrand() in unit tests. | Nick Mathewson | 2014-09-18 | 6 | -13/+22 | |
| | | | | | | | | | | | | | | (Coverity doesn't like random() or rand(). We don't care; this is for unit tests.) Fixes CID 1239298, 1239296, 1239295, 1239293. | |||||
* | | Fix a c90 warning | Nick Mathewson | 2014-09-18 | 1 | -0/+2 | |
| | | ||||||
* | | Fix a dead-code warning in unit tests. CID 1193548 | Nick Mathewson | 2014-09-18 | 1 | -0/+1 | |
| | | ||||||
* | | Fix a use-after-free in unit tests. CID 752027 | Nick Mathewson | 2014-09-18 | 1 | -0/+1 | |
| | | ||||||
* | | Merge pull request #168 from ufo2243/master | Nick Mathewson | 2014-09-18 | 3 | -6/+15 | |
|\ \ | | | | | | | make bufferevent_getwatermark api more robust | |||||
| * | | make bufferevent_getwatermark api more robust | ufo2243 | 2014-09-12 | 3 | -6/+15 | |
| | | | ||||||
* | | | Merge pull request #119 from ldx/winhosts | Nick Mathewson | 2014-09-18 | 1 | -7/+8 | |
|\ \ \ | | | | | | | | | Fix hosts file use on Windows. | |||||
| * | | | Don't truncate hosts file path on Windows. | Vilmos Nebehaj | 2014-03-21 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since evutil_snprintf() (actually evutil_vsnprintf() called by it) will make sure the buffer is null-terminated by placing a null byte at len_out - 1, we need to pass the full length of the buffer; otherwise the path will end in "\\host" instead of "\\hosts". | |||||
| * | | | Load hosts file on Windows. | Vilmos Nebehaj | 2014-03-21 | 1 | -5/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | | | Hosts files are not loaded in evdns_base_config_windows_nameservers() if load_nameservers_with_getnetworkparams() succeeds on Windows. Parse and load it first before setting up nameservers. | |||||
* | | | | Fix use-after-free error in EV_CLOSURE_EVENT callback | John Ohl | 2014-09-18 | 1 | -1/+2 | |
| | | | | ||||||
* | | | | Merge remote-tracking branch 'origin/patches-2.0' | Nick Mathewson | 2014-09-18 | 1 | -1/+1 | |
|\ \ \ \ | | |_|/ | |/| | | ||||||
| * | | | regress_buffer: fix 'memcmp' compare size | Maks Naumov | 2014-09-18 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | Merge pull request #118 from azat/http-forward-family-to-bufferevent | Nick Mathewson | 2014-09-18 | 4 | -6/+48 | |
|\ \ \ \ | | | | | | | | | | | Add evhttp_connection_set_family() to set addrinfo->family for DNS requests | |||||
| * | | | | test/http: add regress test for set family to AF_INET6 | Azat Khuzhin | 2014-03-27 | 1 | -2/+13 | |
| | | | | | ||||||
| * | | | | test: add regress for evhttp_connection_set_family() with AF_INET and AF_UNSPEC | Azat Khuzhin | 2014-03-27 | 1 | -0/+14 | |
| | | | | | ||||||
| * | | | | test: add family argument for http_connection_test_() | Azat Khuzhin | 2014-03-27 | 1 | -4/+7 | |
| | | | | | ||||||
| * | | | | Add evhttp_connection_set_family() to set addrinfo->family for DNS requests | Azat Khuzhin | 2014-03-21 | 3 | -1/+15 | |
| | | | | | | | | | | | | | | | | | | | | This is useful if you want to avoid extra dns requests. | |||||
* | | | | | use correct tt macro for pointer compare | Nick Mathewson | 2014-09-18 | 1 | -1/+1 | |
| | | | | | ||||||
* | | | | | Merge pull request #128 from azat/tests-disable-when-inactive-v5 | Nick Mathewson | 2014-09-18 | 1 | -5/+78 | |
|\ \ \ \ \ | | | | | | | | | | | | | Some tests for EVDNS_BASE_DISABLE_WHEN_INACTIVE flag | |||||
| * | | | | | regress dns: drop alarm() (since windows don't have it) | Azat Khuzhin | 2014-04-11 | 1 | -3/+0 | |
| | | | | | | ||||||
| * | | | | | evdns: add regress test for flag EVDNS_BASE_DISABLE_WHEN_INACTIVE without ns | Azat Khuzhin | 2014-04-10 | 1 | -0/+44 | |
| | | | | | | ||||||
| * | | | | | evdns: add regress for EVDNS_BASE_DISABLE_WHEN_INACTIVE base flag | Azat Khuzhin | 2014-04-10 | 1 | -6/+38 | |
| |/ / / / | ||||||
* | | | | | Merge pull request #129 from azat/disable-probing-with-disable-when-inactive-v2 | Nick Mathewson | 2014-09-18 | 1 | -0/+1 | |
|\ \ \ \ \ | | | | | | | | | | | | | evdns: disable probing with EVDNS_BASE_DISABLE_WHEN_INACTIVE | |||||
| * | | | | | evdns: we don't need to add retry timer in transmit_to it will be done on fail | Azat Khuzhin | 2014-04-10 | 1 | -4/+3 | |
| | | | | | | ||||||
| * | | | | | evdns: disable probing with EVDNS_BASE_DISABLE_WHEN_INACTIVE | Azat Khuzhin | 2014-04-09 | 1 | -3/+5 | |
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | When user install EVDNS_BASE_DISABLE_WHEN_INACTIVE flag for evdns base, we must remove the timer that is used for probing, if current dns server failed, otherwise it won't break the loop. | |||||
* | | | | | Merge pull request #167 from snikulov/pr_libevent_cmake_upd | Nick Mathewson | 2014-09-08 | 2 | -66/+82 | |
|\ \ \ \ \ | |_|_|_|/ |/| | | | | updates in cmake build | |||||
| * | | | | updates in cmake build | Sergey Nikulov | 2014-09-02 | 2 | -66/+82 | |
| | | | | | ||||||
* | | | | | Merge pull request #103 from ufo2243/master | Nick Mathewson | 2014-09-03 | 1 | -1/+1 | |
|\ \ \ \ \ | |/ / / / |/| | | | | [Bugfix] fix grammer error | |||||
| * | | | | [Bugfix] fix grammer error | ufo2243 | 2014-09-03 | 1 | -1/+1 | |
|/ / / / | ||||||
* | | | | Correctly handle allocation failures in evdns_getaddrinfo | Nick Mathewson | 2014-08-29 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | Kuldeep Gupta appears to have used some kind of automated tool to find this and generate a patch for half the issue as #149. | |||||
* | | | | Merge remote-tracking branch 'origin/patches-2.0' | Nick Mathewson | 2014-08-29 | 2 | -0/+8 | |
|\ \ \ \ | | |/ / | |/| | | ||||||
| * | | | Consistently check for failure from evbuffer_pullup() | Nick Mathewson | 2014-08-29 | 2 | -0/+8 | |
| | | | | | | | | | | | | | | | | Closes issue #148. | |||||
* | | | | Merge pull request #153 from azat/tests-simplestsignal | Nick Mathewson | 2014-08-29 | 1 | -4/+20 | |
|\ \ \ \ | | | | | | | | | | | test/regress: add simplestsignal: to track reorder bugs separately | |||||
| * | | | | test/regress: add simplestsignal: to track reorder bugs separately | Azat Khuzhin | 2014-06-29 | 1 | -4/+20 | |
| | | | | | ||||||
* | | | | | Merge remote-tracking branch 'origin/patches-2.0' | Nick Mathewson | 2014-08-29 | 1 | -1/+1 | |
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | Conflicts: sample/http-server.c | |||||
| * | | | | Use FindClose for handle from FindFirstFile in http-server.c | Nick Mathewson | 2014-08-29 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | Noted by Miles Chan as issue #145 | |||||
* | | | | | Change return type of evutil_load_windows_system_library_ to HMODULE | Nick Mathewson | 2014-08-29 | 3 | -4/+4 | |
| | | | | | | | | | | | | | | | | | | | | Noted by Miles Chan as issue #146 | |||||
* | | | | | Fix issue #127, double free for filterevents that use BEV_OPT_CLOSE_ON_FREE | John Ohl | 2014-08-29 | 1 | -21/+48 | |
| | | | | | ||||||
* | | | | | Merge remote-tracking branch 'origin/patches-2.0' | Nick Mathewson | 2014-08-18 | 1 | -0/+3 | |
|\ \ \ \ \ | |/ / / / | | / / / | |/ / / |/| | | | ||||||
| * | | | Add a few files created by "make verify" to .gitignore. | Pierre Phaneuf | 2014-08-18 | 1 | -0/+3 | |
| | | | | ||||||
* | | | | Merge pull request #140 from vapier/ignore | Nick Mathewson | 2014-06-14 | 1 | -0/+2 | |
|\ \ \ \ | | | | | | | | | | | ignore config.cache/test-driver files | |||||
| * | | | | ignore config.cache/test-driver files | Mike Frysinger | 2014-06-13 | 1 | -0/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | config.cache is generated when you run `./configure -C`. test-driver comes from newer autotools. | |||||
* | | | | | Merge pull request #143 from vapier/disable-sample | Nick Mathewson | 2014-06-14 | 2 | -0/+6 | |
|\ \ \ \ \ | |/ / / / |/| | | | | add a --disable-samples configure flag |