Commit Graph

106 Commits

Author SHA1 Message Date
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
Sergey Lyubka
2f1f408882 Added qc test 2013-12-05 04:14:58 +00:00
Sergey Lyubka
74711c686f Added directory scanning example, and enabled posix routines in Lua for unix environment 2013-11-23 13:58:27 +00:00
Sergey Lyubka
e791a795b4 typo fixed 2013-11-22 08:45:04 +00:00
Sergey Lyubka
f9f623bd60 c# example synced to the current version, and tested 2013-10-06 12:16:46 +01:00
Sergey Lyubka
40ab4a8d3d Fixed websocket example logic when freeing the message, again! 2013-09-29 22:43:58 +01:00
Sergey Lyubka
e84d0574fa Fixed websocket example logic when freeing the message 2013-09-29 22:01:31 +01:00