Evgeny Grin (Karlson2k)
fa330be735
Added tests for cleanup of unprocessed externally added connections
2020-10-25 17:19:01 +03:00
Evgeny Grin (Karlson2k)
19b038f682
Fixed thread-safety for externally added connections
...
Fully re-implemented scheme of adding connections
from external thread (application)
2020-10-25 17:15:14 +03:00
Evgeny Grin (Karlson2k)
3460db01ec
daemon.c: fixed leak of resources if daemon is failed to start
2020-10-23 14:34:54 +03:00
Evgeny Grin (Karlson2k)
5a3340810f
daemon: fixed pool leak if connection isn't added because of error
2020-10-22 21:02:07 +03:00
Evgeny Grin (Karlson2k)
a9be622007
Do not deinit GnuTLS if it wasn't inited.
...
Fix for 13fe456581
2020-10-22 17:26:21 +03:00
Evgeny Grin (Karlson2k)
13fe456581
new_connection_prepare_(): added check for valid TLS initialisation
2020-10-22 17:02:27 +03:00
Evgeny Grin (Karlson2k)
53fec1c213
daemon.c: fixed leaked on error GnuTLS resource
2020-10-22 17:02:26 +03:00
Christian Grothoff
dd9aadce4c
Merge branch 'master' of git+ssh://gnunet.org/libmicrohttpd
2020-10-22 11:48:57 +02:00
Christian Grothoff
c43779a4be
fix typos
2020-10-22 11:48:54 +02:00
Evgeny Grin (Karlson2k)
276535e5ec
mhd_send: fixed order of includes
2020-10-21 19:31:01 +03:00
Evgeny Grin (Karlson2k)
4ebcd58de5
Makefile.am: reference dependencies in a better way
2020-10-21 14:52:25 +03:00
Evgeny Grin (Karlson2k)
890434efce
testcurl: added two tests for for MHD_add_connection()
2020-10-21 11:50:03 +03:00
Evgeny Grin (Karlson2k)
365597ea10
configure: check for support of __func__ magic-macro
2020-10-21 11:49:24 +03:00
Evgeny Grin (Karlson2k)
adcdafc558
Fixed non-functional daemon with NO_LISTEN and thread pool.
...
MHD failed to start any threads is used with MHD_USE_NO_LISTEN_SOCKET and
with thread pool.
2020-10-21 11:37:56 +03:00
Christian Grothoff
4b18c05142
bump version
2020-10-21 10:05:41 +02:00
Christian Grothoff
eb82d9a7c3
-undo bad indentation patch, updated uncrustify now
2020-10-21 10:04:35 +02:00
Christian Grothoff
567aa11a97
Fix #6610 as suggested by AP
2020-10-21 10:01:52 +02:00
Evgeny Grin (Karlson2k)
e55249435f
English grammar fixes
2020-10-20 22:12:22 +03:00
Evgeny Grin (Karlson2k)
2efd5f535e
test_digestauth_sha256: use unique daemon's port
2020-10-20 22:05:32 +03:00
Evgeny Grin (Karlson2k)
3d339ebd9f
MHD_add_connection(): warn about suboptimal usage
2020-10-20 22:05:32 +03:00
Evgeny Grin (Karlson2k)
ccd6760367
MHD_add_connection(): do not cleanup if not safe
2020-10-20 22:05:32 +03:00
Evgeny Grin (Karlson2k)
1777068bd8
mhd_send: round up readahead size on FreeBSD
2020-10-15 17:04:02 +03:00
Evgeny Grin (Karlson2k)
16d9f9e426
mhd_send: fixed broken sendfile() on FreeBSD, v0.9.67 regression
2020-10-15 16:27:45 +03:00
Evgeny Grin (Karlson2k)
a123fcc9ee
internal_add_connection: refactoring-1: moved thread-independent code and
...
thread-dependent code to separate functions
2020-10-13 20:50:11 +03:00
Evgeny Grin (Karlson2k)
d732c2d43e
connection.c: tuned assert
2020-10-11 22:10:35 +03:00
Evgeny Grin (Karlson2k)
ae49c200af
MHD_add_connection: small refactoring
2020-10-11 17:53:06 +03:00
Evgeny Grin (Karlson2k)
f0d4dde902
Fixed compiler warnings
2020-10-11 17:17:08 +03:00
Evgeny Grin (Karlson2k)
1ad74ebc46
internal.h: added 'volatile' for some members with multi-thread access
2020-10-08 22:46:11 +03:00
Evgeny Grin (Karlson2k)
091bf71cb5
Added asserts to check correct threads for key functions
2020-10-08 22:44:33 +03:00
Evgeny Grin (Karlson2k)
fa42f6207b
mhd_threads: added and clarified comments
2020-10-08 21:12:13 +03:00
Evgeny Grin (Karlson2k)
cdb146b884
cosmetic fixes
2020-10-08 16:32:09 +03:00
Evgeny Grin (Karlson2k)
e58fbba00a
internal_add_connection: refuse blocking sockets in epoll mode
2020-10-08 15:20:50 +03:00
Evgeny Grin (Karlson2k)
558a5c86b2
setup_epoll_to_listen: do add ITC when have no listen socket
2020-10-08 11:52:39 +03:00
Evgeny Grin (Karlson2k)
1125f7dd9f
MHD_epoll: handle timeout before data processing
...
Connection should not timeout if it gets new data while processing data on other connections
2020-10-07 21:31:38 +03:00
Evgeny Grin (Karlson2k)
0c2f60904d
MHD_epoll: separate epoll results processing from external data processing
2020-10-07 20:23:53 +03:00
Evgeny Grin (Karlson2k)
9665bdd0a8
memorypool: fixed assert for an edge situation
2020-10-07 15:47:36 +03:00
Evgeny Grin (Karlson2k)
d4b9fc7ee1
configure: check whether IPv6 could be used for testing
2020-10-07 11:23:48 +03:00
Evgeny Grin (Karlson2k)
b47b1c94e2
configure: fixed typo, fixed detection of memory pagesize
2020-10-07 11:23:47 +03:00
Evgeny Grin (Karlson2k)
8a1ae1caf3
memorypool: more sanity checks
2020-10-07 11:23:47 +03:00
Evgeny Grin (Karlson2k)
7eb3139e9a
memorypool: added sanity checks
2020-10-05 22:05:03 +03:00
Evgeny Grin (Karlson2k)
74ccb7ae9d
memorypool: fixed typo
2020-10-05 22:02:56 +03:00
Evgeny Grin (Karlson2k)
7e36479893
configure: check and report target W32 version.
...
Default W32 version is now Vista or later.
WinXP is still supported by MHD
2020-10-01 18:44:43 +03:00
Evgeny Grin (Karlson2k)
be89295a4c
Updated ChangeLog
2020-09-30 19:31:10 +03:00
Christian Grothoff
123b86d1e4
correct interpretation of revalue of MHD_socket_cork_
2020-09-27 22:36:17 +02:00
Christian Grothoff
beb7fa828c
fix transmission stall issue with upgraded TLS connections reported by Nguyen Xuan Viet on the mailinglist
2020-09-27 22:12:13 +02:00
Christian Grothoff
1d9f940dca
fix thread-start issue discovered by Damon Earp
2020-09-26 20:23:21 +02:00
Evgeny Grin (Karlson2k)
efd1dd05f4
perf_get_concurrent: reduce number of iteration on W32 as free ports
...
are quickly excused on W32 with large amount of CPU cores
2020-09-24 16:55:10 +03:00
Evgeny Grin (Karlson2k)
f7c5d0d656
makefiles: removed .NOTPARALLEL: from main makefiles
...
Library itself, main tests and libcurl test could be build and
performed in parallel due to MHD_FEATURE_AUTODETECT_BIND_PORT feature
testzzuf tests still need to be updated for support of parallel
testing
2020-09-24 16:53:07 +03:00
Evgeny Grin (Karlson2k)
0c13207210
test_concurrent_stop: check for client errors
2020-09-24 15:13:25 +03:00
Evgeny Grin (Karlson2k)
68452021cb
test_concurrent_stop: removed unused define
2020-09-24 13:52:16 +03:00