Commit Graph
2455 Commits
Author SHA1 Message Date
Evgeny Grin (Karlson2k) 710d79a2ea test_https_get_select: fixed usage of uninitialized variable 2019-05-26 18:02:51 +03:00
Evgeny Grin (Karlson2k) f1bf791836 curl tests: fixed detection of "11" marker on w32 2019-05-26 18:02:50 +03:00
Evgeny Grin (Karlson2k) dc4af6f600 perf_get_concurrent11: added new test, fixed "11" mode detection 2019-05-26 17:06:04 +03:00
Evgeny Grin (Karlson2k) 49edf6b94d perf_get_concurrent: fixed exhausting of local ports on multi-core machines 2019-05-26 16:45:03 +03:00
Evgeny Grin (Karlson2k) 55e624e7d0 test_concurrent_stop: heavily rewritten, added watchdog, avoided exhausting of ports,
fixed resource leakage.

Implemented local watchdog, so test will fails instead of hanging in
case of problems,
Reused connections on libcurl, so test really check functioning (before
fix test could just exhausted all local ports and did not have any
any connection for moment when "MHD_stop_daemon()" was called.
CURL resources are not leaked during normal testing.
2019-05-26 16:27:06 +03:00
Evgeny Grin (Karlson2k) 29e20dfb65 Fixed cast of incompatible function pointer,
Default logger must return 'void', not 'int'
2019-05-25 16:29:54 +03:00
Evgeny Grin (Karlson2k) 6d210e7986 Eliminated one compiler warning, checking is more correct now 2019-05-25 15:15:03 +03:00
Evgeny Grin (Karlson2k) 2eb0a5f92d Proper detection of .sin?_len members, fixed build on *BSD 2019-05-25 11:37:38 +03:00
Evgeny Grin (Karlson2k) c835a2334f MHD_start_daemon(): report if TCP_FASTOPEN is used on supported platform 2019-05-21 22:22:32 +03:00
Evgeny Grin (Karlson2k) ff0eb14d80 MHD_set_connection_value_n_nocheck_() mark as static function 2019-05-21 22:22:31 +03:00
Evgeny Grin (Karlson2k) 93ce7acc51 Removed extra ';' 2019-05-21 22:22:31 +03:00
Evgeny Grin (Karlson2k) c593fa6b82 Check TLS strings lengths 2019-05-21 22:22:30 +03:00
Evgeny Grin (Karlson2k) 240604a333 MHD_start_daemon(): fixed port detection on some platforms,
avoid re-use variable names.
2019-05-21 22:22:24 +03:00
Evgeny Grin (Karlson2k) 93d614ea83 Fixed compiler warning 2019-05-21 22:22:24 +03:00
Evgeny Grin (Karlson2k) 8254bfcd5d Removed unused macro 2019-05-21 22:22:23 +03:00
Evgeny Grin (Karlson2k) c011158fe6 Avoid dropping 'const' qualifier in macros 2019-05-21 22:22:23 +03:00
Evgeny Grin (Karlson2k) edfdbbf794 Fixed doxygen comments,
Fixed spelling in comments
2019-05-21 22:22:22 +03:00
Evgeny Grin (Karlson2k) 2c5033377f Spelling fixes 2019-05-21 17:57:04 +03:00
Christian Grothoff 73380b54a1 eliminate compiler warnings 2019-05-20 14:39:35 +02:00
Evgeny Grin (Karlson2k) c4d1c422f3 http_chunked_compression: fixed for non-64bit systems 2019-05-18 13:44:45 +03:00
Evgeny Grin (Karlson2k) 84905a4df0 http_chunked_compression example: clarify and improve readability 2019-05-18 13:44:45 +03:00
Evgeny Grin (Karlson2k) f5b8735538 http_compression example: fix compiler warning 2019-05-18 13:44:44 +03:00
Evgeny Grin (Karlson2k) e53b8ab457 mhd_limits.h: fixed typo 2019-05-18 13:44:44 +03:00
Evgeny Grin (Karlson2k) 11350cbeaf More speedups by using predefined length of strings 2019-05-15 23:51:49 +03:00
Evgeny Grin (Karlson2k) 2a0871b731 Fixed build from source on GNU Hurd 2019-05-15 14:57:50 +03:00
Evgeny Grin (Karlson2k) 100b8f2fc4 Use new MHD_lookup_connection_value_n() function 2019-05-03 20:08:19 +03:00
Evgeny Grin (Karlson2k) d270741b49 MHD_get_connection_values_n(): avoid ambiguous 'else' 2019-05-03 20:07:15 +03:00
Evgeny Grin (Karlson2k) 650d4685f7 Added MHD_get_connection_values_n() function to get keys and
values with size. Can get keys and values with binary zero.
2019-05-03 19:06:19 +03:00
Evgeny Grin (Karlson2k) e0d851cee3 MHD_set_connection_value*(): optimization to avoid double strlen(). 2019-05-03 19:01:16 +03:00
Evgeny Grin (Karlson2k) 203d885e1e test_postprocessor*: fixed to use updated struct MHD_HTTP_Header 2019-05-03 18:11:28 +03:00
Evgeny Grin (Karlson2k) 9631f33bdf test_postprocessor_amp: fixed to really test something 2019-05-03 17:56:35 +03:00
Evgeny Grin (Karlson2k) cc5032b853 Added MHD_lookup_connection_value_n(). 2019-05-03 16:48:57 +03:00
Evgeny Grin (Karlson2k) 7e4885da25 Fixed strlen(NULL) in bcdff02696 2019-05-03 16:37:33 +03:00
Evgeny Grin (Karlson2k) bcdff02696 Disallow binary zero in header and cookies. 2019-05-03 15:44:12 +03:00
Evgeny Grin (Karlson2k) 8aa7d23219 Partial revert of 1b610e5b13.
Implemented new functions for key and value with binary zero.
Significantly speedup search for key by using key size.
2019-05-01 22:12:24 +03:00
Evgeny Grin (Karlson2k) 08ea0cc894 response.c: added missing assigment of MHD_HTTP_Header::value_size 2019-05-01 22:11:16 +03:00
Evgeny Grin (Karlson2k) d533ad512a mhd_str: include proper and simpler header 2019-05-01 22:11:15 +03:00
silvioprog 19591dfcbe Fixed C++-style comments. 2019-04-30 19:23:49 -03:00
Christian Grothoff 58552e93ac applying patch from Tim 2019-04-30 15:39:10 +02:00
Christian Grothoff c3ac4b58de indent fix 2019-04-23 19:32:43 +02:00
Evgeny Grin (Karlson2k) 8928b32ebc test_md5.c: added missing include 2019-04-21 16:40:53 +03:00
Evgeny Grin (Karlson2k) fbe1ba9d47 mhd_bithelpers.h: used MSVC built-ins to speed-up VC-compiled code 2019-04-21 15:02:27 +03:00
Evgeny Grin (Karlson2k) d9506b7d29 Headers: better compatibility with MSVC compiler 2019-04-21 14:40:45 +03:00
Evgeny Grin (Karlson2k) d56c41f6f7 md5.c/.h: lowered number of included files. 2019-04-19 23:00:14 +03:00
Evgeny Grin (Karlson2k) f5970c7804 mhd_bithelpers.h: define _MHD_GET_32BIT_LE() and use it in md5.c 2019-04-19 22:35:15 +03:00
Evgeny Grin (Karlson2k) a50b4d566f mhd_bithelpers.h: use bytes swap instead of individual bytes
assignment when endianess is known to significantly speedup MD5 and
SHA256 calculations.
Use built-in bytes swap when available.
2019-04-19 22:07:37 +03:00
Evgeny Grin (Karlson2k) 9998ca7690 sha256.c: convert to Yoda conditions 2019-04-19 12:27:43 +03:00
Evgeny Grin (Karlson2k) 78a903946d sha256_update(): added shortcut for empty data,
avoid wrong/undefined behaviour of memcpy() with null pointer
2019-04-19 10:35:35 +03:00
Evgeny Grin (Karlson2k) 866b60aeb9 SHA256: rename sha256_digest() -> sha256_finish() 2019-04-19 10:33:07 +03:00
Evgeny Grin (Karlson2k) 5cfc039007 sha256.h: added missed include 2019-04-19 10:05:24 +03:00