|
852af060
|
2020-10-04T17:44:34
|
|
http-server: add cli argument for max body size
|
|
56e12131
|
2020-09-18T16:34:34
|
|
Remove dead code from bufferevent_socket_connect
|
|
9b270c5e
|
2020-09-16T08:10:11
|
|
Generate only real man pages with doxygen (MAN_LINKS=NO)
WIth MAN_LINKS=YES doxygen will generate ton's of man pages for each
field, function and so on, but it will not contain anything useful
except for link to another man page (header).
So to avoid man pages clashing, disable MAN_LINKS, and this will
generate man pages only for explicitly documented parts.
But even after this we have pretty non-unique man pages names:
$ find install/ -name '*.3'
install/share/man/man3/util.h.3
...
Looks like we should add prefix for each of them...
But let's see if there will be a problem.
Fixes: #1097
|
|
31a5cfd3
|
2020-09-16T08:25:20
|
|
Remove man pages from repo (they can be generated via doxygen)
The problem with this man pages are:
- they are likely outdated
- they don't have install target
- and besides quality of man pages generated by doxygen not worse
|
|
b45a02ef
|
2020-09-16T11:31:33
|
|
sample: add https-client-mbedtls
|
|
53c68675
|
2020-09-15T18:15:24
|
|
test: fix windows error when mbedtls https
|
|
67520709
|
2020-09-14T21:37:50
|
|
Merge #1087 - tests for https with mbedtls
* upstream/pr/1087:
test: add https with mbedtls
bufferevent_openssl: fix -Wcast-function-type for SSL_pending
|
|
a7d3cd40
|
2020-09-14T21:30:02
|
|
Add build w/o any SSL support (i.e. w/o openssl and mbedtls)
This pure build w/o SSL has been removed in mbedtls PR - #1028
|
|
2403ae57
|
2020-09-06T15:33:32
|
|
test: add https with mbedtls
|
|
f07898e3
|
2020-07-25T17:17:46
|
|
bufferevent_openssl: fix -Wcast-function-type for SSL_pending
Introduced-in: #1028
|
|
a18301a2
|
2020-09-08T15:38:16
|
|
http: const out address param to evcon_get_peer
|
|
02428d9a
|
2020-09-01T01:08:16
|
|
build: fix building under windows with thread support
Fixes: 972289f3 ("Detect existence of pthread_mutexattr_setprotocol()")
|
|
c2a9ecff
|
2020-08-29T18:41:39
|
|
Fix: long -> enum evhttp_cmd_type type
|
|
2338f27e
|
2020-08-29T01:15:20
|
|
test/regress_dns: fix -Wmaybe-uninitialized
Was not noticed since it is reported only with optimization enabled, as
stated in gcc(1):
The effectiveness of some warnings depends on optimizations also
being enabled. For example -Wsuggest-final-types is more effective with
link-time optimization and -Wmaybe-uninitialized does not warn at all
unless optimization is enabled.
And interesting thing is that it is reported only for -O2, not for -O3,
that's why I did not catched it in both cmake env that I had:
- debug (it has -O0)
- release (it has -O3)
While autoconf has -O2.
|
|
972289f3
|
2020-08-29T01:15:20
|
|
Detect existence of pthread_mutexattr_setprotocol()
Fixes: #1084
|
|
e3e7bb21
|
2020-08-11T02:12:23
|
|
build: add doxygen to all
Fixes: 7e6c5fb4 ("build: do not try install doxygen man pages if they were not requested")
Fixes: #1075
Fixes: #886
|
|
7e6c5fb4
|
2020-08-06T10:24:55
|
|
build: do not try install doxygen man pages if they were not requested
Fixes: #1075
|
|
4cf0d712
|
2020-08-06T10:12:07
|
|
Merge #1074
yuangongji:
"Fix CI failures #1071
- Install vcpkg through the source code to temporarily solve the windows CI problem.
- Update cache version and replace setup-msys2."
* upstream/pr/1074:
fix CI:Update cache version and replace setup-msys2
fix CI: Install vcpkg through the source code to temporarily solve the windows CI problem
|
|
cf2ac1af
|
2020-08-05T12:12:08
|
|
fix CI:Update cache version and replace setup-msys2
|
|
92b9109e
|
2020-08-05T10:14:53
|
|
fix CI: Install vcpkg through the source code to temporarily solve the windows CI problem
|
|
eb7bed03
|
2020-08-01T16:10:48
|
|
Convert from WinCrypt to Windows BCrypt
Fixes: #1069
|
|
efa57159
|
2020-08-01T14:05:39
|
|
Handle return value from getrandom()
|
|
62c152d9
|
2020-07-28T11:03:46
|
|
Remove reduntant variables in workflows with deploy
Fixes: bfbbc882 ("Change user.name/user.email to robot for deploy via github actions")
|
|
bfbbc882
|
2020-07-28T11:02:15
|
|
Change user.name/user.email to robot for deploy via github actions
|
|
eeeed1e1
|
2020-07-28T01:19:28
|
|
test/dns: fix initialize_nameservers when there is ipv6 in /etc/resolv.conf
Fixes: #1060
|
|
65199178
|
2020-07-25T21:17:21
|
|
windows socketpair tmpfile: use random prefix
fixes #1058
GetTempFileNameA() takes an optional prefix, and a "unique" long value
which can optionally be zero, which causes it to automatically
increment until a not-yet-existing filename is found.
When libevent creates many AF_UNIX socketpairs on windows,
it slows down dramatically, due to always using the same blank prefix,
and GetTempFileNameA() needing to iterate through all the existing
socketpair filenames. With a present and varying prefix, it will have
much less need to iterate.
It was also possible for a race with other processes also using
blank-prefix tmpfile names to result in both trying to start using
the same name at the same time (because libevent deletes the file
and then re-creates it as a unix socket), which should now be
much less likely.
Unfortuantely, "much" is just a factor of 32k, because the prefix
is only 3 characters, and windows filesystems are case-insensitive,
so doing better would require more sophisticated windows API usage
and charset trickyness.
|
|
85c67599
|
2020-07-24T17:19:14
|
|
fix: compat mbedtls < 2.4
|
|
948ad304
|
2020-07-23T23:38:53
|
|
Fix bufferevent_get_{openssl,mbedtls}_error()
The bufferevent_get_openssl_error() returns unsigned long, so returning
-1 on error in unclear. Let's use 0.
Fixes: #1028
|
|
50dac7ad
|
2020-07-23T02:01:02
|
|
ci/doxygen: install missing libmbedtls-dev
|
|
8ec46826
|
2020-07-23T01:08:22
|
|
ci/coverage: add missing libmbedtls-dev
|
|
e458696c
|
2020-07-23T00:28:09
|
|
le-proxy: ignore SIGPIPE
Fixes: #1057
|
|
53e53b01
|
2020-07-23T00:22:45
|
|
test/regress_buffer.c: fix -Wbad-function-cast (in some specific env)
Fixes: #1054
|
|
0e339b04
|
2020-07-23T00:14:34
|
|
Merge branch 'mbedtls'
This patch set provides mbed TLS support.
The interface part (include/event2/bufferevent_ssl.h) LGTM, so this can
be safely merged (although there are some bits left).
Includes:
- bufferevent_mbedtls_*
- regress_mbedtls tests
Left:
- regress_http https_mbedtls support
- ChangeLog entry
* mbedtls:
test: rename ssl/* -> openssl/*
Join le_ssl_ops.post_init with le_ssl_ops.init
Update LICENSE for ssl-client-mbedtls.c
Merge ssl implementations (openssl and mbedtls)
add mbedtls to CI
fix build system and add test and cleanup code
mbed TLS cmake support
simple https client example using mbedtls
mbedtls based SSL implementation
|
|
1bfbbdf2
|
2020-07-22T23:10:17
|
|
test: rename ssl/* -> openssl/*
|
|
5671575a
|
2020-07-22T23:08:50
|
|
Join le_ssl_ops.post_init with le_ssl_ops.init
|
|
e1cdf1a1
|
2020-07-22T23:02:31
|
|
Update LICENSE for ssl-client-mbedtls.c
|
|
d095b834
|
2020-07-07T17:26:46
|
|
Merge ssl implementations (openssl and mbedtls)
This patch splits common part out to avoid copy-paste from the
- bufferevent_openssl.c
- bufferevent_mbedtls.c
It uses VFS/bufferevent-like approach, i.e. structure of callbacks.
|
|
dad699cc
|
2020-05-27T15:29:42
|
|
add mbedtls to CI
|
|
028385f6
|
2020-05-28T17:14:46
|
|
fix build system and add test and cleanup code
|
|
8218777d
|
2020-01-14T12:18:27
|
|
mbed TLS cmake support
FindMbedTLS.cmake is come from https://github.com/AVSystem/avs_commons/blob/master/cmake/FindMbedTLS.cmake, which is licensed under Apache 2.0
alternatives:
https://github.com/curl/curl/blob/master/CMake/FindMbedTLS.cmake without variable MBEDTLS_ROOT_DIR
https://github.com/libgit2/libgit2/blob/master/cmake/Modules/FindmbedTLS.cmake GPLv2 with a special Linking Exception
|
|
7680409a
|
2020-01-13T23:08:26
|
|
simple https client example using mbedtls
Based on mbedtls's source code programs/ssl/ssl_client1.c
|
|
b28effa9
|
2020-01-13T23:04:29
|
|
mbedtls based SSL implementation
prototype is libevent-2.1.11-stable libevent_openssl.c
|
|
79dc8789
|
2020-07-20T21:59:10
|
|
doc: fix typo in thread.h
s/evthred_use_pthreads_with_flags/evthread_use_pthreads_with_flags/
|
|
883587a9
|
2020-07-10T22:18:59
|
|
Merge #1048 -- append warning flags only if they are available (autotools)
* upstream/pr/1048:
build: remove -Wstrict-aliasing as strict-aliasing is disabled
build: move automake options into AM_INIT_AUTOMAKE call
build: remove commented code from configure.ac
build: use feature detection when adding compile flags
build: add ax_check_compile_flag macro
|
|
97a899d9
|
2020-07-07T13:58:47
|
|
build: remove -Wstrict-aliasing as strict-aliasing is disabled
Note that -Wstrict-aliasing is also include in -Wall.
|
|
28e31050
|
2020-07-03T16:02:09
|
|
build: move automake options into AM_INIT_AUTOMAKE call
|
|
0a537b25
|
2020-07-03T15:47:10
|
|
build: remove commented code from configure.ac
|
|
0ea7f707
|
2020-06-26T14:33:43
|
|
build: use feature detection when adding compile flags
Rather than trying to detect (potentially very old) GCC versions, just
test whether the flag works with the compiler, and add it to CLFAGS if
so.
-Werror is used to convert unknown flag warnings into errors, and
prevent their addition to CLFAGS.
|
|
ffb09b16
|
2020-06-26T14:04:26
|
|
build: add ax_check_compile_flag macro
|
|
e9a6b127
|
2020-07-05T13:55:53
|
|
ci/linux: create dist artifact only if dist archive was built
Fixes: 512c88ce ("ci/linux: add dist check")
|
|
f6bfa8b3
|
2020-07-05T13:16:52
|
|
Merge branch 'fix-signal-leak'
Fixes main/fork under ASAN (LSAN if to be precise)
* fix-signal-leak:
select: requires reinit (otherwise it leaks signal handlers)
poll: requires reinit (otherwise it leaks signal handlers)
|
|
4edfe6ad
|
2020-07-05T13:16:03
|
|
select: requires reinit (otherwise it leaks signal handlers)
Fixes: main/fork under SELECT with ASAN
|
|
c51c09b8
|
2020-07-05T13:14:36
|
|
poll: requires reinit (otherwise it leaks signal handlers)
Fixes: main/fork under POLL with ASAN
|
|
90bcf2d6
|
2020-07-05T11:59:32
|
|
test: fix leak in dns/getaddrinfo_cancel_stress
Some requests may get response (evutil_addrinfo) from gaic_server_cb,
in case of cancel_event (10000ms) will not be fast enough.
|
|
ba19b356
|
2020-07-05T11:45:56
|
|
test: fix UB in evbuffer/empty_reference_prepend_buffer
UBSAN reports:
test/regress_buffer.c:2360:2: runtime error: null pointer passed as argument 1, which is declared to never be null
/usr/include/string.h:140:33: note: nonnull attribute specified here
|
|
9da1743b
|
2020-07-05T11:21:04
|
|
ci: set build type to debug with sanitizers
|
|
7b9ba3b7
|
2020-07-05T11:14:18
|
|
test: really disable bufferevent_pair_release_lock under ASAN (and fix gcc)
|
|
e2f938c0
|
2020-07-05T11:08:05
|
|
test-closed: fix leak
|
|
b6497fa1
|
2020-07-04T15:55:22
|
|
build: do not disable deprecation warnings on macOS
this was for using openssl-0.9.8 included in macOS 10.7 - 10.12,
but it is long since time you really should not use that openssl
|
|
9ca7a492
|
2020-07-03T09:27:20
|
|
Merge #1046 -- build: misc configure changes
* upstream/pr/1046:
build: consolidate darwin compile flag additions in configure
build: consistently use dnl for comments in configure.ac
|
|
1cea01d6
|
2020-06-28T17:10:03
|
|
Add abi-check report into artifacts
|
|
e05ee6d3
|
2020-06-28T18:40:26
|
|
build: consolidate darwin compile flag additions in configure
This is mostly move-only, apart from some changes to comments.
|
|
8ac10b6b
|
2020-06-28T18:30:54
|
|
build: consistently use dnl for comments in configure.ac
|
|
0ac3cfc0
|
2020-06-26T10:35:44
|
|
test: add getaddrinfo(AI_ADDRCONFIG) test (off by default)
|
|
ff4ec5fd
|
2020-06-26T14:35:41
|
|
build: remove duplicate -Wredundant-decls
|
|
d5aa783b
|
2020-06-25T23:16:16
|
|
Merge branch 'tests-under-sanitizers'
* tests-under-sanitizers:
test: fix memory leaks for https (add BEV_OPT_CLOSE_ON_FREE)
test: "fix" (with a quirk) leak in ssl/bufferevent_wm (w/o defer callbacks)
test: disable bufferevent/bufferevent_pair_release_lock under ASAN (too tricky)
test: detect test failures if atexit handler calls _exit(!0) (sanitizers)
Add LSAN suppressions (for OpenSSL temporary quirk)
Add TSAN suppressions
ci: run tests under sanitizers
Fixes: #955
|
|
ec94a6bb
|
2020-06-25T21:56:31
|
|
test: fix memory leaks for https (add BEV_OPT_CLOSE_ON_FREE)
- http/https_filter_basic
- http/https_filter_chunk_out
|
|
cdbb2373
|
2020-06-25T21:40:40
|
|
test: "fix" (with a quirk) leak in ssl/bufferevent_wm (w/o defer callbacks)
|
|
3b13a647
|
2020-06-25T21:25:51
|
|
test: disable bufferevent/bufferevent_pair_release_lock under ASAN (too tricky)
And cannot be suppressed with suppressions due to setup routines.
|
|
6754740f
|
2020-06-25T21:01:53
|
|
test: detect test failures if atexit handler calls _exit(!0) (sanitizers)
tinytest uses another way of detecting test failures, it uses pipe
between child and parent, and if the test function in child returns OK
it writes OK flag into pipe, and reads it in parent.
However sanitizers uses atexit handlers to detect leaks, and this will
not detect failures in case of exit() will be called from the atexit
handlers, fix this by checking status after waitpid().
|
|
3fec471c
|
2020-06-25T21:34:02
|
|
Add LSAN suppressions (for OpenSSL temporary quirk)
|
|
b90b1925
|
2020-06-25T21:01:53
|
|
Add TSAN suppressions
|
|
0db4e1c4
|
2020-06-25T21:01:53
|
|
ci: run tests under sanitizers
Added:
- ASAN
- TSAN
- UBSAN
And disable some tests that are know to have leaks.
|
|
46c9ead0
|
2020-06-25T08:08:10
|
|
Make all classes Entry, Struct, etc) new-style classes
This allows the object methods to be properly inherited and called via
`super(..)`, addressing breakage with python 2.x, introduced in
cfcc093606e747a5d250787012bac0b149c60d6d.
Fixes #1042.
Signed-off-by: Enji Cooper <yaneurabeya@gmail.com>
|
|
c424594b
|
2020-06-25T10:18:43
|
|
evdns: do not pass NULL to memcpy() in evdns_server_request_format_response()
In case of OPT pseudo-RR `class` field is treated as a requestor's UDP
payload size, and class will have 512 (DNS_MAX_UDP_SIZE), and data is
NULL:
(gdb) p *item
$4 = {
next = 0x0,
name = 0x602000000130 "",
type = 41,
class = 512,
ttl = 0,
is_name = 0 '\000',
datalen = 0,
data = 0x0
}
And UBSAN will reports:
../evdns.c:2493:5: runtime error: null pointer passed as argument 2, which is declared to never be null
#0 0x7ffff70b65bb in evdns_server_request_format_response ../evdns.c:2493
#1 0x7ffff70b706b in evdns_server_request_respond ../evdns.c:2529
#2 0x5555557975ab in regress_dns_server_cb ../test/regress_testutils.c:263
#3 0x7ffff70a8489 in request_parse ../evdns.c:1576
#4 0x7ffff70aa445 in server_udp_port_read ../evdns.c:1726
#5 0x7ffff70ac5cc in server_port_ready_callback ../evdns.c:1849
#6 0x7ffff6d3054c in event_persist_closure ../event.c:1645
#7 0x7ffff6d311cd in event_process_active_single_queue ../event.c:1704
#8 0x7ffff6d33258 in event_process_active ../event.c:1805
#9 0x7ffff6d361b5 in event_base_loop ../event.c:2047
#10 0x7ffff6d334ac in event_base_dispatch ../event.c:1839
#11 0x555555739df2 in test_edns ../test/regress_dns.c:2639
#12 0x5555557b9e96 in testcase_run_bare_ ../test/tinytest.c:173
#13 0x5555557ba8f0 in testcase_run_one ../test/tinytest.c:333
#14 0x5555557bc9a0 in tinytest_main ../test/tinytest.c:527
#15 0x555555787faa in main ../test/regress_main.c:528
#16 0x7ffff606c001 in __libc_start_main (/usr/lib/libc.so.6+0x27001)
#17 0x55555569436d in _start (/src/le/libevent/.cmake-debug/bin/regress+0x14036d)
|
|
a0c642ac
|
2020-06-25T10:15:01
|
|
buffer: do not pass NULL to memcpy() from evbuffer_pullup()
UBSAN reports:
evbuffer/remove_buffer_with_empty3: ../buffer.c:1443:3: runtime error: null pointer passed as argument 2, which is declared to never be null
#0 0x7ffff6cd0410 in evbuffer_pullup ../buffer.c:1443
#1 0x5555556d68b9 in test_evbuffer_remove_buffer_with_empty3 ../test/regress_buffer.c:408
#2 0x5555557b95ee in testcase_run_bare_ ../test/tinytest.c:173
#3 0x5555557ba048 in testcase_run_one ../test/tinytest.c:333
#4 0x5555557bc0f8 in tinytest_main ../test/tinytest.c:527
#5 0x555555787702 in main ../test/regress_main.c:528
#6 0x7ffff606c001 in __libc_start_main (/usr/lib/libc.so.6+0x27001)
#7 0x55555569436d in _start (/src/le/libevent/.cmake-debug/bin/regress+0x14036d)
|
|
6f152bef
|
2020-06-25T09:59:35
|
|
test: do not pass NULL to memcmp() in evbuffer_datacmp() helper
Fixes:
runtime error: null pointer passed as argument 2, which is declared to never be null
|
|
37dbb350
|
2020-06-25T08:45:34
|
|
http: fix undefined-shift in EVUTIL_IS*_ helpers
evutil.c:2559:1: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
#0 0x4f2be0 in EVUTIL_ISXDIGIT_ libevent/evutil.c:2559:1
#1 0x4bd689 in regname_ok libevent/http.c:4838:7
#2 0x4bc16b in parse_authority libevent/http.c:4958:9
#3 0x4bb8b5 in evhttp_uri_parse_with_flags libevent/http.c:5103:7
#4 0x4bb762 in evhttp_uri_parse libevent/http.c:5050:9
#5 0x4b8f41 in evhttp_parse_query_impl libevent/http.c:3505:9
#6 0x4b8ed7 in evhttp_parse_query libevent/http.c:3569:9
Bug: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=23291
Report: https://oss-fuzz.com/testcase-detail/5670743106125824
|
|
4528d8e9
|
2020-06-25T09:08:31
|
|
Check error code of evhttp_add_header_internal() in evhttp_parse_query_impl()
|
|
45c3fc29
|
2020-06-22T19:40:06
|
|
wepoll: use lower-cased windows headers
This matches their use throughout the rest of the project, and fixes the
build when you are cross-compiling on Linux using mingw-w64. i.e:
CC epoll.lo
CC wepoll.lo
CC signal.lo
wepoll.c:138:10: fatal error: WS2tcpip.h: No such file or directory
#include <WS2tcpip.h>
^~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:1918: wepoll.lo] Error 1
|
|
26d5ff45
|
2020-06-18T15:47:14
|
|
cmake: avoid problems from use of CMAKE_USE_PTHREADS_INIT
In some CMake integrations, portions of the toolchain may end up
defining CMAKE_USE_PTHREADS_INIT even when EVENT__DISABLE_THREAD_SUPPORT
is set for libevent. Modify the build to not rely on this side effect
of find_package(Threads, ...) [which could be done elsewhere] but instead
to use EVENT__HAVE_PTHREADS which is defined only on the desired codepath.
Without this change, affected builds fail as a result of event_pthreads source
files being built but with build defines which cause the build to fail.
Signed-off-by: Paul Osborne <paul.osborne@smartthings.com>
|
|
efbe563b
|
2020-05-28T17:32:05
|
|
recreate socket when udp failed
|
|
2aaa7358
|
2020-06-02T10:12:20
|
|
test/regress_http: remove second ARRAY_SIZE macros
|
|
8b5a4d61
|
2020-06-02T10:01:31
|
|
test/regress_testutils: use inet_addr()
|
|
271c5aaa
|
2020-06-02T10:00:38
|
|
test/regress_dns: use tt_int_op() over tt_assert() in assert_request_results()
|
|
83c58d49
|
2020-05-31T19:59:49
|
|
evdns: Add support for setting maximum UDP DNS message size.
Added new option `edns-udp-size` for evdns_base which allows
to control maximum allowed size of UDP DNS messages. This
maximum size is passed to the DNS server via edns mechanism.
|
|
c753ae87
|
2020-05-28T11:50:49
|
|
CI: catch failures and retry
|
|
a9aa2b36
|
2020-05-27T15:39:49
|
|
remove FindGit.cmake, improve `git describe` command
|
|
89d313b1
|
2020-05-27T20:33:25
|
|
checkpatch.sh: fix clang-format-diff usage
- strip 1 path component
- it does not accept file name anymore, only stdin
Refs: #1029
|
|
8209a623
|
2020-05-27T20:31:29
|
|
checkpatch.sh: fix usage
Refs: #1029
|
|
866fbb54
|
2020-05-28T00:03:03
|
|
Fix clang-format-diff usage
"--style" is invalid:
$ ./checkpatch.sh -r HEAD
usage: clang-format-diff [-h] [-i] [-p NUM] [-regex PATTERN] [-iregex PATTERN]
[-sort-includes] [-v] [-style STYLE] [-binary BINARY]
clang-format-diff: error: unrecognized arguments: --style={ Language:... }
|
|
7426a568
|
2020-05-25T11:25:18
|
|
http: Merge branch 'http-max_connections-pr-592'
@jcoffland:
"When the max connection limit is enabled and the limit is reached, the
server will respond immediately with 503 Service Unavailable. This can
be used to prevent servers from running out of file descriptors. This is
better than request limiting because clients may make more than one
request over a single connection. Blocking a request does not
necessarily close the connection and free up a socket."
* http-max_connections-pr-592:
test: cover evhttp max connections
Added evhttp max simultaneous connection limiting
|
|
95c1c200
|
2020-05-25T03:34:16
|
|
test: cover evhttp max connections
|
|
f10aaea3
|
2020-05-25T10:33:24
|
|
variable redefinition in win32_dispatch
|
|
028842aa
|
2020-05-25T03:13:00
|
|
Merge branch 'evdns-tcp-pr-1004'
@seleznevae:
"Added support for DNS requests via TCP. By default, requests are done
via UDP. In case truncated response is received new attempt is done
via TCP connection. Added 2 new macros DNS_QUERY_USEVC and
DNS_QUERY_IGNTC to force all requests to be done via TCP and to disable
switch to TCP in case of truncated responses.
Also added possibility for DNS server to listen and receive requests on
TCP port. Current implementation of TCP support in DNS server seems
rather preliminary and maybe changes after discussion and code review.
Fallback to TCP in case of truncated DNS requests is done automatically.
To imitate the old behaviour macros DNS_QUERY_IGNTC should be used. To
force all DNS requests to be done via TCP one should use the flag
DNS_QUERY_USEVC. Names DNS_QUERY_IGNTC, DNS_QUERY_USEVC were chosen to
imitate similar flags in c-ares and glibc."
Ok, interfaces looks good, merging to avoid stalling it for too long.
* evdns-tcp-pr-1004:
evdns: fix coding style issues
evdns: fix trailing whitespaces
evdns: bufferevent_setcb before bufferevent_free is redundant
evdns: Implement dns requests via tcp
|
|
2c2248ea
|
2020-05-25T03:06:43
|
|
evdns: fix coding style issues
|
|
1cab3c05
|
2020-05-25T02:55:38
|
|
evdns: fix trailing whitespaces
|
|
1cf24f04
|
2020-05-25T02:35:55
|
|
evdns: bufferevent_setcb before bufferevent_free is redundant
|
|
e8c89510
|
2020-05-25T02:06:32
|
|
test: http/autofree_connection cleanup
|
|
0f6ee89a
|
2020-05-21T12:46:20
|
|
evdns: Implement dns requests via tcp
|