summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Fix a typo in a doxygen comment. Reported by 亦得.Nick Mathewson2014-10-091-1/+1
| | |/ | |/|
* | | Merge remote-tracking branch 'origin/patches-2.0'Nick Mathewson2014-09-181-1/+1
|\ \ \ | |/ / | | / | |/ |/|
| * [Bugfix] fix bufferevent setwatermark suspend_readufo22432014-09-181-1/+1
| |
* | Fix several memory leaks in the unit tests.Nick Mathewson2014-09-187-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 a677b72bd6d9d378daf9775966aa8ca574e26e67Nick Mathewson2014-09-181-1/+1
| |
* | Make a buffer larger in the tests to avoid a scary evbuffer_copyout_from()Nick Mathewson2014-09-181-1/+1
| | | | | | | | The call was safe, but coverity couldn't tell. CID 1239294.
* | Use a more precise calculation for max in time-ratelim.cNick Mathewson2014-09-181-1/+1
| | | | | | | | CID 1239297
* | Use evutil_weakrand() in unit tests.Nick Mathewson2014-09-186-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 warningNick Mathewson2014-09-181-0/+2
| |
* | Fix a dead-code warning in unit tests. CID 1193548Nick Mathewson2014-09-181-0/+1
| |
* | Fix a use-after-free in unit tests. CID 752027Nick Mathewson2014-09-181-0/+1
| |
* | Merge pull request #168 from ufo2243/masterNick Mathewson2014-09-183-6/+15
|\ \ | | | | | | make bufferevent_getwatermark api more robust
| * | make bufferevent_getwatermark api more robustufo22432014-09-123-6/+15
| | |
* | | Merge pull request #119 from ldx/winhostsNick Mathewson2014-09-181-7/+8
|\ \ \ | | | | | | | | Fix hosts file use on Windows.
| * | | Don't truncate hosts file path on Windows.Vilmos Nebehaj2014-03-211-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 Nebehaj2014-03-211-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 callbackJohn Ohl2014-09-181-1/+2
| | | |
* | | | Merge remote-tracking branch 'origin/patches-2.0'Nick Mathewson2014-09-181-1/+1
|\ \ \ \ | | |_|/ | |/| |
| * | | regress_buffer: fix 'memcmp' compare sizeMaks Naumov2014-09-181-1/+1
| | | |
* | | | Merge pull request #118 from azat/http-forward-family-to-buffereventNick Mathewson2014-09-184-6/+48
|\ \ \ \ | | | | | | | | | | Add evhttp_connection_set_family() to set addrinfo->family for DNS requests
| * | | | test/http: add regress test for set family to AF_INET6Azat Khuzhin2014-03-271-2/+13
| | | | |
| * | | | test: add regress for evhttp_connection_set_family() with AF_INET and AF_UNSPECAzat Khuzhin2014-03-271-0/+14
| | | | |
| * | | | test: add family argument for http_connection_test_()Azat Khuzhin2014-03-271-4/+7
| | | | |
| * | | | Add evhttp_connection_set_family() to set addrinfo->family for DNS requestsAzat Khuzhin2014-03-213-1/+15
| | | | | | | | | | | | | | | | | | | | This is useful if you want to avoid extra dns requests.
* | | | | use correct tt macro for pointer compareNick Mathewson2014-09-181-1/+1
| | | | |
* | | | | Merge pull request #128 from azat/tests-disable-when-inactive-v5Nick Mathewson2014-09-181-5/+78
|\ \ \ \ \ | | | | | | | | | | | | Some tests for EVDNS_BASE_DISABLE_WHEN_INACTIVE flag
| * | | | | regress dns: drop alarm() (since windows don't have it)Azat Khuzhin2014-04-111-3/+0
| | | | | |
| * | | | | evdns: add regress test for flag EVDNS_BASE_DISABLE_WHEN_INACTIVE without nsAzat Khuzhin2014-04-101-0/+44
| | | | | |
| * | | | | evdns: add regress for EVDNS_BASE_DISABLE_WHEN_INACTIVE base flagAzat Khuzhin2014-04-101-6/+38
| |/ / / /
* | | | | Merge pull request #129 from azat/disable-probing-with-disable-when-inactive-v2Nick Mathewson2014-09-181-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 failAzat Khuzhin2014-04-101-4/+3
| | | | | |
| * | | | | evdns: disable probing with EVDNS_BASE_DISABLE_WHEN_INACTIVEAzat Khuzhin2014-04-091-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_updNick Mathewson2014-09-082-66/+82
|\ \ \ \ \ | |_|_|_|/ |/| | | | updates in cmake build
| * | | | updates in cmake buildSergey Nikulov2014-09-022-66/+82
| | | | |
* | | | | Merge pull request #103 from ufo2243/masterNick Mathewson2014-09-031-1/+1
|\ \ \ \ \ | |/ / / / |/| | | | [Bugfix] fix grammer error
| * | | | [Bugfix] fix grammer errorufo22432014-09-031-1/+1
|/ / / /
* | | | Correctly handle allocation failures in evdns_getaddrinfoNick Mathewson2014-08-291-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 Mathewson2014-08-292-0/+8
|\ \ \ \ | | |/ / | |/| |
| * | | Consistently check for failure from evbuffer_pullup()Nick Mathewson2014-08-292-0/+8
| | | | | | | | | | | | | | | | Closes issue #148.
* | | | Merge pull request #153 from azat/tests-simplestsignalNick Mathewson2014-08-291-4/+20
|\ \ \ \ | | | | | | | | | | test/regress: add simplestsignal: to track reorder bugs separately
| * | | | test/regress: add simplestsignal: to track reorder bugs separatelyAzat Khuzhin2014-06-291-4/+20
| | | | |
* | | | | Merge remote-tracking branch 'origin/patches-2.0'Nick Mathewson2014-08-291-1/+1
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | Conflicts: sample/http-server.c
| * | | | Use FindClose for handle from FindFirstFile in http-server.cNick Mathewson2014-08-291-1/+1
| | | | | | | | | | | | | | | | | | | | Noted by Miles Chan as issue #145
* | | | | Change return type of evutil_load_windows_system_library_ to HMODULENick Mathewson2014-08-293-4/+4
| | | | | | | | | | | | | | | | | | | | Noted by Miles Chan as issue #146
* | | | | Fix issue #127, double free for filterevents that use BEV_OPT_CLOSE_ON_FREEJohn Ohl2014-08-291-21/+48
| | | | |
* | | | | Merge remote-tracking branch 'origin/patches-2.0'Nick Mathewson2014-08-181-0/+3
|\ \ \ \ \ | |/ / / / | | / / / | |/ / / |/| | |
| * | | Add a few files created by "make verify" to .gitignore.Pierre Phaneuf2014-08-181-0/+3
| | | |
* | | | Merge pull request #140 from vapier/ignoreNick Mathewson2014-06-141-0/+2
|\ \ \ \ | | | | | | | | | | ignore config.cache/test-driver files
| * | | | ignore config.cache/test-driver filesMike Frysinger2014-06-131-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | config.cache is generated when you run `./configure -C`. test-driver comes from newer autotools.
* | | | | Merge pull request #143 from vapier/disable-sampleNick Mathewson2014-06-142-0/+6
|\ \ \ \ \ | |/ / / / |/| | | | add a --disable-samples configure flag