Commit Graph
84 Commits
Author SHA1 Message Date
Sergey Lyubka 9d4d48e703 Using mg_sleep() instead of sleep() 2012-03-13 21:17:03 +00:00
Sergey Lyubka 108a9739f4 3.1 -> 3.2 2012-03-11 22:54:12 +00:00
Sergey Lyubka 23a40151c8 Added tag 3.1 for changeset b7f0feea998b 2012-03-11 22:48:06 +00:00
Sergey Lyubka 2824ae345d Added new event, MG_REQUEST_COMPLETE 2012-03-11 22:38:28 +00:00
Sergey Lyubka a6678814af Checking malloc return code in worker_thread() 2012-03-11 22:25:27 +00:00
Sergey Lyubka cda24d94fb Fixed overflow in substitute_index_file() 2012-03-11 22:19:12 +00:00
Sergey Lyubka f085e68baf Added check for the duplicate option 2012-03-11 22:14:50 +00:00
Sergey Lyubka b78110b92e Using MSG_NOSIGNAL in send() 2012-03-11 21:58:04 +00:00
Sergey Lyubka 37503c78c8 setting conn->must_close = 1; in handle_propfind() 2012-03-11 21:52:12 +00:00
Sergey Lyubka 83447fb6e5 Fix Windows build 2012-03-11 21:32:53 +00:00
Sergey Lyubka 2a3f31f521 Using g++ for compilation. Fixed C++ build. 2012-03-06 20:19:47 +00:00
Sergey Lyubka dcecfadbeb Use static initialization for STARTUPINFO and PROCESS_INFORMATION 2012-03-04 19:40:25 +00:00
Sergey Lyubka 5faa2de3f5 Directory request closes the connection 2012-03-04 16:24:18 +00:00
Sergey Lyubka fbe059acaa test case for CGI status text 2012-03-04 16:23:46 +00:00
Sergey Lyubka 6dc1b347a0 Various fixes from bel2125, http://code.google.com/r/bel2125-mongoose/source/detail?r=9fe067d34a3f3a7311f86627b8e1ecb7719a663d 2012-03-04 16:00:12 +00:00
Sergey Lyubka d1806370bd few more tests for match_prefix() 2012-03-04 14:45:01 +00:00
Sergey Lyubka c88f736971 Removed DEBUG_TRACE from convert_uri_to_file_name() 2012-02-22 18:30:59 +00:00
Sergey Lyubka b10b989865 Increasing master thread priority on Windows 2012-02-20 23:27:40 +00:00
Sergey Lyubka ba8b07387c Issue 317: increase priority of the master thread 2012-02-20 18:44:02 +00:00
Sergey Lyubka 498f3715a5 Better description for -w option 2012-02-20 18:43:26 +00:00
Sergey Lyubka fa22388529 PATH_INFO support 2012-02-20 18:42:43 +00:00
Sergey Lyubka d05b7b06aa PATH_INFO support 2012-02-20 18:42:32 +00:00
Sergey Lyubka 6576a783da Remove proxy code 2012-02-12 08:49:59 +00:00
Sergey Lyubka 9d3af98a5e Remove repeating backslashes only on Windows 2012-02-09 22:55:24 +00:00
Sergey Lyubka 84a76fba69 Remove repeating backslashes only on Windows 2012-02-09 22:53:56 +00:00
Sergey Lyubka 76dd31055e Exporting SystemDrive environment variable for CGIs on Windows 2012-02-05 13:04:52 +00:00
Sergey Lyubka b5ed7ed7d1 Changed NO_IPV6 to USE_IPV6. Also, using inet_ntop() everywhere. 2012-02-05 12:27:58 +00:00
Sergey Lyubka 7af9df9fab Added preliminary IPv6 support 2012-02-01 21:50:22 +00:00
Sergey Lyubka 6905a9a0cb Formatting changes 2012-01-30 18:56:17 +00:00
Sergey Lyubka f56dcb8989 removed match_extension() 2012-01-29 21:22:42 +00:00
Sergey Lyubka 8b65d40fad Added test for relative path to the CGI interpreter 2012-01-29 19:21:43 +00:00
Sergey Lyubka d4eecd5070 Renamed test_all_build_flags.pl to all_build_flags.pl 2012-01-29 18:55:25 +00:00
Sergey Lyubka afd413c3ad Renamed test_all_build_flags.pl to all_build_flags.pl 2012-01-29 18:55:07 +00:00
Sergey Lyubka aa90972a31 Set code 302 automatically if CGI reply has Location: header present 2011-11-06 11:24:23 +01:00
Sergey Lyubka 8601b03ead Do not set Connection: keep-alive unless -enable_keep_alive is set 2011-11-06 10:04:55 +01:00
Sergey Lyubka 79df70f519 Increased max config line size from 512 to 8192 bytes 2011-10-31 11:15:10 +00:00
Sergey Lyubka b30e1893dc Better documentation 2011-08-28 11:24:35 +01:00
Sergey Lyubka 488694991c Added space between "v." and version number 2011-08-26 21:56:33 +01:00
Sergey Lyubka 4e551d9a1d Copyright year changed to 2011. Fixed documentation string for mg_get_cookie() 2011-08-26 21:30:20 +01:00
Sergey Lyubka 5edfe797f1 Using _beginthread() for starting threads on Windows 2011-08-26 13:03:15 +01:00
Sergey Lyubka 6d70e5c68b Better labels for systray context menu 2011-08-26 13:02:22 +01:00
Sergey Lyubka 862df691ce Adjusted flags 2011-08-26 12:35:08 +01:00
Sergey Lyubka 8442a9ceea Fix stuck master thread in produce_socket() by always signalling sq_empty from the worker threads 2011-08-26 10:19:19 +01:00
Sergey Lyubka 5d70ffe878 parse_date_string() interprets time in UTC, as per standrard 2011-08-26 08:57:04 +01:00
Sergey Lyubka f749eeb795 Style changes: using C++ comments everywhere 2011-08-25 16:57:17 +01:00
Sergey Lyubka 60408deaa8 Fix -DNO_CGI build 2011-08-24 13:11:41 +01:00
Sergey Lyubka bc900844f1 Added .mp4 and .m4v mime types 2011-08-24 13:05:49 +01:00
Sergey Lyubka a49c688d48 Fixed directory traversal security issue for windows 2011-08-24 12:55:08 +01:00
Sergey Lyubka ba714de066 Added directory listing support to the PROPFIND method 2011-08-24 08:24:20 +01:00
Sergey Lyubka 025b11b176 Fixed buffer overflow in put_dir() 2011-08-03 11:39:55 +02:00
Sergey Lyubka cb601b7718 Fix potential leak in handle_directory_request() 2011-03-31 18:04:46 +02:00
Sergey Lyubka 6a43bd952f Fix pthread_cond_wait() to prevent race 2011-03-31 17:59:23 +02:00
Sergey Lyubka ac09360430 Accept * URI 2010-11-29 18:27:25 +01:00
Sergey Lyubka 9bda69f573 Fix issue 180 - make mg_read() handle PUT requests, too. Stop checking for request method in mg_read(). 2010-11-29 17:56:26 +01:00
Sergey Lyubka 0db96c5ba5 make it possible to set SSL_LIB and CRYPTO_LIB during build 2010-11-29 14:46:42 +01:00
Sergey Lyubka e97762879d reduced select() timeout from 1 second to 0.2 second to make mongoose snappier 2010-11-29 14:39:04 +01:00
Sergey Lyubka db1c0806ef Parsing auth header - fix issue 206, IE case 2010-11-29 14:28:52 +01:00
Sergey Lyubka d31ac3f021 do not exclude win32 from the release tarball, as it breaks mingw build 2010-11-29 14:03:29 +01:00
Sergey Lyubka 1de7fef760 fix blocked CGI read 2010-11-15 10:41:17 +01:00
Sergey Lyubka f23d9ff3b0 drop -fomit-frame-pointer from UNIX compilation 2010-11-13 17:50:26 +01:00
Sergey Lyubka 75b6717d8b wrapped set_ssl_option call into NO_SSL conditional. Fixed test. 2010-08-31 11:58:45 +02:00
Sergey Lyubka 63af66c61f fixed linux buid, added #define _XOPEN_SOURCE for PATH_MAX 2010-08-31 11:47:57 +02:00
Sergey Lyubka aca0512173 optimized DEBUG_TRACE(). Fixed thread sync on exit. 2010-08-23 17:42:25 +02:00
Sergey Lyubka fcb57df105 creating all worker threads in mg_start(). 2010-08-23 14:06:58 +02:00
Sergey Lyubka 5651657ac6 passing const struct mg_config 2010-08-23 14:05:59 +02:00
Sergey Lyubka 5425b94f39 introduced struct mg_config. Fixed Range response. 2010-06-25 17:23:17 +02:00
Sergey Lyubka e8db81e33b SSL error logging my Martin Lamb 2010-05-28 15:52:58 +01:00
Sergey Lyubka ddde5d9d1b range support for PUT request by Yan Jabin 2010-05-21 11:51:49 +02:00
Sergey Lyubka f65d3ca67c $(LIBS) -> $$LIBS 2010-05-10 09:50:38 +02:00
Sergey Lyubka f46e4fac19 introduced my_strlcpy 2010-05-10 09:50:20 +02:00
Sergey Lyubka 218cca4aca added todos into settings pane. changed explanation text a bit. 2010-05-05 23:13:20 +01:00
Sergey Lyubka 0f42c5ba0c added logo 2010-05-05 22:58:48 +01:00
Sergey Lyubka 2bec7ff7fb logging server message 2010-05-05 21:48:50 +01:00
Sergey Lyubka c2ee59e36a showing server messages. refreshing messages on timer. removing old messages. 2010-05-05 21:47:58 +01:00
Sergey Lyubka cbe56b5555 added classes for server messages 2010-05-05 21:46:54 +01:00
Sergey Lyubka abca5d8016 storing correct username in the message 2010-05-05 00:55:05 +01:00
Sergey Lyubka 627a6dbb5a mg_md5 made public 2010-05-05 00:39:36 +01:00
Sergey Lyubka b33755c962 sessions implemented (simplistically). security expert review would be nice to have. 2010-05-05 00:36:23 +01:00
Sergey Lyubka 4b0424d032 changed explanation text. users may choose any login/pass 2010-05-05 00:11:52 +01:00
Sergey Lyubka c3e8d7304e added favicon 2010-05-05 00:11:18 +01:00
Sergey Lyubka 3aafbab967 better docstrings for mg_get_cookie() and mg_get_var() 2010-05-04 20:50:49 +01:00
Sergey Lyubka 865ac0974a started to work on sessions 2010-05-04 01:00:24 +01:00
Sergey Lyubka b5d7c34bc3 added ssl_cert.pem 2010-05-04 00:42:08 +01:00
Sergey Lyubka a69a2da39d Initial import - converting from Subversion. 2010-05-03 21:46:42 +01:00