Commit Graph

354 Commits

Author SHA1 Message Date
Sergey Lyubka
6d2a76b609 Added c# example 2013-09-26 12:50:11 +01:00
Sergey Lyubka
0fb5db59d3 Putting CFLAGS at the end of the compilation flags for Linux 2013-08-27 00:02:40 +01:00
Sergey Lyubka
20b274bb2b Using amalgamated lua 2013-08-27 00:01:53 +01:00
Sergey Lyubka
53bedd1eb5 made separate targets for each example 2013-08-16 11:17:15 +01:00
Sergey Lyubka
b07745ab50 Added Lua dll example 2013-07-30 14:49:52 +01:00
Sergey Lyubka
e645b33b6c using mg.read() only for POST requests 2013-07-16 07:53:08 +01:00
Sergey Lyubka
c68df310b8 Added mg_websocket_write(), per morgan3d pull request 2013-07-12 12:25:25 +01:00
Sergey Lyubka
2e232b3304 Lua functionality change: print renamed to mg.write, read renamed to mg.read. Expanded user manual, fixed example pages. 2013-05-15 17:42:34 +01:00
Sergey Lyubka
6f946f5eea websocket code fix, https://github.com/valenok/mongoose/pull/146 2013-05-10 13:41:48 +01:00
Sergey Lyubka
39cd5b8323 Signature for mg_get_cookie changed 2013-05-10 13:14:04 +01:00
Sergey Lyubka
8d1f6377c4 Changed websocket_data() handler API. Buffering and passing whole websocket message. 2013-03-08 16:03:23 +00:00
Mikhail Nikalyukin
5ce1fc3c2a add lua page example with the form submitting 2013-02-27 13:02:39 +02:00
Sergey Lyubka
ee55d38b55 API CHANGE: using struct mg_callbacks 2013-02-01 16:48:30 +00:00
Sergey Lyubka
08afdfa8b6 better cleanup 2013-01-18 10:43:52 +00:00
Sergey Lyubka
38421657b3 Minor refactoring in examples/upload.c 2012-12-08 14:53:46 +00:00
Sergey Lyubka
0d442058e5 Added mg_upload() 2012-12-07 01:50:47 +00:00
Sergey Lyubka
0263e39584 Minor refactoring 2012-11-30 15:01:15 +00:00
Sergey Lyubka
d8424726bb Using O_BINARY on win32 for uploaded files 2012-11-30 10:09:39 +00:00
Sergey Lyubka
9f9a1638f7 clean target added 2012-10-14 15:00:04 +01:00
Sergey Lyubka
b39426dbf7 Showing error message 2012-10-12 14:28:35 +01:00
Sergey Lyubka
78ea04556f Windows build for examples added 2012-09-24 21:25:06 +01:00
Sergey Lyubka
05062be889 Fix for issue 257 2012-09-23 13:55:33 +01:00
Sergey Lyubka
5d27766424 Added comment on the websocket example page 2012-09-20 14:01:45 +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
7bd8cc3c0c added websocket example files 2012-09-19 12:31:19 +01:00
Sergey Lyubka
f9873eb87a Experimentl websocket support 2012-09-19 12:23:54 +01:00
Sergey Lyubka
93b4562515 Added make target for upload example 2012-09-15 10:52:52 +01:00
Sergey Lyubka
c388bc2dd3 added upload example 2012-09-14 10:23:51 +01:00
Sergey Lyubka
8428f362c1 Added example for handling POST requests. 2012-08-31 09:24:34 +01:00
Sergey Lyubka
30fe257691 Style fixes. Printing error message before fatal error. 2012-08-25 20:36:58 +01:00
Sergey Lyubka
e26a993f2a 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:18:31 +01:00
Sergey Lyubka
0ede6a35f4 Squashed build warning 2012-06-06 07:15:39 +01:00
Sergey Lyubka
4566ca567c Squashed warnings in callback() 2012-06-06 07:10:15 +01:00
Sergey Lyubka
ef4bd8f758 Setting content-length 2012-06-04 19:08:43 +01:00
valenok
9bd2812fac Added examples/hello.c - a minimalistic embedding example 2011-06-18 00:29:46 +01:00
valenok
b452eb1eae mg_start() has changed 2010-10-31 16:33:04 +00:00
valenok
001889bd56 fixed chat to example some extent 2010-08-30 23:41:44 +01:00
valenok
d9551c505a mg_start: struct mg_request_info * -> const struct mg_request_info * 2010-08-30 22:48:07 +01:00
valenok
8ed16bd02b removing obsolete examples 2010-08-26 23:07:39 +01:00
valenok
88a224d808 fixed example. some more comments added 2010-07-05 19:37:53 +01: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
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
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