Sergey Lyubka
|
ec7d0b1abd
|
Added test_mg_upload()
|
2013-01-25 20:27:08 +00:00 |
|
Sergey Lyubka
|
75d9a6c844
|
Removed mg_connect() and mg_fetch(). Added mg_download()
|
2013-01-23 21:54:27 +00:00 |
|
Sergey Lyubka
|
4b29689a42
|
Binding to 127.0.0.1 to prevent popup windows on mac
|
2013-01-22 12:26:56 +00:00 |
|
Sergey Lyubka
|
9c4853471c
|
Added stub for test_mg_upload()
|
2013-01-22 09:08:00 +00:00 |
|
Sergey Lyubka
|
bec6ea00ea
|
Using unit test targets
|
2013-01-22 08:59:42 +00:00 |
|
Sergey Lyubka
|
83fae879bf
|
Binding to 127.0.0.1 to prevent annoying popups on mac
|
2013-01-21 22:29:31 +00:00 |
|
Sergey Lyubka
|
dbb8a5bbf4
|
put_delete_passwords_file -> put_delete_auth_file
|
2013-01-18 09:45:36 +00:00 |
|
Sergey Lyubka
|
05fa677382
|
Fixed unit test to accomodate mg_get_var() API change
|
2012-12-24 10:43:15 +00:00 |
|
Sergey Lyubka
|
1ef31461bc
|
Added test_skip_quoted()
|
2012-12-07 01:50:12 +00:00 |
|
Sergey Lyubka
|
080cb2dd4b
|
Changed signature of url_decode(): signalling on destination buffer overflow. mg_get_var() now does not require extra space for variable buffer
|
2012-11-14 09:26:02 -08:00 |
|
Sergey Lyubka
|
e251375c0c
|
Using .lp extension for Lua server pages
|
2012-10-23 20:21:24 +01:00 |
|
Sergey Lyubka
|
038f8823f1
|
Added test to mg_stat(). Fixed set_gpass()
|
2012-10-05 08:58:13 +01:00 |
|
Sergey Lyubka
|
b597da34da
|
Pass user_data to the callback
|
2012-10-05 02:10:35 +01:00 |
|
Sergey Lyubka
|
557d1f4c49
|
Added MG_OPEN_FILE message
|
2012-09-29 18:56:41 +01:00 |
|
Sergey Lyubka
|
2539a473fe
|
Added test for byte range past EOF
|
2012-09-29 18:56:23 +01:00 |
|
Sergey Lyubka
|
3ffdf5459a
|
API change: folded user_data into request_info, and introduced event-specific ev_data
|
2012-09-27 22:20:02 +01:00 |
|
Sergey Lyubka
|
8c1866a4af
|
Lua server pages support
|
2012-09-26 23:37:03 +01:00 |
|
Sergey Lyubka
|
dfc0f00478
|
Implement -T option, throttling functionality
|
2012-09-23 13:28:27 +01:00 |
|
Sergey Lyubka
|
771ce9059c
|
added
|
2012-09-22 13:31:10 +01:00 |
|
Sergey Lyubka
|
ff0c2d3f91
|
Added unit test for mg_get_var
|
2012-09-22 12:22:30 +01:00 |
|
Sergey Lyubka
|
167338f216
|
Using slash, "/" as the universal directory separator throughout the code
|
2012-09-20 18:20:41 +01:00 |
|
Sergey Lyubka
|
98fb44f836
|
Refactored data buffering. Updated websocket example to have 2 message roundtrips.
|
2012-09-20 13:45:35 +01:00 |
|
Sergey Lyubka
|
f9873eb87a
|
Experimentl websocket support
|
2012-09-19 12:23:54 +01:00 |
|
Sergey Lyubka
|
05b2a04267
|
moved status_code, user_data, log_message out of struct mg_request_info
|
2012-09-17 19:38:19 +01:00 |
|
test
|
66e088d843
|
Removed the test for a directory name with only a backslash, because this causes problems on windows.
|
2012-08-27 14:40:32 +02:00 |
|
test
|
83dc425e25
|
Removed the test for a directory name with only a backslash, because this causes problems on windows.
|
2012-08-23 16:36:41 +02:00 |
|
Sergey Lyubka
|
ee8111e424
|
Unbreak backslash dir test
|
2012-08-19 12:06:35 +01:00 |
|
Ger Hobbelt
|
ccf43fe3e3
|
backport of the relevant fix as per http://code.google.com/p/mongoose/issues/detail?id=370#c5
|
2012-08-18 21:44:29 +02:00 |
|
Sergey Lyubka
|
6619f2edac
|
Implemented -x option
|
2012-08-14 16:06:10 +01:00 |
|
Sergey Lyubka
|
0e0091e1c0
|
Changing API: callback doesnt get mg_request_info pointer anymore, but it is possible to get it using mg_get_request_info()
|
2012-08-03 11:15:38 +01:00 |
|
Sergey Lyubka
|
df7da95cb6
|
Setting Host header in mg_fetch. Added test for fetching large file.
|
2012-07-29 17:12:44 +01:00 |
|
Sergey Lyubka
|
a9bb7d78ab
|
Fixed mg_fetch() by passing a buffer, placeholder for the reply headers
|
2012-07-29 10:15:37 +01:00 |
|
Sergey Lyubka
|
84e26ccddd
|
More tests for mg_fetch()
|
2012-07-29 08:33:00 +01:00 |
|
Sergey Lyubka
|
6c54370aa1
|
Added mg_connect(), mg_fetch() API functions. More tests added
|
2012-07-28 11:04:03 +01:00 |
|
Sergey Lyubka
|
da75a62a32
|
More tests
|
2012-07-27 06:24:11 +01:00 |
|
Sergey Lyubka
|
7d5eb279a7
|
Added unit test
|
2012-06-07 21:57:40 +01:00 |
|
Sergey Lyubka
|
2e3e1ba7cd
|
Uncommented unit test in test_should_keep_alive()
|
2012-06-06 06:48:03 +01:00 |
|
Sergey Lyubka
|
9771d184f2
|
Squashed -DNO_SSL build warning
|
2012-06-06 06:45:23 +01:00 |
|
Sergey Lyubka
|
5071978267
|
Corrected should_keep_alive() per bel2s suggestions
|
2012-06-04 22:49:16 +01:00 |
|
Sergey Lyubka
|
4c5fee9673
|
Protect from DoS with negative Content-Length
|
2012-05-19 07:38:50 +01:00 |
|
Sergey Lyubka
|
82bcf523f3
|
added
|
2012-05-05 17:32:54 +01:00 |
|
Sergey Lyubka
|
07e76e4918
|
Fixing #327
|
2012-03-23 19:37:32 +00:00 |
|
Sergey Lyubka
|
fbe059acaa
|
test case for CGI status text
|
2012-03-04 16:23:46 +00:00 |
|
Sergey Lyubka
|
d1806370bd
|
few more tests for match_prefix()
|
2012-03-04 14:45:01 +00:00 |
|
Sergey Lyubka
|
fa22388529
|
PATH_INFO support
|
2012-02-20 18:42:43 +00:00 |
|
Sergey Lyubka
|
9d3af98a5e
|
Remove repeating backslashes only on Windows
|
2012-02-09 22:55:24 +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 |
|
valenok
|
8ea40bae4b
|
Introduced $ meta character in glob expressions
|
2012-01-26 03:21:51 +00:00 |
|
valenok
|
ed70793670
|
Options ssi_extensions, cgi_extensions became cgi_pattern, ssi_pattern
|
2012-01-24 09:30:01 +00:00 |
|
valenok
|
01c5ee0973
|
Added -w option
|
2012-01-23 22:03:36 +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
|
862df691ce
|
Adjusted flags
|
2011-08-26 12:35:08 +01:00 |
|
Sergey Lyubka
|
025b11b176
|
Fixed buffer overflow in put_dir()
|
2011-08-03 11:39:55 +02:00 |
|
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 |
|
Arnout Vandecappelle (Essensium/Mind)
|
08bf149d85
|
timeout.cgi test sometimes failed.
Using STDOUT->autoflush(1) seems to work better than $|=1 - I don't know
why.
Also made the timeout.cgi test a bit more verbose.
|
2010-12-07 12:38:11 +01:00 |
|
Arnout Vandecappelle (Essensium/Mind)
|
a9b6eb1809
|
Fix for issue#209: support spaces, commas, quotes and other weirdness in Authorization header.
|
2010-12-03 12:48:56 +01: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 |
|
Arnout Vandecappelle (Essensium/Mind)
|
fb9493a090
|
Bugfix of Issue #180: mg_read() should accept PUT requests.
|
2010-11-29 16:27:30 +01:00 |
|
Sergey Lyubka
|
1de7fef760
|
fix blocked CGI read
|
2010-11-15 10:41:17 +01: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 |
|
Arnout Vandecappelle (Essensium/Mind)
|
de934641be
|
Test for Issue#200: Multiple calls to mg_read always return same data.
|
2010-11-02 11:13:54 +01: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
|
1811240587
|
exporting correct SCRIPT_FILENAME for CGI
|
2010-09-19 13:00:49 +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
|
06418fa4e6
|
added -access_control_list option to cmdline
|
2010-09-07 00:36:53 +01:00 |
|
Sergey Lyubka
|
75b6717d8b
|
wrapped set_ssl_option call into NO_SSL conditional. Fixed test.
|
2010-08-31 11:58:45 +02: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
|
546bec333c
|
API change for mg_start: most binary compatible across releases.
|
2010-08-29 22:30:49 +01:00 |
|
valenok
|
8d79e5b43f
|
removed Testing test prefix in messages
|
2010-08-23 07:26:33 +01:00 |
|
Sergey Lyubka
|
5425b94f39
|
introduced struct mg_config. Fixed Range response.
|
2010-06-25 17:23:17 +02:00 |
|
Sergey Lyubka
|
a69a2da39d
|
Initial import - converting from Subversion.
|
2010-05-03 21:46:42 +01:00 |
|