Commit Graph
4924 Commits
Author SHA1 Message Date
Evgeny Grin (Karlson2k) 2e39c6b9de Removed redundant macro 2021-10-29 10:12:08 +03:00
Evgeny Grin (Karlson2k) 8b0b7ea28a configure: improved reporting which detecting available sanitizers 2021-10-28 12:32:32 +03:00
Evgeny Grin (Karlson2k) c2c728bc21 Added new W32 project files to the tarball 2021-10-27 21:33:36 +03:00
Evgeny Grin (Karlson2k) af75c70b42 Further improved PAGESIZE macro detection 2021-10-27 21:24:33 +03:00
Evgeny Grin (Karlson2k) 60cdf5f9e6 chunked responses: alway unlock response if closing the connection 2021-10-26 13:16:59 +03:00
Evgeny Grin (Karlson2k) 8a9bb841b8 Chunked responses: do not provide extra space for the response if size is known 2021-10-26 13:09:12 +03:00
Evgeny Grin (Karlson2k) 86b478e347 internal.h: clarified doxy 2021-10-26 13:07:24 +03:00
Evgeny Grin (Karlson2k) 54e679e5a7 connection.c: fixed harmless compiler warning 2021-10-26 10:42:50 +03:00
Evgeny Grin (Karlson2k) a1cc6eeea3 src/microhttpd/Makefile: cosmetics 2021-10-26 10:10:55 +03:00
Evgeny Grin (Karlson2k) 740deea3a8 W32 VS projects: use C17 if available 2021-10-25 19:24:51 +03:00
Evgeny Grin (Karlson2k) 6ef0c39eb7 W32: added VS project files for the latest installed toolset 2021-10-25 18:39:57 +03:00
Evgeny Grin (Karlson2k) cc0d92b9b2 W32: added VS2022 project files 2021-10-25 18:37:47 +03:00
Evgeny Grin (Karlson2k) b6a6f46c94 Fixed builds with MSVS 2021-10-25 16:57:57 +03:00
Evgeny Grin (Karlson2k) 75f339b076 tsearch.c: fixed missing include after f66a23d271 2021-10-25 16:57:56 +03:00
Evgeny Grin (Karlson2k) 481c63baad mhd_mono_clock: do not use MinGW clock wrappers on W32
System native clocks are always available on W32
2021-10-25 16:57:56 +03:00
Evgeny Grin (Karlson2k) f971d78f31 configure: removed unused HAVE_DECL_SOCK_NONBLOCK macro from MHD_config.h 2021-10-25 15:16:22 +03:00
Evgeny Grin (Karlson2k) bf024f2369 connection.c: fixed compiler warning 2021-10-25 15:00:21 +03:00
Evgeny Grin (Karlson2k) 03a73cf1a6 Removed unneeded cast of MHD_CONTENT_READER_END_* values 2021-10-25 14:59:52 +03:00
Evgeny Grin (Karlson2k) a2798b7c7d Chunked response: close connection if application returns more data than requested 2021-10-25 14:52:39 +03:00
Evgeny Grin (Karlson2k) 4e74523707 mhd_str: fixed typos in doxy comments 2021-10-25 14:07:53 +03:00
Evgeny Grin (Karlson2k) 9cb16af3d3 connection.c: fixed copy-paste error in comment 2021-10-24 14:43:35 +03:00
Evgeny Grin (Karlson2k) 276f601ffc Fixed: include "MHD_config.h" before other headers to set correct macros 2021-10-24 11:39:33 +03:00
Evgeny Grin (Karlson2k) 18c2ad66c7 websocket_threaded_example: fixed compiler warning on x32 platforms 2021-10-24 11:24:07 +03:00
Evgeny Grin (Karlson2k) 66f273f4d5 Added check at configure time for PAGESIZE and PAGE_SIZE macros
Some platforms may have them defined as call of function so compile-time check for
valid number may not work.
2021-10-24 10:58:42 +03:00
Evgeny Grin (Karlson2k) c407fe3d11 configure: fixed harmless typo in cache variable name 2021-10-23 18:11:11 +03:00
Evgeny Grin (Karlson2k) 0f6703b9fb configure: improved reporting on Solaris 2021-10-23 17:30:02 +03:00
Evgeny Grin (Karlson2k) 07829e8544 test_add_conn: used the better way to mute compiler and analyzer warnings 2021-10-23 16:41:33 +03:00
Evgeny Grin (Karlson2k) 916886cdf6 Added Lawrence Sebald to the AUTHORS file 2021-10-23 13:42:36 +03:00
Evgeny Grin (Karlson2k) 3baeda382b test_str: fixed wrong printf format 2021-10-23 11:41:02 +03:00
Evgeny Grin (Karlson2k) bbca0b654b test_tricky: fixed leaked resource 2021-10-17 19:31:08 +03:00
Evgeny Grin (Karlson2k) a378a81ca7 test_tricky: fixed compatibility with libcurl >=7.62 and <7.78 2021-10-17 18:26:32 +03:00
Evgeny Grin (Karlson2k) 381f2705a6 Fixed parsing of "\r\r", "\r", "\n\r" and "\n\n" as a single linefeed for chunked upload 2021-10-17 17:31:37 +03:00
Evgeny Grin (Karlson2k) 44b342f7ca internal.h: fixed doxy for read buffer
MHD always zero-terminate by replacing end-of-line chars and never zero-terminate by
write char after valid read position. Read buffer is NOT longer.
'read_buffer_offset' actually determines the first INVALID position.
2021-10-17 16:29:05 +03:00
Evgeny Grin (Karlson2k) 4ad019fd53 Fixed parsing of bare CR as end-of-line in HTTP headers 2021-10-17 16:21:04 +03:00
Evgeny Grin (Karlson2k) 0c39b80435 Removed leftover after 3a02f18ca6 2021-10-17 15:59:41 +03:00
Evgeny Grin (Karlson2k) 17d613d91c get_next_header_line(): improved and fixed comments 2021-10-17 15:34:35 +03:00
Evgeny Grin (Karlson2k) 746dae6ae0 Added error response for wrong 'Content-Length' values 2021-10-17 15:14:17 +03:00
Evgeny Grin (Karlson2k) e33dd19d70 A missing part for 3a02f18ca6 2021-10-17 15:12:46 +03:00
Evgeny Grin (Karlson2k) 3a02f18ca6 Simplified connection.c code: reused error reply function 2021-10-17 13:57:22 +03:00
Evgeny Grin (Karlson2k) 21cdab14f8 Transmit error reply to the clients if received broken chunked encoding 2021-10-17 13:51:51 +03:00
Evgeny Grin (Karlson2k) cb2d42d0af test_tricky: fixed copy-paste errors 2021-10-17 13:22:59 +03:00
Evgeny Grin (Karlson2k) d7786168ef Removed double close of connection with error 2021-10-17 13:06:22 +03:00
Evgeny Grin (Karlson2k) ec89305a37 Added two tests with non-standard symbols in requests 2021-10-17 11:53:21 +03:00
Evgeny Grin (Karlson2k) e2a49611e0 MHD_del_response_header(): documented new behaviors 2021-10-16 12:44:46 +03:00
Evgeny Grin (Karlson2k) ed765c4753 test_toolarge: removed debugging leftovers 2021-10-13 21:21:14 +03:00
Evgeny Grin (Karlson2k) c2b4cb4a96 MemoryPool: realloc: do not move old buffer pointer even if buffer size is zero 2021-10-10 21:50:40 +03:00
Evgeny Grin (Karlson2k) 4524fbe23f Added missing update of connection's read buffer size 2021-10-10 21:50:30 +03:00
Evgeny Grin (Karlson2k) a3c8bf22fb A small addition for 5bcd843d0b 2021-10-10 21:44:08 +03:00
Evgeny Grin (Karlson2k) 5bcd843d0b configure: added proper detection of user poisoning support with old compilers 2021-10-10 21:33:21 +03:00
Evgeny Grin (Karlson2k) c88c27b7d2 test_toolarge: fixed incorrect timeout value used for debugging 2021-10-10 21:17:53 +03:00