Commit Graph
4924 Commits
Author SHA1 Message Date
Evgeny Grin (Karlson2k) 9d92a4827f Additional byte order detection in MHD_byteorder.h and some cosmetics 2015-08-09 00:18:33 +00:00
Evgeny Grin (Karlson2k) c71098bcc3 Updated ChangeLog, added missing newline 2015-08-08 12:30:14 +00:00
Evgeny Grin (Karlson2k) e15abfd99c daemon.c: recv_param_adapter(): fix VS compiler warning for send()/recv() 2015-08-08 12:30:06 +00:00
Evgeny Grin (Karlson2k) 066f70ea68 daemon.c: MHD_select(): check for timeout value overflow 2015-08-08 12:29:58 +00:00
Evgeny Grin (Karlson2k) 9d58eaee1f daemon.c: MHD_get_timeout(): check for value overflow 2015-08-08 12:29:51 +00:00
Evgeny Grin (Karlson2k) ca715348d3 daemon.c: MHD_handle_connection(): check timeout value for overflow of W32 2015-08-08 12:29:43 +00:00
Evgeny Grin (Karlson2k) 1ff4b273ac connection.c: try_ready_chunked_body(): fix VS compiler warning, small refactoring for readability 2015-08-08 12:29:34 +00:00
Evgeny Grin (Karlson2k) 341b9db92e connection.c: try_ready_chunked_body(): refactoring for optimization and clarity 2015-08-08 12:29:28 +00:00
Evgeny Grin (Karlson2k) 95d084fa6a Small refactoring in MHD_handle_connection() for optimization 2015-08-08 12:29:20 +00:00
Evgeny Grin (Karlson2k) d0acbabefa Update md5.c to version based on OpenBSD modifications,
distinguish between little endian and PDP endian.
2015-08-08 11:10:06 +00:00
Evgeny Grin (Karlson2k) bfbff93d6e connection.c: do_read(): fix wrong type 2015-08-07 07:38:24 +00:00
Evgeny Grin (Karlson2k) bed538758f connection.c: process_request_body(): fix VS compiler warning 2015-08-07 07:38:17 +00:00
Evgeny Grin (Karlson2k) 07be6ed352 connection.c: try_ready_chunked_body(): microoptimization, additional error checking 2015-08-07 07:38:10 +00:00
Evgeny Grin (Karlson2k) b4c8673624 connection.c: try_ready_normal_body(): fix VS compiler warning 2015-08-07 07:38:04 +00:00
Evgeny Grin (Karlson2k) 85771d883b connection.c: MHD_connection_handle_write(): check for limits, fix compiler warning 2015-08-07 07:37:57 +00:00
Evgeny Grin (Karlson2k) de60f56ce0 internal.h: add BUILTIN_NOT_REACHED macro for VS compiler 2015-08-06 15:45:32 +00:00
Evgeny Grin (Karlson2k) 7e69727f66 Correct MHD_MAX() and MHD_MIN() macros 2015-08-06 15:45:25 +00:00
Christian Grothoff d5048c2285 fix #3924 2015-08-04 11:52:05 +00:00
Christian Grothoff 58b30e7e5e fix #3926: ignore close() errors other than EBADF 2015-08-02 17:11:48 +00:00
Christian Grothoff 07b65da99f fix #3909 with patch as suggested 2015-07-25 13:55:29 +00:00
Christian Grothoff f61e6c4b14 -just indentation fixes 2015-07-18 14:33:19 +00:00
Christian Grothoff 4653cce4f9 -fix testcase style issues 2015-07-16 09:41:09 +00:00
Christian Grothoff b9ab6ad031 -fix sendfile arg calculation 2015-07-16 09:37:46 +00:00
Christian Grothoff f6c78e2e11 -avoid deprecation 2015-07-15 13:05:12 +00:00
Christian Grothoff 3800d3820b -modernize example 2015-07-15 12:58:56 +00:00
Christian Grothoff b118d605ac fix #3893 - thanks matwey 2015-07-15 12:15:11 +00:00
Christian Grothoff abdc3ae6fc fixing #3892, thanks matwey 2015-07-15 12:14:12 +00:00
Christian Grothoff acea95a025 -record response length in log 2015-07-13 14:07:08 +00:00
Evgeny Grin (Karlson2k) 1b51979b0b Additional correction of usage of _WIN32/CYGWIN/MHD_WINSOCK_SOCKETS macros 2015-07-07 18:32:59 +00:00
Evgeny Grin (Karlson2k) f8b49a0730 platform.h: correction of sleep() and usleep() replacements for W32 2015-07-07 18:32:53 +00:00
Evgeny Grin (Karlson2k) c69306c17d Fix C++-style comments 2015-07-07 18:32:45 +00:00
Evgeny Grin (Karlson2k) 2c842e6b95 Move all internal limits definitions to MHD_limits.h 2015-07-07 18:32:33 +00:00
Evgeny Grin (Karlson2k) 4a251757ab daemon.c: cosmetics 2015-07-07 18:32:21 +00:00
Christian Grothoff a85f2baa9d fix #3869: outdated FSF address 2015-06-30 11:39:18 +00:00
Christian Grothoff 4d997941e3 fix late counter-decrement issue reported by MD on the mailinglist 2015-06-27 20:19:25 +00:00
Christian Grothoff 7eba79ea86 fix HEAD handling issue in connection with MHD_create_response_from_callback reported by Cristian Klein on the mailinglist 2015-06-26 21:20:27 +00:00
Christian Grothoff 62f06f739a -support HEAD in example 2015-06-26 21:18:13 +00:00
Christian Grothoff 2d02ec7e60 add content-disposition 2015-06-26 09:28:32 +00:00
Christian Grothoff 55ecaec5a7 modify demo to handle HEAD requests 2015-06-25 19:08:49 +00:00
Christian Grothoff 4cdf058b25 -clarify when it is safe to call MHD_suspend_connection 2015-06-25 12:59:09 +00:00
Christian Grothoff 4f9c53c222 -fix compiler warnings 2015-06-12 07:45:50 +00:00
Evgeny Grin (Karlson2k) c461ee5489 Bump MHD_VERSION, update ChangeLog, substitute MHD_create_response_from_fd_at_offset64() instead of MHD_create_response_from_fd_at_offset() 2015-06-09 19:34:53 +00:00
Evgeny Grin (Karlson2k) 2ece82f12e send_param_adapter(): support hosts with sendfile64(), but with 32-bit off_t (i.e. Android) 2015-06-09 19:34:45 +00:00
Evgeny Grin (Karlson2k) a78b44a832 Add MHD_FEATURE_LARGE_FILE value for MHD_is_feature_supported() 2015-06-09 19:34:36 +00:00
Evgeny Grin (Karlson2k) 588d2c38a2 response.c: MHD_create_response_from_fd_at_offset64(): don't create response if requested offset or size is not supported 2015-06-09 19:34:27 +00:00
Evgeny Grin (Karlson2k) cbdf2fe105 response.c: file_reader(): reduce read size if buffer is too large 2015-06-09 19:34:21 +00:00
Evgeny Grin (Karlson2k) 329c470596 response.c: file_reader(): add support for Linux hosts with 64-bit seek, but with 32-bit off_t (Android) 2015-06-09 19:34:14 +00:00
Evgeny Grin (Karlson2k) 67859a6401 response.c: file_reader(): add support for W32 64-bit seek 2015-06-09 19:34:07 +00:00
Evgeny Grin (Karlson2k) 09088de0db Add MHD_create_response_from_fd64() and MHD_create_response_from_fd_at_offset64() functions,
check lseek() results when reading file, check whether desired file offset fits off_t
2015-06-09 19:33:57 +00:00
Evgeny Grin (Karlson2k) b218fd29ff fix: send_param_adapter(): do not send chunks larger than requested when using sendfile() 2015-06-08 22:18:30 +00:00