Deomid Ryabkov
c8b09c2238
Move mg_task to SimpleLink platform code
...
It'll be used for MSP432 as well
PUBLISHED_FROM=cb5dcda4cc5d9edc6dea71540d51ab00e252186e
2016-04-12 11:18:37 +01:00
Alexander Alashkin
0efa8f9d3f
Add UDP echo server Mongoose example
...
PUBLISHED_FROM=c0ea72104da23a97c81c9f671c9b91d9df2541d1
2016-04-11 09:43:08 +01:00
Deomid Ryabkov
68b29b683d
Minor tweak to ESP8266 example
...
PUBLISHED_FROM=8fdac6c95ae29363fa0a8e519f926742531b9d00
2016-04-08 10:56:16 +02:00
Deomid Ryabkov
eee293518c
Add a README for CCS projects
...
PUBLISHED_FROM=3ccf4c043056677cd9c8fbd19e5e36961281af8c
2016-04-08 10:56:13 +02:00
Deomid Ryabkov
c4adc86f5e
Add CC3200 sensor demo CCS project
...
PUBLISHED_FROM=36fb960c2fe3d33ccdb8dbfbe4df6df24a9b1df9
2016-04-08 10:56:12 +02:00
Deomid Ryabkov
3ebda76def
Add a CC3200 CCS Mongoose library project
...
PUBLISHED_FROM=27c466d4b289c1839ecd192e40a661728b546fa2
2016-04-08 10:56:11 +02:00
Deomid Ryabkov
ccd0167e40
Switch to CC3200 SDK 1.2.0
...
PUBLISHED_FROM=857459178e3af50fa6626379d1f71a725cd3b68b
2016-04-06 08:25:50 +01:00
Alexander Alashkin
7dd1004b93
Fix mg examples
...
PUBLISHED_FROM=dec3ce8a13ff588637601cdb03dbe6196468ba4a
2016-04-06 08:25:50 +01:00
Deomid Ryabkov
5e31914dc1
Fix AP configuration on CC3200
...
Factor out MG task for clarity and ease of reuse.
PUBLISHED_FROM=18f1aedd3c227b43a49f59a67076905917dd6cab
2016-04-05 23:50:23 +01:00
Deomid Ryabkov
fe0d340c03
Tighten Mongoose footprint defaults
...
Explicitly loosen them on the "big" platforms.
PUBLISHED_FROM=b4786428402c5da55738d3f7085ab12acf884e74
2016-04-05 23:50:07 +01:00
Marko Mikulicic
2c4ffcf70d
Rename build
dir to .build
...
This allows the bazel `BUILD` file to coexist on case insensitive
filesystems such as on OSX.
PUBLISHED_FROM=35def41bea62ddc623966e26814adddbf53315d5
2016-04-05 23:50:05 +01:00
Deomid Ryabkov
81ee559905
Roll CC3200 support into mongoose.{c,h}
...
This is less than ideal, but will do for now.
PUBLISHED_FROM=86cdc7eb8567b23520169976fb8a2103353b9416
2016-04-01 03:14:41 +01:00
Deomid Ryabkov
4a637a6e9a
Refactor CC3200 example
...
Move data collection out of main.c
PUBLISHED_FROM=0340ebcea62a12275e915f325483603e72ff4183
2016-04-01 03:14:41 +01:00
Deomid Ryabkov
aaf4802d80
Add file upload to CC3200 example
...
PUBLISHED_FROM=126bfdb9369f4bc2f09a21400caf797d995bef5b
2016-04-01 03:14:40 +01:00
Deomid Ryabkov
96310d761b
Make CC3200 SLFS use "SL:" prefix
...
This is to make it compatioble with "devices" used in TI's libc.
Files without any "device" go to SPIFFS.
PUBLISHED_FROM=9adb888951389ccc43974537ee827a8240d79988
2016-04-01 03:14:39 +01:00
Deomid Ryabkov
673796fb3a
Improve HTTP erro reporting (send reason)
...
A few tweaks to TI example
Clean up mbuf_insert code a bit
PUBLISHED_FROM=00ed7aff05d6b760e10c7f14a503eccfc9a284bd
2016-04-01 03:14:32 +01:00
Deomid Ryabkov
fb53cd37e7
Make it possible to set log file
...
And use stdout for CC3200 demo because
(1) an apparent bug which causes output sent to stderr to be
printed v-e-r-y s-l-o-w-l-y (yes, it is really like that;
https://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/501881 )
(2) in CCS it is printed in BLOOD RED, which is annoying
PUBLISHED_FROM=36a86744bc8ea193e99e98670dadc7f3ab6ed53e
2016-04-01 03:14:29 +01:00
Deomid Ryabkov
5f59b7e747
Enable SSI on CC3200 (w/o exec)
...
Disable CGI automatically, as it's never going to work.
PUBLISHED_FROM=37d7abc54be4637dfec5031bc3398e97a1be3090
2016-04-01 03:14:26 +01:00
Deomid Ryabkov
604c0b189f
MG_CC3200 -> MG_SOCKET_SIMPLELINK; some cleanups
...
PUBLISHED_FROM=865b94073c5ed088847d05f57c1103119648fcaa
2016-04-01 03:14:25 +01:00
Deomid Ryabkov
a690c1442f
Make CC3200 example work with XCC3200HZ
...
PUBLISHED_FROM=42b188c5ae85742681266fee21ec0b0472912743
2016-03-25 17:11:01 +00:00
Deomid Ryabkov
41971a95b2
Add LED status and accelerator data feed
...
It is also possible to control LED by sending a command:
{"t": 1, "v": 0/1/2}
0/1 = off/on, 2 = toggle
PUBLISHED_FROM=da176b70c4cd356c5d56eca58c2926619748d895
2016-03-25 17:10:57 +00:00
Deomid Ryabkov
b6d700077a
Add websocket data feed, send temperature data
...
PUBLISHED_FROM=e56601f99ccf80d8420b4b54b0ef7c272ec4a656
2016-03-25 17:10:56 +00:00
Deomid Ryabkov
c091e6910b
CC3200 build cleanup; commonized fw_meta targets
...
Some yak shaving along the way
PUBLISHED_FROM=09c7cfbd98dcec961970dfad3f38e67912a5b06c
2016-03-25 17:10:54 +00:00
Deomid Ryabkov
f1cc8379e7
ESP8266_RTOS example tweaks
...
PUBLISHED_FROM=11096f272afc0716e0677c68d58ebf4d4e001a47
2016-03-21 22:45:54 +00:00
Deomid Ryabkov
4f9627c612
CC3200 FS refactoring and basic Mongoose example
...
Moved filesystem-related code out of SJS and into common.
Made it possible to have one, both or no filesystems enabled.
FailFS is now SimpleLinkFS, SLFS (ahem).
Example just serves a "Hello, world!" index page for now.
PUBLISHED_FROM=0e98ee4b8d95782c10791522c42eae5a7ba314f9
2016-03-21 22:45:53 +00:00
Deomid Ryabkov
012f241005
Fix the ESP8266_RTOS example, add it to CI
...
PUBLISHED_FROM=3d58ec06fe3108a81d1c35f8261783690bb12c4d
2016-03-21 22:45:53 +00:00
Alexander Alashkin
e95c074965
Replace strnlen with c_strnlen
...
PUBLISHED_FROM=815cfaea77171761c952966e98466b87b719de06
2016-03-21 13:29:35 +01:00
Deomid Ryabkov
d1cc952859
Add a tool to fix header guards, apply globally
...
Identifiers starting with _ are reserved, fix those.
Wrote a tool to do it and applied it globally, why not.
PUBLISHED_FROM=db0fa27c90cbfb06ed06469406f9867c5a5bd3c4
2016-03-14 17:42:20 +01:00
Alexander Alashkin
c581b5e532
Add mg/examples-wine to OurCI
...
PUBLISHED_FROM=2781248e982719cda495370a373f66d6e4213d83
2016-03-10 13:11:23 +01:00
Alexander Alashkin
df311203dc
Fix mongoose/examples compilation with mingw
...
PUBLISHED_FROM=46800f43ba03082cc589d70e6118d754f4cdc9d0
2016-03-10 13:11:22 +01:00
Marko Mikulicic
c82ccd6cf7
Simplify http client example
...
PUBLISHED_FROM=64a91c5d261338c7c224340943d63d4b753ee303
2016-03-08 08:44:21 +01:00
Deomid Ryabkov
a68d3d63b2
Make mg_mk_str take NULL, rename MG_STR MG_MK_STR
...
PUBLISHED_FROM=77f24c29667ca2aed3ad8a5102d7e1264f84228b
2016-03-04 16:09:39 +01:00
Marko Mikulicic
8a5f8439b4
Make sure iobuf is renamed to mbuf everywhere
...
PUBLISHED_FROM=b1049c57352286abda168df521002cfc87136fd6
2016-03-01 09:53:49 +00:00
Deomid Ryabkov
09dde636d2
Fix image
...
PUBLISHED_FROM=1dc0b60738c763dc0d9a939c255c7fbd431e96e5
2016-02-29 14:56:25 +01:00
Alexander Alashkin
a6c66fb669
Implement multipart streaming in MG (edition 2)
...
PUBLISHED_FROM=de89316ca3b53b8eb46ea69e88b5fbd277c80dc2
2016-02-29 14:56:24 +01:00
rojer
00a23ee330
Good bye osdep.h, you won't be missed
...
PUBLISHED_FROM=f08a8324dfde5f9e22eee0e5e4dbae0e3d45cb3f
2016-02-13 13:59:16 +00:00
Alexander Alashkin
d333c3c09e
Implement fake DAV LOCK
...
PUBLISHED_FROM=0ea0d8623ab3f59de8996f6b18712d1b3fb120f8
2016-02-13 13:58:58 +00:00
Sergey Lyubka
7e68b097d1
Close https://github.com/cesanta/mongoose/pull/603
...
PUBLISHED_FROM=ab934b21ed67878f47ccd569d88030e53e914bf7
2015-12-21 08:37:20 +00:00
Marko Mikulicic
f05733da69
Fix COAP example, reduce number of ctx switches
...
PUBLISHED_FROM=7010fff404826c3dfc783d2cbdcbd0936a8a2b85
2015-12-15 11:36:34 +01:00
Alexander Alashkin
518a7f8a71
Fix MG DAV
...
PUBLISHED_FROM=132db6ed9c9e1eb9ec19b4f9299448b901b92231
2015-12-08 12:35:29 +00:00
Sergey Lyubka
f5ad19d76b
Fix g++ build for mongoose example
...
PUBLISHED_FROM=c581f33e26819d05c9b8484c9dc10c2a3615a34a
2015-12-02 17:04:44 +00:00
Sergey Lyubka
7c4cda622f
Implement port based redirect
...
PUBLISHED_FROM=798a8bc38cb385027d3caae9b954002c1a10d39c
2015-11-30 12:27:57 +00:00
Deomid Ryabkov
d8f8c1cb99
I fail at math
...
PUBLISHED_FROM=c45da0cf83e9573a9fa8234f4dee1b9e4e5b977a
2015-11-30 12:27:57 +00:00
Deomid Ryabkov
d2b9ad570f
Add a custom linker script for 4m flash
...
PUBLISHED_FROM=a92b86588923fb54075b1c3ed8ca8112164c36c5
2015-11-25 12:06:28 +00:00
Deomid Ryabkov
5b36f32996
Add ESP8266 RTOS example
...
PUBLISHED_FROM=892d01b09f5801d3d19e6db1ce22b7916d2f83d5
2015-11-24 00:42:27 +00:00
Deomid Ryabkov
2a4ca9d5c3
Introduce a network interface API, refactor UDP
...
PUBLISHED_FROM=6e961e2760b2b64e211978ede5df8ca353ea5512
2015-10-30 18:38:40 +01:00
Deomid Ryabkov
1eaabdd8e5
s/dmg/dns/g
...
PUBLISHED_FROM=96dc8b0b4001f2206749a401c615f043fc5f6131
2015-10-21 15:17:11 +02:00
Alexander Alashkin
63075f6846
Add restful_client & restful_server VC projects
...
PUBLISHED_FROM=5ee78f5c907401c93a04f89d6b25b99515aa809a
2015-10-16 10:31:23 +01:00
Alexander Alashkin
7f2e42a06d
Fix MSVC2015 build and add VC project
...
PUBLISHED_FROM=d071ecd0bdcc871cdd18a65c1ebb8b546ff61941
2015-10-16 10:31:23 +01:00
Sergey Lyubka
3fbfa33b9a
Minor nitpicks for big_upload
...
PUBLISHED_FROM=55d4270916f32ce4645965fbd7a031d7f8e1907b
2015-10-13 10:38:36 +01:00
Maxim Ignatenko
179aa75047
Add big_upload example
...
PUBLISHED_FROM=58dfd3cfdbc5f908e5fa10171274f0d5dd256404
2015-10-13 10:38:36 +01:00
Marko Mikulicic
a2322c77c6
Fix mongoose build
...
PUBLISHED_FROM=ec4a774dfd690876201080ff55bdbec5bd865670
2015-10-12 11:05:33 +01:00
Sergey Lyubka
776103068f
Add examples for mongoose blog article
...
PUBLISHED_FROM=54f54211919bb2276e02b4d10306ffa5540a9313
2015-10-02 13:10:47 +01:00
Sergey Lyubka
f014918435
Add JS support to Mongoose
...
PUBLISHED_FROM=5f319c5c6d965432da063ce7ab495ae24e972755
2015-09-22 10:32:01 +01:00
Sergey Lyubka
51e016089e
Nitpick README update
...
PUBLISHED_FROM=28b3a30ad82432e8e3ca194d7e204acf9a998e94
2015-09-22 10:32:01 +01:00
Sergey Lyubka
e1dd3f06fe
Rename Mongoose constants: NS_ -> MG_, NSF_ -> MG_F_
...
PUBLISHED_FROM=c9cc54df1883aa17606de2b1ffb30f0cd687d037
2015-09-21 15:19:34 +01:00
Deomid Ryabkov
32ab35f61f
Rename hmac_sha1 -> cs_hmac_sha1
...
PUBLISHED_FROM=3d4fbd8192d04add406e304b113ce5ec0b1c1165
2015-09-21 15:19:34 +01:00
Sergey Lyubka
0730590e35
Fix SSL codepath in restful_server example
...
PUBLISHED_FROM=4cd52839b8d2396f50f94f1ce36fa7b4501dc204
2015-09-21 15:19:33 +01:00
Marko Mikulicic
8927c9d22b
Merge dev branch code named Fossa as next stable Mongoose
2015-09-08 14:34:30 +02:00
rojer
6b440918ec
Tweak event handler a bit for clarity
...
Put cases in the order we expect them to occur
2015-08-13 14:38:41 +01:00
rojer
d349bb3cc7
Swallow responses to internal pings
2015-08-12 18:35:18 +01:00
rojer
8a71ad99e6
Mongoose example for server data push
2015-08-12 17:42:05 +01:00
Sergey Lyubka
41b405d7bf
Remove examples/web_server
2015-07-13 11:14:19 +01:00
Sergey Lyubka
824e4dc0e4
Fix file upload iteration
2015-06-19 19:01:21 +01:00
Sergey Lyubka
564683d25a
Fix timeout for cookie auth example
2015-06-05 18:09:27 +01:00
Sergey Lyubka
08fe9ac518
Fix examples
2015-05-20 10:53:10 +01:00
NickCis
d6cbf9f77d
Fixing C coding style mistakes
2015-05-19 13:54:35 -03:00
NickCis
c06abbc5f7
Implementing array varibles
2015-05-15 15:49:35 -03:00
Sergey Lyubka
bf7a115bf2
Fix url rewrites
2015-05-11 09:13:46 +01:00
Sergey Lyubka
1104688b02
Fix win32 build no2
2015-03-25 17:29:34 +00:00
Sergey Lyubka
36d95e230e
Fix win32 build
2015-03-25 17:10:58 +00:00
Sergey Lyubka
4cbd113d01
Upload multiple files
2015-03-24 07:52:49 +00:00
Sergey Lyubka
c8e8f94ffe
Sync main
2015-03-17 17:35:31 +00:00
Sergey Lyubka
6c09c303d0
Merge pull request #456 from sebgod/fix-win32-examples-using-extra
...
Enable building of example/Makefile on Win32
2015-03-17 11:45:36 +00:00
Sergey Lyubka
a6fa51dbc2
Merge pull request #481 from cesanta/web_server_ssl
...
web_server_ssl
2015-03-06 14:39:50 +00:00
Alexander Alashkin
6ceac6c84c
web_server_ssl
2015-03-06 15:08:57 +02:00
Sergey Lyubka
288efe3c23
Add -DMONGOOSE_ENABLE_THREADS to other examples
2015-03-06 09:29:56 +00:00
Sergey Lyubka
5207545a8b
Add -DMONGOOSE_ENABLE_THREADS to proxy server example
2015-03-06 09:28:27 +00:00
Sergey Lyubka
716d524f9b
Add -DMONGOOSE_ENABLE_THREADS to Makefile
2015-03-06 09:25:30 +00:00
Alexander Alashkin
e9633a8d2d
websocket_ssl_proxy
2015-03-06 09:32:08 +02:00
Josh Criz
a0dd396b95
Update Makefile
...
Fixing typo in 'clean' section
2015-01-16 17:59:08 -06:00
Sebastian Godelet
8082501b9c
Enable building of example/Makefile on Win32
...
Adding example/.gitignore to ignore *.exe
Appending -lws2_32 at the end of CFLAGS_EXTRA if running make on
Windows to enable easy compiling under that platform.
Obsoletes pull request #454
2015-01-10 16:41:58 +08:00
Sergey Lyubka
0a0ea36ace
Fix examples/proxy_server build
2014-11-24 19:33:24 +00:00
Sergey Lyubka
016968ada1
Removed net_skeleton dependency from examples/proxy_server
2014-10-17 20:29:39 +01:00
Sergey Lyubka
2bc77e065c
Fixed build
2014-10-15 14:29:22 +01:00
Sergey Lyubka
790daabf7d
Enhanced RESTful API example
2014-10-15 11:58:47 +01:00
Sergey Lyubka
f059e41cac
Removed mg_set_listening_socket() and mg_get_listening_socket(), added mg_copy_listeners()
2014-10-14 15:25:56 +01:00
Sergey Lyubka
6193b5171c
Merge pull request #421 from mpromonet/master
...
transmit http answer code using http_client
2014-10-14 11:10:03 +01:00
Sergey Lyubka
911115ccc0
Added -pthread to CFLAGS for linux
2014-10-14 10:05:12 +00:00
MPR
df206bc05a
transmit http answer code using http_client
2014-10-11 17:56:35 +02:00
Sergey Lyubka
531fec34fd
Added missing files
2014-10-10 14:35:39 +01:00
Sergey Lyubka
4c10d1f356
mongoose_server -> web_server
2014-10-10 13:58:45 +01:00
Sergey Lyubka
94dccdd6f4
c# -> csharp
2014-10-10 10:02:58 +01:00
Sergey Lyubka
544352b7d3
moved jni to android_build
2014-10-10 09:51:57 +01:00
Sergey Lyubka
29c2ae4886
moved multi_threaded to separate dir
2014-10-10 09:51:02 +01:00
Sergey Lyubka
1a2e2ec2fd
moved proxy to separate dir
2014-10-10 09:48:43 +01:00
Sergey Lyubka
3e780d21fc
moved form.c example to separate dir
2014-10-10 09:44:45 +01:00
Sergey Lyubka
63fcea0159
moved form_submit to separate dir
2014-10-10 09:40:07 +01:00
Sergey Lyubka
e5d21225be
moved big_upload to separate dir
2014-10-10 09:39:12 +01:00
Sergey Lyubka
0c9caf3120
Moved server.c to separate dir
2014-10-10 09:37:18 +01:00
Sergey Lyubka
54ba36c1c9
check_login_form_submission() factored in separate function
2014-10-09 11:44:12 +01:00
Sergey Lyubka
5077350589
Added cookie based auth example
2014-10-09 11:29:39 +01:00
Sergey Lyubka
2d880c4f5c
Moved auth.c to separate dir
2014-10-09 09:42:07 +01:00
Sergey Lyubka
4ca4c862a5
Updated net_skeleton, added extra_headers param to mg_send_file()
2014-10-09 09:26:45 +01:00
Sergey Lyubka
e1b1d39635
Removed conflicting MIT-related comment block
2014-10-01 12:11:04 +01:00
Sergey Lyubka
dbc07c8b00
Moved mjpg_streamer to a separate dir
2014-09-15 19:05:30 +01:00
Sergey Lyubka
0fb2f38cb7
Fixed mg_connect() call
2014-09-14 15:06:09 +01:00
Sergey Lyubka
2a5a8eec49
removed chat_server dir in examples
2014-09-10 00:59:31 +01:00
Sergey Lyubka
ceca52de30
Moved file send_file example to separate dir
2014-09-09 23:23:29 +01:00
Sergey Lyubka
8a3691055c
Moved file upload example to separate dir
2014-09-09 23:20:23 +01:00
Sergey Lyubka
56d12c89da
Typo in hello_world.c fixed
2014-09-09 22:47:07 +01:00
Sergey Lyubka
2cfce4d8b2
Added copyright
2014-09-09 22:46:24 +01:00
Sergey Lyubka
f372faf614
Moved hello.c example to its own dir
2014-09-09 22:44:57 +01:00
Sergey Lyubka
882f3b3ac3
removed hello.lp
2014-09-09 18:26:03 +01:00
Sergey Lyubka
fac0e9b0ac
Moved unit test to dedicated dir
2014-09-09 18:23:48 +01:00
Sergey Lyubka
a3cf67c380
Moved examples/mkdata.pl -> scripts/embed_binary_files.pl
2014-09-09 18:11:57 +01:00
Sergey Lyubka
2987cbdb5c
ws_ssl -> websocket_ssl_proxy
2014-09-09 18:09:33 +01:00
Sergey Lyubka
6083b9c5c5
Updated to the recent skeleton. SSL address format changed
2014-09-09 18:07:55 +01:00
Sergey Lyubka
83237a02d9
Made local copies of dependencies
2014-09-09 17:03:50 +01:00
Sergey Lyubka
965188bac9
removed chat.c
2014-09-09 17:01:06 +01:00
Sergey Lyubka
66da41d401
Adopted to the recent net_skeleton
2014-09-09 17:00:49 +01:00
Sergey Lyubka
cfd334ac6c
Moved websocket echo server example
2014-09-09 09:27:35 +01:00
Sergey Lyubka
b5f6254c1e
Added date marker
2014-09-08 23:30:52 +01:00
Sergey Lyubka
dcbd1cbbd1
Moved pubsub example to websocket_chat
2014-09-08 23:29:34 +01:00
Sergey Lyubka
a3b568f460
removed lua_ddl.c
2014-09-08 23:22:46 +01:00
Sergey Lyubka
73f2602ba0
Updated due to ssl_wrapper.h refactoring
2014-08-26 14:42:24 +01:00
Sergey Lyubka
bdb16c624c
Added MG_RECV event and mg_send_file_data() func
2014-08-21 04:09:06 +01:00
Sergey Lyubka
695559f691
Updated to the latest SSL wrapper
2014-08-13 09:17:20 +01:00
Sergey Lyubka
13be74b4c6
Merge branch 'master' of ssh://github.com/valenok/mongoose
2014-08-11 16:20:25 +01:00
Sergey Lyubka
02a1032fd4
updated ssl_wrapper
2014-08-11 16:19:25 +01:00
Miodrag Milanovic
3721efe1e9
Make mongoose compile on mingw environment
2014-08-11 15:27:23 +02:00
Sergey Lyubka
9fe53f307b
Added http client example
2014-08-05 17:14:41 +01:00
Sergey Lyubka
c64d30e1f6
removed make_settings.mak
2014-08-05 16:41:14 +01:00
Sergey Lyubka
b4c25fc7ba
Added ALL_PROGS
2014-08-05 16:40:51 +01:00
Sergey Lyubka
5a19438f70
Added guard for MONGOOSE_NO_FILESYSTEM
2014-08-04 22:31:59 +01:00
Daniel O'Connell
d4c8384b85
ws_ssl example
2014-08-03 12:40:10 +01:00
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
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
Sergey Lyubka
1a64d37fc7
Fixed mg_websocket_read()
2013-09-29 09:25:47 +01:00
Sergey Lyubka
ecbf79135f
Refactored API, returned back to event-based handlers. Upload and Websocket API simplified
2013-09-28 11:00:54 +01:00
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