Commit Graph

212 Commits

Author SHA1 Message Date
Sergey Lyubka
9b42494316 Added general example makefile settings 2014-08-01 13:30:05 +01:00
Sergey Lyubka
0a0130b90c removed 2014-08-01 07:53:51 +01:00
Sergey Lyubka
5727a5c0ed Removed lua examples 2014-07-29 07:39:20 +01:00
Sergey Lyubka
b5704850db Merge branch 'master' of ssh://github.com/valenok/mongoose 2014-07-08 11:10:17 +01:00
Sergey Lyubka
9c67e8960e updated certs 2014-07-08 11:10:08 +01:00
Pavel Pimenov
82872e86fd Change printf mask %zu -> %lu
for MS VC++ compatibility http://stackoverflow.com/questions/15610053/correct-printf-format-specifier-for-size-t-zu-or-iu
2014-07-07 09:24:48 +04:00
Sergey Lyubka
708af6d9c5 more comments in big_upload.c 2014-06-24 17:09:00 +01:00
Sergey Lyubka
e4c71425c9 Added big_upload.c 2014-06-24 17:04:26 +01:00
Sergey Lyubka
6e07215c1c Using Multiple inputs for upload example 2014-06-24 16:35:59 +01:00
Sergey Lyubka
1389eec784 Added comment for mg_terminate_ssl() call 2014-06-19 09:55:10 +01:00
Sergey Lyubka
6ef795e082 manual mitm for oracle.com 2014-06-19 09:53:38 +01:00
Sergey Lyubka
6a54704b29 mg_set_option(): always set correct actual listening port 2014-06-11 20:12:23 +01:00
Sergey Lyubka
50c0b958ff Added -root cmd line flag to proxy example 2014-06-10 12:22:50 +01:00
Sergey Lyubka
bd723bdc38 Removed dead code in websocket2.c 2014-06-09 17:33:26 +01:00
Sergey Lyubka
5e57031724 Added pubsub example 2014-06-09 17:26:22 +01:00
Sergey Lyubka
c583913290 Added pubsub example 2014-06-09 17:25:08 +01:00
Sergey Lyubka
464c77314d Amended file sending example 2014-06-03 18:03:13 +01:00
Sergey Lyubka
bd23ec4323 Removed a bit of dead code. Added more comments in proxy_event_handler() 2014-05-29 17:40:06 +01:00
Daniel O'Connell
3671b2632d proxy unit test reference implementation 2014-05-29 17:04:28 +01:00
Sergey Lyubka
1bede7e28b Added test for parse_url() 2014-05-19 12:56:07 +01:00
Daniel O'Connell
1db51eb788 Moved sse.html to proxy_web_root/index.html 2014-05-13 14:51:16 +01:00
Daniel O'Connell
0e640ae885 Made setopt() wrapper around mg_set_option() 2014-05-13 13:02:08 +01:00
Daniel O'Connell
1bff6df2a7 Enabled SSL for proxy example 2014-05-13 12:33:27 +01:00
Daniel O'Connell
4cb3341a15 Added proxy example, with SSE html page 2014-05-13 11:22:31 +01:00
Daniel O'Connell
d52d9a4a6f Added pem files 2014-05-13 11:08:18 +01:00
Daniel O'Connell
4a076c7ea4 Added proxy to the clean target 2014-05-13 10:56:32 +01:00
Sergey Lyubka
ccff4abf13 Added proxy target 2014-05-12 10:47:08 +01:00
Sergey Lyubka
1bb98e5e8e Exported mg_websocket_printf(), mg_url_encode(). Added unit test for mg_url_encode() 2014-04-25 18:04:24 +01:00
Sergey Lyubka
35bd2b6032 Added form.c 2014-04-10 22:18:01 +01:00
Sergey Lyubka
3a60c5764d Unit test target corrected 2014-04-07 19:07:41 +01:00
Sergey Lyubka
e62e48397d Keeping absolute path for config file 2014-03-30 16:00:03 +01:00
Sergey Lyubka
94f63787bb Restored void * parameter for iterate_over_connections() 2014-03-24 16:01:45 +00:00
Sergey Lyubka
367f5df328 match_prefix -> mg_match_prefix 2014-03-24 16:00:17 +00:00
Sergey Lyubka
c658a54d18 changed set_absolute_path() signature 2014-03-20 14:58:37 +00:00
Sergey Lyubka
cbd8d69e6d Added hello world for Lua 2014-03-12 12:47:41 +00:00
Sergey Lyubka
f7fcfa6a42 Fixed C# example to work with 5.3 2014-03-12 12:31:53 +00:00
Sergey Lyubka
40f257ef2b lua build instructions fixed 2014-03-09 13:12:49 +00:00
Sergey Lyubka
c5407a75f4 #define EV_HANDLER NULL in server.c 2014-03-05 10:12:43 +00:00
Sergey Lyubka
4646e2ad55 Added mjpg example 2014-03-04 20:23:37 +00:00
Sergey Lyubka
b77532ea3f Added mjpg example 2014-03-04 20:22:46 +00:00
Sergey Lyubka
ffe83051fe build fixed 2014-03-04 13:15:56 +00:00
Sergey Lyubka
570c8213b6 Cleaned unit test 2014-03-03 10:54:35 +00:00
Sergey Lyubka
e41df3cf9c MG_REQ_BEGIN -> MG_REQUEST, killed MG_REQ_END, add MG_REPLY. Restored server test 2014-03-03 10:26:27 +00:00
Sergey Lyubka
fd7dc33645 unbroke unit test 2014-03-02 17:20:24 +00:00
Niels Egberts
11640cc3c6 Also clean up multi_threaded and websocket_html.c on make clean 2014-03-02 14:55:34 +00:00
Sergey Lyubka
e0aceb4f3a Fixed windows build for examples 2014-03-02 12:23:53 +00:00
Sergey Lyubka
ea9a60a59a Updated examples to conform to the evented API 2014-03-02 12:16:09 +00:00
Sergey Lyubka
2ac970fa16 Moving to event-based API, temporary breaking tests 2014-03-01 01:17:39 +00:00
Sergey Lyubka
2fbe09ad7c Restored jni build dir for Android 2014-02-25 08:12:42 +00:00
Sergey Lyubka
23325efab2 Added time.h 2014-02-25 08:10:19 +00:00
Sergey Lyubka
8865dd5e84 Moved unit_test.c to examples 2014-02-20 12:13:59 +00:00
Sergey Lyubka
6f8751b479 chat server is going to be in its own dir 2014-02-07 13:04:02 +00:00
Sergey Lyubka
877c4dc698 websocket example responses: 15 times -> 3 times 2014-02-07 13:03:28 +00:00
Sergey Lyubka
2dfc79129a better lua build 2014-02-07 13:03:11 +00:00
Sergey Lyubka
eaa0e26a85 Starting to rebuild chat example on Lua 2014-02-06 10:18:30 +00:00
Sergey Lyubka
a3a63f7e56 Using mg_connection::callback_param for mg_iterate_over_connection() 2014-02-06 10:00:20 +00:00
Toon Claes
a487332aa0 use mg_set_request_handler 2014-02-04 20:48:38 +01:00
Sergey Lyubka
3987d4d560 Merge branch 'master' of ssh://github.com/valenok/mongoose 2014-02-04 18:13:10 +00:00
Sergey Lyubka
8d3181e0bf examples/html -> examples/chat_html_root 2014-02-04 18:13:02 +00:00
Toon Claes
0187fe943a Correct return values: PROCESSED or CALL_AGAIN 2014-02-04 15:24:32 +01:00
Sergey Lyubka
7010addadb NO_AUTH -> MONGOOSE_NO_AUTH 2014-02-01 15:17:13 +00:00
Sergey Lyubka
14526a2109 mg_add_uri_handler -> mg_set_request_handler() 2014-01-28 12:42:13 +00:00
Sergey Lyubka
83a9a726d3 Checking path existence 2014-01-26 11:24:24 +00:00
Sergey Lyubka
f977757a9d Added mg_set_auth_handler() 2014-01-24 20:49:57 +00:00
Sergey Lyubka
2392156fd4 Not exiting on a wrong option, best effort to recover 2014-01-23 20:57:27 +00:00
Sergey Lyubka
192205b10b Added 2014-01-23 10:36:08 +00:00
Sergey Lyubka
2ea17e8c6d Adjusted docs and makefile to use correct preproc flags 2014-01-20 11:17:09 +00:00
Sergey Lyubka
061ba99124 Using vnotify() for die() 2014-01-20 08:54:06 +00:00
Sergey Lyubka
ead098f726 Setting server_name 2014-01-19 17:01:43 +00:00
Sergey Lyubka
22aea8acac Better comment for websocket example 2014-01-17 16:37:05 +00:00
Sergey Lyubka
02f19fc05a Using mg_handler_t for iterate_over_connections() 2014-01-17 11:45:57 +00:00
Sergey Lyubka
7690f9e34b Fixed websocket example, and websocket callback calling logic. 2014-01-17 10:17:15 +00:00
Sergey Lyubka
65c1278975 win32 build of server.c fixed 2014-01-16 14:40:26 +00:00
Sergey Lyubka
05e1135940 Added stand-alone console executable 2014-01-16 13:53:18 +00:00
Sergey Lyubka
fc37b08139 URI handler status code drives streaming behavior 2014-01-14 13:16:58 +00:00
Sergey Lyubka
3aaf47d4e4 Return 1 from the URI handler 2014-01-14 12:50:13 +00:00
Sergey Lyubka
cc636197bc Added auth example 2014-01-13 17:58:14 +00:00
Sergey Lyubka
6b4f7e785d Added upload example 2014-01-13 17:01:11 +00:00
Sergey Lyubka
f0571f9fd6 Using mg.request_info.content 2014-01-13 10:58:14 +00:00
Sergey Lyubka
fa4179ee53 Made clean silent 2014-01-11 16:18:29 +00:00
Sergey Lyubka
d29f849602 Fixed optional build test 2014-01-11 09:48:13 +00:00
Sergey Lyubka
ccf0ce4a1f Using chunked API in post.c example 2014-01-07 09:28:20 +00:00
Sergey Lyubka
134a5b7b9e Using chunked API in multi-threaded example 2014-01-07 09:24:48 +00:00
Sergey Lyubka
d0e2741832 Added new response creation interface 2014-01-04 11:31:55 +00:00
Sergey Lyubka
8f62822a33 Using mg_printf() 2013-12-31 13:57:19 +00:00
Sergey Lyubka
7a77bb1c4a More descriptive comment in multithreaded example 2013-12-31 09:06:21 +00:00
Sergey Lyubka
4fd6eb597d Squashed C++ warning 2013-12-30 12:10:35 +00:00
Sergey Lyubka
4fbfb5d0d0 Expanded hello example a little 2013-12-27 19:50:14 +00:00
Sergey Lyubka
dca2eab152 removed stdio.h 2013-12-26 10:21:09 +00:00
Sergey Lyubka
f9f212442c Added comment 2013-12-26 10:20:02 +00:00
Sergey Lyubka
f7a705c40a Added multi-threaded example 2013-12-26 10:13:04 +00:00
Sergey Lyubka
a5aa08e408 Restored post.c in windows example build 2013-12-23 08:09:59 +00:00
Sergey Lyubka
12d98a1732 Restores post.c example 2013-12-23 08:06:35 +00:00
Sergey Lyubka
3eb9156e60 calling iterate_over_connections() from the IO thread 2013-12-21 20:26:55 +00:00
Sergey Lyubka
04b9ccca22 Testing server PINGs 2013-12-18 09:35:19 +00:00
Sergey Lyubka
1a17165227 Sending messages every 10 seconds, to allow mongoose send PINGs 2013-12-18 09:34:36 +00:00
Sergey Lyubka
b6d968f00c Added qcomm example to the build 2013-12-18 09:33:59 +00:00
Sergey Lyubka
492328474d Only hello example left, adopted to the new API 2013-12-16 13:33:50 +00:00
Sergey Lyubka
a7889756a9 Made qcomm example compile 2013-12-06 08:23:26 +00:00
Sergey Lyubka
9ac67770eb mongoose5 example 2013-12-05 23:16:12 +00:00