Commit Graph
100 Commits
Author SHA1 Message Date
valenok 5cf7e899c4 Allow config file to be specified as the first command line argument. Allow cmd line options be specified together with the config file. 2011-06-21 22:04:58 +01:00
valenok 81a5e3f342 Added mg_send_file() to python binding 2011-06-19 18:03:38 +01:00
valenok 29a38875ff Corrected description of mg_send_file() 2011-06-19 17:50:08 +01:00
valenok 5bbb6fbbd5 Added mg_send_file() 2011-06-19 17:45:52 +01:00
valenok 23a3cc6472 Added "Content-Length: 0" to the authorization reply to make it keep-alive friendly 2011-06-18 10:21:13 +01:00
valenok 9bd2812fac Added examples/hello.c - a minimalistic embedding example 2011-06-18 00:29:46 +01:00
valenok 377cece9c0 Better comments for TCP keep-alive change 2011-05-26 21:15:34 +01:00
valenok abc230eb34 Set keep alive on TCP level 2011-05-26 21:12:44 +01:00
valenok be6162ff2e Added <stddef.h>, since size_t is used in the API 2011-05-02 09:09:58 +01:00
valenok 938407dc16 3.0 -> 3.1 2011-05-02 08:59:58 +01:00
valenok 45b66ff734 Added tag 3.0 for changeset 89f40cc9b5cb 2011-05-02 08:57:49 +01:00
valenok d7cba57e17 Make source g++ friendly 2011-04-24 22:40:08 +01:00
valenok 4619c1a71e Fixing http://code.google.com/p/mongoose/issues/detail?id=237 2011-03-16 21:35:07 +00:00
valenok ec15f2da2b Fixed assert() in mg_read() 2011-03-08 21:51:03 +00:00
valenok d1de5f0190 Corrected comment for mg_start() 2011-03-08 08:30:26 +00:00
valenok 3e48cebc13 MD5Update(): memset() call corrected 2011-03-07 17:34:40 +00:00
valenok be20ced0a1 parse_url() fixed 2011-03-06 23:30:34 +00:00
valenok 2557884179 Added __SYMBIAN32__ conditionals 2011-03-06 22:48:31 +00:00
valenok 4280b1b62a make clean: removing .so file 2011-03-05 18:57:08 +00:00
valenok b489cb6c76 Bug in SSL defines fixed, thanks to mmeuli 2011-03-05 12:38:48 +00:00
valenok 4840457927 Passing request_info with user_data to MG_INIT_SSL 2011-03-05 09:01:38 +00:00
valenok 80d9fbcda4 Passing user_data into MG_INIT_SSL as 3rd parameter 2011-03-05 08:49:50 +00:00
valenok fae26c1bfd Style cleanup 2011-02-19 12:00:46 +00:00
valenok 29716fa22e Changed API: function mg_modify_passwords_file(). Instead of passing context, a domain name is passed, thus making this function completely mongoose-agnostic. 2011-02-18 16:40:58 +00:00
valenok 27ccf416c1 Fixed bug in verify_document_root() 2011-02-15 16:40:52 +00:00
valenok 3583e83a3f Using volatile keyword in the context struct to prevent unwanted optimization. See http://code.google.com/p/mongoose/issues/detail?id=216 2011-02-15 16:13:38 +00:00
valenok aef344f0ff fix linux linkage (move compiler flags to the end of compilation string) 2010-12-01 09:25:12 +00:00
valenok d44f4e4abb import 2010-11-13 16:47:25 +00:00
valenok 3cd16d7266 test for immediate CGI output forward 2010-11-12 21:15:30 +00:00
valenok da21192b10 squashed a warning 2010-11-03 07:46:59 +00:00
valenok 073890215d RTEMS fixes: removed mman.h include, and introduced NO_POPEN conditional 2010-11-03 07:37:59 +00:00
valenok b452eb1eae mg_start() has changed 2010-10-31 16:33:04 +00:00
valenok 11951a57ff API change: added void *user_data to mg_start(). Bumped version to 3.0 2010-10-26 23:37:44 +01:00
valenok 7034f49276 should_keep_alive(): using mg_strcasecmp() instead of strcmp() to compare header value 2010-10-05 07:08:51 +01:00
valenok 6240455779 2.11 -> 2.12 2010-10-05 07:06:53 +01:00
valenok 5a84efa89f Added tag 2.11 for changeset 95e60bbbea5c 2010-10-05 07:06:08 +01:00
valenok 1aae5bbef9 fixed service handling code 2010-09-27 01:06:05 +01:00
valenok 9390b00166 squash warning under win32 2010-09-26 22:27:41 +01:00
valenok 51b1f3a021 Under Linux, reap CGI zombies reliably 2010-09-26 22:20:20 +01:00
valenok 66ba1259f2 CGI script execution fixed for windows 2010-09-20 19:23:40 +01:00
valenok 7865ed7bad SCRIPT_FILENAME should be relative to document root, and begin with slash. 2010-09-19 21:57:34 +01:00
valenok fb87fd5343 Windows: close popup window when clicked outside it. 2010-09-19 15:19:16 +01:00
valenok 3f45febeb3 Fixing config file editing on Windows 2010-09-19 13:40:16 +01:00
valenok 1811240587 exporting correct SCRIPT_FILENAME for CGI 2010-09-19 13:00:49 +01:00
valenok 3e5d2bd3ac extra check in mg_start(): options may be NULL 2010-09-18 04:20:10 +01:00
valenok 1d490f9d6c mingw build fix 2010-09-17 22:40:19 +01:00
valenok 647719861b honoring command line flags when using config file, command line flags take preference 2010-09-14 11:17:09 +01:00
valenok d475188a3d protected free(ssl_mutexes) with ifndef NO_SSL 2010-09-14 11:16:30 +01:00
valenok 9b5de49437 free-ing allocated SSL mutexes 2010-09-12 22:44:02 +01:00
valenok ea71faf71d 2.10 -> 2.11 2010-09-12 22:26:12 +01:00
valenok 035a30dfed Added tag 2.10 for changeset 47c8f85f52d3 2010-09-12 22:13:15 +01:00
valenok 7291b6d7d6 added res.rc to win32 compilation 2010-09-12 22:10:03 +01:00
valenok 8853d320fe removed obsolete stuff 2010-09-12 22:08:44 +01:00
valenok c20a36ccc5 added -max_request_size description 2010-09-12 22:03:31 +01:00
valenok 1a9b36e842 win32 systray functionality 2010-09-12 21:59:31 +01:00
valenok 2b732a8067 implemented pthread_cond_broadcast() better to avoid mg_stop() deadlock on Win32 2010-09-12 21:58:22 +01:00
valenok bd152b0923 introduced max_request_size 2010-09-11 16:53:23 +01:00
valenok 9d01d9f21d win32: stdcall by default. 2010-09-10 23:44:56 +01:00
valenok 3d43451b36 reporting error if request size is too big 2010-09-10 23:44:23 +01:00
valenok d8c12e449d refactored set_port_option 2010-09-09 13:46:05 +01:00
valenok 4c1451bab1 refactored SSL initialization. implemented mg_connect() 2010-09-08 22:53:25 +01:00
valenok 6a05abad4d fixed config file loading 2010-09-08 07:56:15 +01:00
valenok 53dde04b8f windows build: removed gui libs from DLL build 2010-09-07 21:12:05 +01:00
valenok e728c85863 added __cdecl to main() 2010-09-07 21:11:43 +01:00
valenok 49065f2165 Windows build: /Gz - stdcall convention by default 2010-09-07 21:07:55 +01:00
valenok a030d2cfdb Windows build: /Os -> /O1, added cyassl build. 2010-09-07 21:06:06 +01:00
valenok fcb49d75ce got rid of getcwd(). using __cdecl for signal handler. 2010-09-07 11:00:10 +01:00
valenok 1ceafea1f9 SSL_CTX_use_certificate_chain_file() call fixed. using __cdecl for qsort callback. squashed warnings under msvc 2010-09-07 10:59:31 +01:00
valenok 06418fa4e6 added -access_control_list option to cmdline 2010-09-07 00:36:53 +01:00
valenok abbf27338e license added 2010-09-06 22:04:28 +01:00
valenok 149a553872 not setting SO_REUSEADDR on windows 2010-09-06 21:58:05 +01:00
valenok 236768b30c 2.9 -> 2.10 2010-09-06 21:46:07 +01:00
valenok f169d153c4 Windows service functionality, and initial systray functionality 2010-09-06 21:42:05 +01:00
valenok de5aff7f10 fixed check_acl() to return -1 for malformed ACL 2010-09-06 21:36:54 +01:00
valenok 58c89bb862 Added tag 2.9 for changeset 4e217a693d74 2010-09-04 23:15:35 +01:00
valenok 39b03600e6 fixed installer - no openssl libs 2010-09-03 16:38:09 +01:00
valenok 4f1c76cf5f added "web server" to the start message 2010-09-03 12:35:42 +01:00
valenok 4279543f73 fixed installer setup 2010-09-03 04:01:55 +01:00
valenok 5fdbbcd895 corrected code for config file loading 2010-09-03 04:01:26 +01:00
valenok 28f3073873 added -DNO_SSL_DL option 2010-09-03 03:58:23 +01:00
valenok 0f89d437d5 added -ssl_chain_file option 2010-08-31 21:19:27 +01:00
valenok 5a0376488d rearranged options list in alphabetical order 2010-08-31 21:10:19 +01:00
valenok f105b74dc0 experimental keep-alive, options defaults 2010-08-31 08:01:14 +01:00
valenok fed9ffc150 struct mg_request_info * -> const struct mg_request_info * 2010-08-31 07:49:55 +01:00
valenok a0e202d828 fixed win32 build 2010-08-31 00:12:16 +01:00
valenok 001889bd56 fixed chat to example some extent 2010-08-30 23:41:44 +01:00
valenok 64ca2965c0 disabled SSL handshake error messages 2010-08-30 23:41:17 +01:00
valenok d9551c505a mg_start: struct mg_request_info * -> const struct mg_request_info * 2010-08-30 22:48:07 +01:00
valenok 68dde1b7b1 error message in set_ssl_option() corrected 2010-08-30 17:56:43 +01:00
valenok b1f973b62b fixes for 2.9 2010-08-30 17:13:53 +01:00
valenok 2c36b9421e making mongoose.txt instead of mongoose.1.txt 2010-08-30 17:13:26 +01:00
valenok f42c5dead1 fixes in options handling 2010-08-30 14:59:21 +01:00
valenok 97f2155239 introduced short option names 2010-08-30 13:10:10 +01:00
valenok bb21ffec12 moved document_root verification to standalone server (into main.c) 2010-08-30 12:54:46 +01:00
valenok 39c6d3ee08 corrected error log message in spawn_process() 2010-08-30 10:35:04 +01:00
valenok bf258c7ee1 refactored python bindings according to the API change 2010-08-29 23:58:56 +01:00
valenok 6cf296515b added debug trace in mg_start. restored stderr duping in spawn_process() 2010-08-29 23:19:53 +01:00
valenok 546bec333c API change for mg_start: most binary compatible across releases. 2010-08-29 22:30:49 +01:00
valenok 0b1e621c36 better comment for windows build 2010-08-28 18:05:21 +01:00
valenok 919f5363ad UNIX flags: -Os -> -O2, and refactored windows build 2010-08-28 11:24:03 +01:00