Sergey Lyubka
017c7290d6
Better error handling - report from iotest
2022-06-29 17:02:37 +01:00
Sergey Lyubka
6a8b5b06d0
Merge pull request #1608 from cesanta/fix_mqtt-over-ws-client
...
fix incorrect WS packet payload
2022-06-29 14:51:39 +01:00
Sergey Lyubka
e8f050c194
Dont use realloc
2022-06-29 00:00:16 +01:00
Sergio R. Caprile
712517b6fa
fix incorrect WS packet payload
2022-06-28 16:27:49 -03:00
Sergey Lyubka
434378eda5
Merge pull request #1602 from cesanta/device-dashboard
...
fixed watch() not being called after login
2022-06-28 20:24:36 +01:00
Sergey Lyubka
cf38fdb720
Merge pull request #1606 from cesanta/mqtt-client
...
fixed TLS build comment
2022-06-28 20:23:45 +01:00
Sergio R. Caprile
6542c02b7f
fixed TLS build comment
2022-06-28 10:56:56 -03:00
Sergio R. Caprile
a13144932a
fixed TLS build comment
2022-06-28 10:49:45 -03:00
Sergio R. Caprile
6597830631
fixed watch() not being called after login
2022-06-28 10:26:32 -03:00
Sergey Lyubka
ba08140197
Initial mqtt5 support
2022-06-28 11:31:13 +01:00
Sergey Lyubka
d65ce3b596
Add mg_rprintf, mg_vrprintf
2022-06-28 00:45:52 +01:00
Sergio R. Caprile
dcfb014d1f
updated and cleaned up texts
2022-06-23 15:33:31 -03:00
Sergey Lyubka
4f9cfdf65d
Merge pull request #1598 from cesanta/http-reverse-proxy
...
Added openSSL support
2022-06-20 22:00:14 +01:00
Sergey Lyubka
b1cd233dda
Merge pull request #1597 from cesanta/http-proxy-client
...
Added openSSL support
2022-06-20 21:59:48 +01:00
Sergio R. Caprile
380a50e39b
Added openSSL support
...
Fixed missing parameter in makefile
Added URI handling
2022-06-20 15:27:46 -03:00
Sergio R. Caprile
3bd3a4ff7b
fixed comment, updated TLS section in makefile
2022-06-20 14:50:45 -03:00
Sergey Lyubka
46bf79455c
Add examples/esp32/uart-bridge
2022-06-19 18:27:37 +01:00
Sergey Lyubka
0b5a00c99a
Change uart_read signature
2022-06-18 20:41:04 +01:00
Sergey Lyubka
ba8482c707
Update uart bridge
2022-06-18 11:32:31 +01:00
Sergey Lyubka
1b34360b05
Update uart bridge
2022-06-18 11:30:44 +01:00
Sergey Lyubka
c84dab21e4
Refactor UART example
2022-06-18 04:25:11 +01:00
Sergey Lyubka
adcf5bab0e
Merge pull request #1589 from cesanta/mqtt-client
...
Add support for openSSL
2022-06-17 22:04:38 +01:00
Sergio R. Caprile
f4fc33d111
brought back 7.5 file-upload as file-upload-multiple-posts; updated to latest API
...
renamed form-upload to file-upload-html-form
renamed file-upload to file-upload-single-post
2022-06-17 16:35:02 -03:00
Sergio R. Caprile
fb446022e2
Added openSSL support
...
Backend host is https only if TLS is enabled
2022-06-16 11:59:06 -03:00
Sergio R. Caprile
e021d7cd9d
Add support for openSSL
2022-06-15 10:42:32 -03:00
Sergey Lyubka
6d46ecaa6c
Add mip-pcap example
2022-06-13 02:03:52 +01:00
Sergey Lyubka
d3368e4aad
Move mip into mip/
2022-06-11 17:29:45 +01:00
Sergio R. Caprile
0dbc99d9ee
fixed poll timeout being larger than timer period
2022-06-10 16:59:14 -03:00
Sergio R. Caprile
505ca96547
fixed typo
2022-06-10 16:25:56 -03:00
Sergio R. Caprile
2f75418c70
Remove outdated comments
2022-06-10 10:37:12 -03:00
Sergey Lyubka
55948cd431
Allow to set log level
2022-06-10 12:33:30 +01:00
Sergey Lyubka
dfca896a64
Update huge response. More tests
2022-06-10 12:14:42 +01:00
Sergey Lyubka
8fc6f3f744
Remove mjson dependency
2022-06-10 09:40:22 +01:00
Sergey Lyubka
f65058fa03
Remove mjson dependency
...
Signed-off-by: Sergey Lyubka <valenok@gmail.com>
2022-06-10 09:39:53 +01:00
Sergey Lyubka
cff208c5a9
Introduce %Q format specifier, rework device dashboard
2022-06-08 21:44:01 +01:00
Sergey Lyubka
a83dd9569d
Unbreak esp32 example
2022-06-08 20:04:35 +01:00
Sergey Lyubka
ac3151f871
Make dashboard more robust
2022-06-08 19:53:29 +01:00
Sergey Lyubka
bcb6c2675f
Unbreak esp32 device dashboard build
2022-06-08 13:54:20 +01:00
Sergey Lyubka
6b51666248
Move esp32 example
2022-06-08 13:24:41 +01:00
Sergey Lyubka
628a007112
Refresh packed filesystems
2022-06-08 13:22:09 +01:00
Sergey Lyubka
9f8424e93f
Update readme
2022-06-08 09:06:14 +01:00
Sergey Lyubka
2e750236be
Add uart-bridge example
2022-06-08 08:58:32 +01:00
Sergey Lyubka
e75afcba42
Update dash UI
2022-06-05 17:17:19 +01:00
Sergey Lyubka
31c7d66245
Rework dashboard
2022-06-05 14:59:59 +01:00
Sergey Lyubka
219428c249
Change device dashboard to use MQTT
2022-06-04 22:21:59 +01:00
Sergey Lyubka
c48349ba56
Add sntp-time-sync example
2022-06-03 13:57:57 +01:00
Sergio R. Caprile
7da5d42009
Merge pull request #1573 from cesanta/timers
...
Minor cosmetic changes
2022-06-02 10:06:41 -03:00
Sergey Lyubka
a88ea776a9
Change MG_MAX_RECV_BUF_SIZE -> MG_MAX_RECV_SIZE
2022-06-02 13:50:44 +01:00
Sergey Lyubka
063244e4ca
Minor cosmetic changes
2022-06-01 21:15:31 +01:00
Sergey Lyubka
f735585239
Update timers example
2022-06-01 17:09:15 +01:00
Sergey Lyubka
30349ec217
Update timers example
2022-06-01 17:09:13 +01:00
Sergey Lyubka
55517d48ed
Change linux target
2022-06-01 16:25:04 +01:00
Sergey Lyubka
a3d63c095a
Handle #1562 - add udp/tcp extra param to mg_mkpipe()
2022-05-31 18:23:32 +01:00
Sergey Lyubka
2ae341cf5e
Add nucleo-f746zg-baremetal
2022-05-26 13:53:36 +01:00
Sergey Lyubka
69082db381
Regenerated packed fs
2022-05-25 11:15:00 +01:00
Sergey Lyubka
c2d2d085cd
Add chart example
2022-05-23 15:27:19 +01:00
Sergey Lyubka
b3a4c12d67
Handle #1559 - set no flags in send() call
2022-05-22 23:49:38 +01:00
Sergey Lyubka
7e2ca72310
Remove mg_log_set_callback. Use MG_PUTCHAR macro instead
2022-05-20 09:45:17 +01:00
Sergey Lyubka
47e15a3d47
RTX nits
2022-05-17 19:29:53 +01:00
Alex Alashkin
ac55c900e7
Use docker for Zephyr CI
2022-05-16 15:30:25 +03:00
Sergey Lyubka
f5fd176b35
Increate SNTP timeout 3s->5s. Change mg_sntp_send() to mg_sntp_request(), remove one unnecessary parameter
2022-05-15 18:41:01 +01:00
Alex Alashkin
0ed7545947
Add TI support
2022-05-15 19:25:50 +03:00
Sergey Lyubka
95e22e8d4f
Exporting only dashboard func
2022-05-15 14:40:58 +01:00
Sergey Lyubka
443d0f0c6c
Rename complete -> device-dashboard, remove multiple-logins and dashboard
2022-05-14 09:08:23 +01:00
Sergey Lyubka
c20e48179f
Un-break the test and untie serving code in dash example
2022-05-13 22:15:33 +01:00
Sergey Lyubka
3fbb7de712
Refactor dashboard example
2022-05-13 20:08:08 +01:00
Sergey Lyubka
5271626947
Disable SSI by default
2022-05-08 21:54:15 +01:00
Sergey Lyubka
6db0485c7b
Set c->loc for accepted and UDP connections
2022-05-06 20:19:40 +01:00
Sergey Lyubka
f19eec7fae
Refactor multithreading API
2022-04-25 14:56:15 +01:00
Alex Alashkin
56c40ff0fd
Fix zephyr tests
2022-04-20 09:28:36 +03:00
Sergey Lyubka
20fc8f0279
Handle #1529 : add automatic linkage against ws2_32.lib on _WIN32 targets
2022-04-19 18:51:28 +01:00
Sergey Lyubka
944704a12d
Fix #1528 : pack.c build on Win32
2022-04-19 18:46:29 +01:00
Alex Alaskin
a7c24aeeee
Add Zephyr build to Github actions
2022-04-13 19:54:08 +03:00
Sergey Lyubka
186eb998ba
Adjust to timer API change, add root makefile
2022-04-13 14:03:00 +01:00
Sergey Lyubka
d630ba743d
Merge pull request #1524 from zudwalex/zephyr2
...
Add Zephyr examples
2022-04-13 11:17:22 +01:00
Sergey Lyubka
ebd2e89faa
Handle #1522 - Fix TLS buffering
2022-04-13 10:48:17 +01:00
Alex Alashkin
17e0fb1c15
Add Zephyr examples
2022-04-13 11:10:22 +03:00
Sergey Lyubka
6e3e77a1a0
Enhance http-streaming-client
2022-04-12 19:06:37 +01:00
Sergey Lyubka
ef44f90491
Fix #1520 - move state to struct mg_mgr
2022-04-12 14:14:55 +01:00
Sergey Lyubka
b20eded30e
Fix ESP32 example
2022-04-05 12:54:20 +01:00
Sergey Lyubka
affcef7e37
Fix clean targets
2022-04-03 00:04:58 +01:00
Sergey Lyubka
b5fcf95b88
Enable mbedTLS
2022-04-01 21:33:09 +01:00
Sergey Lyubka
d954851d43
Drop CRL from mbedTLS integration - let customer do a custom init if required
2022-04-01 16:42:41 +01:00
Sergey Lyubka
3d9fa10485
Increase sock limit, fix multiple connections issue
2022-04-01 15:42:15 +01:00
Sergey Lyubka
4e0039625e
Remove cruft
2022-03-31 18:07:15 +01:00
Sergey Lyubka
6c909f8935
Disable SNTP
2022-03-31 18:02:29 +01:00
Sergey Lyubka
4f5d385e52
Enable SNTP in zephyr example
2022-03-31 17:42:09 +01:00
Sergey Lyubka
84fe1d87b3
Enable DHCP
2022-03-31 17:26:58 +01:00
Sergey Lyubka
bb0bc41f99
Add zephyr example skeleton
2022-03-31 16:58:27 +01:00
Sergey Lyubka
ad4812218d
Handle #1497 - handshake format
2022-03-21 15:17:09 +00:00
Sergey Lyubka
7ef82f5caf
Add vc2017 target
2022-03-21 14:38:42 +00:00
Sergey Lyubka
1141ea7933
Add connection timeout
2022-03-20 18:50:01 +00:00
Sergey Lyubka
6c021765bb
Merge pull request #1479 from zudwalex/infineon_rtx_support
...
Add RTX-RTOS support
2022-03-18 09:18:49 +00:00
Sergey Lyubka
870431dc1a
Enhance HTTP client example
2022-03-15 14:14:36 +00:00
Sergey Lyubka
d255fc737a
Fix mongoose.exe target
2022-03-15 10:03:00 +00:00
Sergey Lyubka
7bf8b81995
Fix mg_http_delete_chunk()
2022-03-11 15:38:59 +00:00
Alex Alashkin
412f5cf3e0
Add RTX-RTOS support
2022-02-23 19:56:37 +02:00
Sergey Lyubka
e99973d4b7
Introduce local address
2022-02-22 22:00:55 +00:00
Sergey Lyubka
4fec149345
Disable dirlist by default
2022-02-14 11:32:01 +00:00
Sergey Lyubka
969b84043c
Fix #1465 - rename LL_* constants, introduce MG_* log macros
2022-02-12 18:17:25 +00:00
Sergey Lyubka
54f75889fa
Using mg_snprintf() everywhere
2022-02-10 17:11:03 +00:00
Sergey Lyubka
f64c86d23f
Use mg_snprintf()
2022-02-10 11:56:55 +00:00
Sergey Lyubka
9e634310b4
Use MG_EV_HTTP_CHUNK for streaming upload
2022-02-09 12:24:06 +00:00
Sergey Lyubka
33666e7d6b
Fix ESP32 example
2022-02-08 14:13:47 +00:00
Sergey Lyubka
40d4c7e410
Fix ESP32 example
2022-02-08 13:43:34 +00:00
Sergey Lyubka
49d5aff8f9
Call realpath() against root_dir only when there are no overrides
2022-02-01 11:10:01 +00:00
Sergey Lyubka
63b880e624
Handle #1459 - deprecate mg_globmatch, introduce mg_match()
2022-01-29 11:03:54 +00:00
Sergey Lyubka
768f67ae0a
Fix #1458 - fail on example build error, and fix examples/mqtt-server
2022-01-27 12:10:03 +00:00
Sergey Lyubka
f6cebf6956
Listen on INADDR_ANY by default
2022-01-22 17:03:27 +00:00
Sergey Lyubka
226917e1cd
Use mg_str, not pointers, in mg_mqtt_{sub,pub}
2022-01-19 09:57:27 +00:00
Sergey Lyubka
fe813ee247
Add buf,len params to mg_mgr_wakeup()
2022-01-19 09:25:01 +00:00
Sergey Lyubka
d0857fe36c
Add mkdir to the FS API
2022-01-18 19:19:34 +00:00
Sergey Lyubka
56a7438114
Add fs arg to mg_file* and mg_http_upload API
2022-01-18 17:11:02 +00:00
Sergey Lyubka
97f95e17db
Better strategy for restoring multicast address
2022-01-07 18:40:48 +00:00
Sergey Lyubka
6725d61b3f
Re-init SSDP peer address before every search
2022-01-07 18:28:51 +00:00
Sergey Lyubka
f7ff571c5f
Added SSDP search example
2022-01-05 13:22:00 +00:00
Sergey Lyubka
6ad4d242c2
Better cleanup
2022-01-05 11:45:22 +00:00
Sergey Lyubka
030b1d9826
Remove wrong comment
2021-12-27 03:31:33 +00:00
Sergey Lyubka
f6ffa7b3b9
Add huge-response example
2021-12-27 03:25:28 +00:00
Sergey Lyubka
137efe2233
Show requests in flight
2021-12-24 20:46:31 +00:00
Sergey Lyubka
26a97ec36c
Fix #1434 - set will QoS in CONNECT message correctly, and rename qos -> will_qos in struct mg_mqtt_opts
2021-12-23 11:00:18 +00:00
Sergey Lyubka
f29807aad8
Resolve root path before serving to avoid double dots
2021-12-22 18:05:03 +00:00
Sergey Lyubka
fb0a9bc7e3
Fix build
2021-12-21 18:16:12 +00:00
Sergey Lyubka
9e0f04dc8b
Add -S option
2021-12-20 16:35:16 +00:00
Sergey Lyubka
d311e967fa
Add mingw target
2021-12-16 09:22:28 +00:00
Sergey Lyubka
755bf3c412
Split TLS files and introduce MG_ENABLE_CUSTOM_TLS
2021-12-14 12:42:41 +00:00
Sergey Lyubka
25e76d761e
Fix usage message
2021-11-29 14:00:03 +00:00
Sergey Lyubka
013520b0c0
Add note for mg_http_serve_dir()
2021-11-25 12:29:45 +00:00
Sergey Lyubka
922e1ce529
Make captive portal work on Linux
2021-11-23 17:52:54 +00:00
Sergey Lyubka
7a707cc64b
Add README
2021-11-23 15:08:34 +00:00
Sergey Lyubka
1967acfef2
Make it build on vc98
2021-11-23 13:24:21 +00:00
Sergey Lyubka
e24cb04003
Update URL
2021-11-23 09:37:03 +00:00
Sergey Lyubka
67974746ff
Add json-rpc-over-ws example
2021-11-22 16:45:14 +00:00
Sergey Lyubka
8d916d41d7
Fix #1409 - remove VLA which confuses MSVC
2021-11-22 12:24:58 +00:00
Sergey Lyubka
2c50069d98
Do not clean the recv buffer
2021-11-14 16:47:40 +00:00
Sergey Lyubka
31059f6728
Add test.html
2021-11-14 14:31:51 +00:00
Sergey Lyubka
2000752b2c
Remove dead code
2021-11-11 15:15:47 +00:00
Sergey Lyubka
dd34830443
Update README
2021-11-11 15:11:57 +00:00
Sergey Lyubka
c58f4ee51b
Add symlinks
2021-11-11 14:21:52 +00:00
Sergey Lyubka
00f7e8cb2a
Support wildcards
2021-11-11 12:08:17 +00:00
Sergey Lyubka
439904e27f
Add signal handler
2021-11-11 10:35:41 +00:00
Sergey Lyubka
4d6590ece2
Add readme
2021-11-11 10:29:16 +00:00
Sergey Lyubka
9b0c4b970d
Add README.md
2021-11-11 08:26:31 +00:00
Sergey Lyubka
a80ce1b12a
Add signal handler
2021-11-11 07:36:25 +00:00
Sergey Lyubka
57dd74c180
Add reconnection logic
2021-11-10 12:57:02 +00:00
Sergey Lyubka
975db86306
Add READMEs
2021-11-05 13:02:36 +00:00
Sergey Lyubka
0bb017c1d5
Add examples/mqtt-client-aws-iot
2021-11-03 20:58:57 +00:00
Sergey Lyubka
c3d237e9c6
More verbose log
2021-11-02 22:43:23 +00:00
Sergey Lyubka
09d28f5570
Print a clarifying message at start
2021-11-02 16:53:57 +00:00
Sergey Lyubka
ba02937ec6
Squash warnings
2021-11-02 16:40:25 +00:00
Sergey Lyubka
423aaa492c
Fix #1394 - mg_mqtt_sub(). Add MG_EV_OPEN, too.
2021-11-01 16:20:00 +00:00
Sergey Lyubka
2016586475
Clearer client init
2021-11-01 13:29:44 +00:00
Sergey Lyubka
49c9be9159
Set MG_IO_SIZE -> 128
2021-10-27 19:20:52 +01:00
Sergey Lyubka
35f02fdaad
Use small IO buffer
2021-10-27 19:18:19 +01:00
Sergey Lyubka
6ac09966ba
Fix #1374 - fix ESP32 build
2021-10-22 22:06:10 +01:00
Sergey Lyubka
a84acf5b8b
Merge pull request #1385 from zudwalex/move_stm32_examples
...
Move STM32 examples to stm32 folder
2021-10-22 13:39:13 +01:00
Alex Alashkin
6742991469
Move STM32 examples to stm32 folder
2021-10-22 14:19:50 +03:00
Alex Alashkin
2430cc5aac
Add more NXP examples and move them to nxp folder
2021-10-22 14:04:15 +03:00
Alex Alashkin
655529f30b
Use mongoose.[ch] from parent repo
2021-10-06 13:15:12 +03:00
Alex Alashkin
5cdaa931f9
Add NXP examples
2021-10-04 12:54:15 +03:00
Sergey Lyubka
a204c80308
Update ca.pem links
2021-10-01 09:25:34 +01:00
Sergey Lyubka
7d620965e2
Update ca.pem: DST root CA has expired
2021-10-01 09:22:49 +01:00
Sergey Lyubka
78e1fdd1c9
Merge pull request #1365 from zudwalex/mimxrt1020_example
...
Add NXP MIMXRT1020 AzureRTOS example
2021-09-27 11:50:48 +01:00
Alex Alashkin
9ef5c7c667
Add NXP MIMXRT1020 AzureRTOS example
2021-09-27 11:12:15 +03:00
yermin
8f693b92a7
makes it more readable
...
Signed-off-by: yermin <yermin@buaa.edu.cn>
2021-09-24 11:30:21 +08:00
Sergey Lyubka
2b48e8b03a
Send suback
2021-09-18 20:56:56 +01:00
Sergey Lyubka
9b6b1a68f4
Add MQTT version check
2021-09-17 14:02:29 +01:00
Sergey Lyubka
dca08d32bd
Fix URL
2021-09-13 13:47:49 +01:00
Sergey Lyubka
e3589577ed
Update OpenSSL handshake error codepath
2021-08-29 16:54:24 +01:00
Sergey Lyubka
e653147119
Merge pull request #1344 from timgates42/bugfix_typo_priority
...
docs: fix simple typo, priorty -> priority
2021-08-28 08:37:26 +01:00
Sergey Lyubka
913e730ec2
mg_iobuf_delete -> mg_iobuf_del
2021-08-28 07:16:38 +01:00
Tim Gates
9f827feeaa
docs: fix simple typo, priorty -> priority
...
There is a small typo in examples/stm32-freertos-tcp/stm32f7/core_cm7.h.
Should read `priority` rather than `priorty`.
2021-08-28 07:46:08 +10:00
Sergey Lyubka
7ba6fda236
Add stm32-nucleo-h743z and stm32-nucleo-f429z
2021-08-26 11:40:47 +01:00
Sergey Lyubka
99b279d5e5
Add examples/stm32-nucleo-f746z
2021-08-23 10:38:11 +01:00
Sergey Lyubka
07568a8f06
Docs nits
2021-08-22 10:51:40 +01:00
Sergey Lyubka
fd5eb2d3f9
Refactor mg_mkpipe()
2021-08-11 19:17:04 +01:00
Sergey Lyubka
b7ce8213d7
Better multithreading support: remove mg_socketpair, add mg_mkpipe() and mg_rmpipe()
2021-08-07 17:22:47 +01:00
Sergey Lyubka
a36050ab4b
Fix #1326 - spelling errors
2021-08-02 00:23:01 +01:00
Sergey Lyubka
568484f079
Fix #920 - add MQTT over Websocket client example
2021-08-01 14:10:21 +01:00
Sergey Lyubka
3a46055e52
Better packed test
2021-07-30 13:19:20 +01:00
Sergey Lyubka
2af5d07467
Fix stm32 GA
2021-07-29 14:28:20 +01:00
Sergey Lyubka
c2176f969b
Implement FS virtualization
2021-07-29 14:21:20 +01:00
Sergey Lyubka
bdb747f9de
Fix mg_prefix test
2021-07-26 09:15:17 +01:00
Sergey Lyubka
299075c930
Add test for fopen_packed()
2021-07-26 09:05:34 +01:00
Sergey Lyubka
b0e0247b21
Add ascii to the packed data
2021-07-25 21:08:02 +01:00
Sergey Lyubka
35abd695cd
Add packed FS
2021-07-25 10:22:56 +01:00
Sergey Lyubka
7e1d4325ec
Fail examples target if any example fails
2021-07-24 08:45:51 +01:00
Sergey Lyubka
2a2c17a232
Remove MG_ENABLE_STDIO and cleanup
2021-07-24 03:44:00 +01:00
Sergey Lyubka
529faa1172
MG_ENABLE_FS -> MG_ENABLE_STDIO
2021-07-23 19:47:26 +01:00
Sergey Lyubka
8fc94e12af
Add enable_dirlist to mg_http_serve_opts
2021-07-20 17:22:41 +01:00
Ignacio Rodríguez
6ac6aa521c
The sanitiser pointed out this problem
...
And I believe it's right. Other-side-close should be done only for the 'A' (proxy-client-side) connection.
2021-07-20 00:04:05 -05:00
Sergey Lyubka
80fcba91c8
Fix #1297 - %p warning
2021-07-14 04:00:27 +01:00
Sergey Lyubka
f20ee1f305
Open HTTP and HTTPS ports
2021-07-13 14:40:52 +01:00
cpq
3deafaea7f
Extend mg_mqtt_{pub,sub} by adding qos and retain
2021-06-10 19:27:19 +01:00
cpq
7c0d126edc
Build with -DMG_ENABLE_FS=1
2021-05-19 08:10:38 +01:00
cpq
47e5e984df
stm32f7 example starts on real h/w, with plus-TCP driver
2021-05-17 17:36:57 +01:00
cpq
606cc1f538
Build w/semihosting support
2021-05-13 22:04:29 +01:00
cpq
2bb11888d5
Build w/semihosting support
2021-05-13 22:03:46 +01:00
cpq
09b1d6aa72
Running two blinkers
2021-05-13 15:05:09 +01:00
cpq
72f0489ec2
Using nucleo-f746zg. Moved 3party libs to test/. Using headers from ST
2021-05-13 14:56:14 +01:00
cpq
2b836504ab
rename
2021-05-12 08:44:16 +01:00
cpq
0de3f0d985
f1 build works
2021-05-12 08:43:34 +01:00
cpq
151e375091
FreeRTOS w/blink works
2021-05-11 20:44:14 +01:00
cpq
c44549bfa5
Blinky works
2021-05-11 18:05:03 +01:00
cpq
d6852f5e74
First stab
2021-05-11 09:12:06 +01:00
cpq
e9d122f231
Stricter checks for mg_url_*()
2021-03-24 15:49:35 +00:00
cpq
0ae5c61759
More comments
2021-03-23 14:02:24 +00:00
cpq
691460c5fc
Add linux target to http-server example
2021-03-22 11:30:48 +00:00
cpq
a1862986b8
Better docstring for file upload example
2021-03-18 12:23:03 +00:00
cpq
4deb95776f
Remove multipart example code
2021-03-18 11:59:23 +00:00
cpq
4dbb2da78f
Add form-upload example
2021-03-17 13:28:36 +00:00
cpq
bcb0874477
Add file upload code example
2021-03-15 09:36:27 +00:00
cpq
4528cc28ef
Add sizep param to mg_file_read()
2021-03-15 09:16:34 +00:00
cpq
6366c832b0
Add struct mg_http_serve_opts::extra_headers
2021-03-10 07:56:14 +00:00
cpq
1b5cc341a5
Add streaming client support, MG_EV_HTTP_CHUNK
2021-03-08 15:41:16 +00:00
cpq
51e3a1304b
Fix TLS build
2021-02-13 10:45:27 +00:00
cpq
457d76b049
Fix #1211 - adjust ESP32 example to serve FS
2021-02-03 02:13:05 +00:00
cpq
7eb998891e
Show served dir in the start message
2021-02-01 00:02:33 +00:00
cpq
d327ee9834
Improve SNI
2021-01-30 13:03:11 +00:00
cpq
31cf6f8969
https://localhost -> http://0.0.0.0
2021-01-29 13:18:34 +00:00
cpq
7200f079bf
Remove dead code
2021-01-25 14:43:56 +00:00
cpq
d155db81de
Add socks5 server example
2021-01-25 14:43:08 +00:00
cpq
7c2499fc06
-D -> -v
2021-01-25 10:35:14 +00:00
cpq
1aa605c620
desktop-server -> http-server
2021-01-25 10:09:48 +00:00
cpq
6ecb6c1500
Fix DNS timeout, add unit test
2021-01-21 10:00:18 +00:00
cpq
51bc5f70c5
Disable native socketpair by default, fix multithreaded win32 example
2021-01-21 09:12:49 +00:00
cpq
89784ab90a
Restore to a simple version
2021-01-19 14:21:50 +00:00
cpq
ae6fd6aa35
Add extra headers param to mg_ws_upgrade()
2021-01-16 22:48:43 +00:00
cpq
72d3a49352
Restore SO_EXCLUSIVEADDRUSE
2021-01-13 03:47:11 +00:00
cpq
87b62390b7
No static for linux
2021-01-13 03:10:42 +00:00
cpq
83c106a857
UI for Win32
2021-01-13 03:07:51 +00:00
cpq
596c70d3dc
Add config file processing
2021-01-12 15:18:19 +00:00
cpq
b7a79a556a
Add extra headers param to mg_http_serve_file
2021-01-07 12:48:20 +00:00
cpq
03ab9e4e0d
Update axios
2021-01-06 17:11:53 +00:00
cpq
e135743efa
Fix example build
2021-01-03 08:55:00 +00:00
cpq
2c1324dc0a
Remove -r option
2021-01-03 08:43:56 +00:00
cpq
c7e09bd7b4
Add SSI include file=, include virtual=
2021-01-02 17:57:51 +00:00
cpq
a882aab30e
Add captive dns server example
2020-12-28 05:25:29 +00:00
cpq
788b577d65
Add README
2020-12-27 01:32:58 +00:00
cpq
71a22adc06
Add ESP8266 example
2020-12-27 01:29:42 +00:00
cpq
49b8480bfb
Add http-reverse-proxy example
2020-12-25 04:32:56 +00:00
cpq
6bcd02bb1c
Enhance HTTP client example
2020-12-24 16:52:58 +00:00
cpq
1716af6c72
Add HTTP client code
2020-12-24 16:52:12 +00:00
cpq
c75eb24eb8
Add proxy client example
2020-12-22 21:01:14 +00:00
cpq
d7abd53062
Always send MG_EV_CONNECT on TCP connect
2020-12-18 15:13:19 +00:00
cpq
aede72fa37
Refactor HTTP client
2020-12-18 14:29:30 +00:00
cpq
99ed58ec4d
Better docstrings
2020-12-18 09:08:28 +00:00
cpq
04450ec659
Update http server example to showcase SSL
2020-12-18 09:01:14 +00:00
cpq
82a378e519
Add extra param to http_reply()
2020-12-17 22:47:55 +00:00
cpq
9f88f31f01
Add timer example
2020-12-17 11:44:30 +00:00
cpq
4bdea2b467
Add README to the esp32 example
2020-12-17 11:24:28 +00:00
cpq
9ecf42578c
Fix screenshot link
2020-12-16 10:54:47 +00:00
cpq
754fc25924
Add description & screenshots
2020-12-16 10:54:09 +00:00
cpq
8d45cf6972
Add mqtt-server example
2020-12-15 20:29:47 +00:00
cpq
fa8f62fb5d
Squash warnings under linux
2020-12-14 14:05:01 +00:00
cpq
b641fc6b79
Add esp32 example
2020-12-14 12:58:27 +00:00
cpq
54250f5fbf
Rename, use hyphen
2020-12-12 10:22:45 +00:00
cpq
f3f397f31e
Add MQTT client example
2020-12-12 10:03:19 +00:00
cpq
90686ee5c9
Add ws examples
2020-12-11 17:35:58 +00:00
cpq
763f4551d5
More log messages
2020-12-10 17:42:59 +00:00
cpq
42d7865e14
Pre-built desktop server
2020-12-10 17:39:40 +00:00
cpq
6c4b5efd98
Add restful and client example
2020-12-10 13:26:05 +00:00
cpq
f2fba1d200
7.0 refactor
2020-12-05 11:26:32 +00:00
Sergey Lyubka
000d24d31a
Add http proxy client example
...
PUBLISHED_FROM=443a0d3db63df1b78555a9fa4eff808bef3a9a01
2020-03-25 16:32:49 +00:00
Sergey Lyubka
464113c5ae
Sync mongoose changes
...
PUBLISHED_FROM=8b6ebf46728aca40f916dde88e372b4540ed6ea4
2019-12-19 11:12:57 +00:00
Deomid Ryabkov
1e9fabe1ca
Fix handling of WS handshake error response
...
Check response code, make sure it's 101.
Pass http_message to the client to keep it appraised.
This represents a slight change in the API -
in case of an error MG_EV_WEBSOCKET_HANDSHAKE_DONE will now be delivered where previosuly connection would just hang.
Clients that do not examine the argument may for a moment think handshake has succeeded but in fact connection will be closed immediately.
CL: mg: Fix handling of WS handshake error response
PUBLISHED_FROM=645a43d9e5bee216e54411f85827c9b974e9a7d1
2019-02-14 21:19:34 +00:00
Deomid Ryabkov
95a36b1759
Log file:line instead of function; add cs_log_set_file_level()
...
cs_log_set_filter() is removed in favor of cs_log_set_file_level() which
allows setting log verbosity of individual files and/or lines.
E.g.: `mg_=1,mjs=1,=4` - level for for everything except mjs and mongoose.
We use the fact that we are usually pretty careful with our file names and use prefixes consistently.
In mos, `debug.file_level` sets the option on boot and `Sys.SetDebug` is updated to parse `file_level` option to change it at runtime.
CL: Log file:line instead of function; add cs_log_set_file_level()
PUBLISHED_FROM=49f18d4d0d3dd224865129a4f8fe6cccd1d9bc12
2019-01-30 12:57:19 +00:00
Deomid Ryabkov
455cec67a5
CC3220: Enterprise auth support
...
CL: wifi: CC3220: Enterprise auth support
PUBLISHED_FROM=ce445eb5b740073c9a3f9811f1acd404ce134f2e
2018-12-18 18:19:21 +00:00
Dmitry Frank
b9b20c6494
Implement mg_http_parse_header2()
...
Which is a replacement of (deprecated) `mg_http_parse_header`, but,
similarly to `asprintf`, allocates a new buffer if the client-provided
one is not large enough.
Also use it throughout mongoose code, and thus some header-related
limitations are removed; in particular,
https://github.com/cesanta/mongoose/issues/813 is fixed.
CL: Mongoose Web Server: Deprecate `mg_http_parse_header()` and implement `mg_http_parse_header2()` instead, which allocates a new buffer if the client-provided one is not large enough (similarly to `asprintf`).
CL: Mongoose Web Server: Fix limitations of header value lengths, e.g. when parsing authentication headers such as nonce, etc.
PUBLISHED_FROM=c75b1bbbbdb294ea85075ce69b1368f115fdd1ef
2018-02-07 23:04:29 +00:00
Dmitry Frank
4afebdcb2b
Add UDP client example
...
CL: Mongoose Web Server: Add UDP client example
Resolves https://github.com/cesanta/mongoose/issues/886
PUBLISHED_FROM=fcce2f1de3a800147e9246ffa01c428c1b8f552b
2018-02-06 13:34:33 +00:00
Dmitry Frank
bd15ad4301
Improve err handling in pubsub example
...
PUBLISHED_FROM=7660e252e1ac84bf2245718c548fb00288ff4e47
2018-01-30 20:39:51 +00:00
Dmitry Frank
e5b3b8ad32
Ensure not to overflow buf in udp server example
...
PUBLISHED_FROM=413f5073b0fc267d66ce04d8d40e9e9d7abac94d
2018-01-30 20:39:50 +00:00
Julien Ammous
e116c48bef
Remove redundant initialization
...
CL: none
PUBLISHED_FROM=9d68cdc298c520798468b43a19c84251bd0c21b4
2018-01-30 19:39:08 +00:00
Julien Ammous
7d7bb3b388
Don't use user_data in mqtt server
...
Integrates https://github.com/cesanta/mongoose/pull/884
Closes https://github.com/cesanta/mongoose/issues/883
CL: Mongoose Web Server: Don't use user_data in mqtt server
PUBLISHED_FROM=7785784a766e0ba7514bbba604cde14e7bad3f73
2018-01-30 19:39:05 +00:00
Dmitry Frank
f084ad8008
Fix pubsub example
...
CL: Mongoose Web Server: Fix publish-subscribe example
PUBLISHED_FROM=04fdb66c1d4eb56798a5be2634f9f9bb2f18f288
2018-01-30 14:35:14 +00:00
Dmitry Frank
5d5badfcee
Fix memory leak in big_upload example
...
PUBLISHED_FROM=e6ccbd73b27985fbf9949adc3e07c90a75f75603
2018-01-30 12:51:15 +00:00
Sergey Lyubka
987bc1d580
Use 8k iobuf limit for aws
...
PUBLISHED_FROM=971951e1eeb82078b986cd6e25e52cfc1ccef286
2017-12-02 21:26:35 +00:00
Deomid Ryabkov
7942803a75
Fix MQTT SUBSCRIBE parsing
...
Make sure topic is properly NUL-terminated.
Ignore SUBSCRIBE requests with no topic expressions.
PUBLISHED_FROM=a00f39dda44fe63299e971a91a98f8ee57dd2a64
2017-10-30 15:34:22 +00:00
Бобби
8313896a85
Unbind things from v7
...
PUBLISHED_FROM=d20f138ae37c99a34cc29e7bfb327d7834404d93
2017-10-18 16:05:25 +00:00
Бобби
8193302162
Initial socks5 client & server implementation
...
PUBLISHED_FROM=05d3cca6223c963e7ae89dde3628fa8fad46e6bd
2017-10-18 14:05:13 +00:00
Deomid Ryabkov
0a93e301c9
CC3220: Exception handling, NWP init
...
Also make CC3200 use newer ARM compiler, generates slightly smaller code.
PUBLISHED_FROM=a0be49d7ea864a95886f7110887a59f6f11802d7
2017-08-29 21:49:53 +00:00
Our CI Bot
09e4254718
Add mqtt_over_websocket_server example
...
Fixed bug in websocket handshake:
now adding Sec-WebSocket-Protocol header in handshake response.
PUBLISHED_FROM=e4a71ff9dc4aeec63db40cb7f356dc5b25c1215a
2017-08-24 10:34:35 +00:00
Sergey Lyubka
0bb14abbdd
Nitpick for MQTT example
...
PUBLISHED_FROM=a0dd26c00b41363f1cc58c28f530fbdf272ed146
2017-07-14 10:52:37 +00:00
Deomid Ryabkov
e4309d472b
Annotate cs_log_printf with format attribute
...
This adds compile-time checks for format strings.
Fix issues exposed by this.
PUBLISHED_FROM=b9f820d8ad44fce9186dfdad4fe109fafa5371ce
2017-05-30 12:05:34 +00:00
Sergey Lyubka
a0527a7f0e
Fix esp8266 rtos example build
...
PUBLISHED_FROM=80055394237617605c57a07ac29c43d5197cbf5c
2017-05-05 10:25:41 +00:00
Sergey Lyubka
c90cffa688
Fix docker invocation
...
PUBLISHED_FROM=064b5e508017b0115239fc880f21ca08b9422a25
2017-05-05 09:55:12 +00:00
Deomid Ryabkov
0ea3cdd228
Implement sending stdout and stderr to MQTT topics
...
Configured via `debug.std{out,err}_topic`
PUBLISHED_FROM=66c581c38c5039aa9ecc406f8aac0b7e3c6541fc
2017-05-02 21:23:58 +00:00
Ruslan Valiullin
ac857d18db
Add mg multithreaded example
...
PUBLISHED_FROM=8a3424ba6260b0351d7c06270dc141d804ae7f77
2017-05-02 15:55:53 +00:00
Ruslan Valiullin
8354319e72
websocket_chat added MG_EV_HTTP_REQUEST
...
PUBLISHED_FROM=6f5e1b4a97ada21025f892d3348808bffb469dfa
2017-04-14 12:57:30 +00:00
Sergey Lyubka
82761bb875
Bobify format targets
...
PUBLISHED_FROM=2c1d372e4db856e23266c29195c07968abc2ec81
2017-04-10 22:50:30 +00:00
Alexander Alashkin
511c9a6d4a
Add simple mongoose/esp32 example (w/out mOS)
...
PUBLISHED_FROM=0e407a2fb328107540d753123fe027f43860d0ef
2017-03-29 13:53:25 +00:00
Alexander Alashkin
2fb145d39d
Fix DISABLE_MD5 and DISABLE_SHA1 naming
...
PUBLISHED_FROM=2babde0d0c6add14aa500f4bf1c833715d979c6c
2017-03-21 10:24:11 +00:00
Alexander Alashkin
ec752645ee
Remove ajax_upload
...
PUBLISHED_FROM=599ccd99e7bf422cac5e8b1f5ccebe3cac2780e8
2017-03-21 07:35:52 +00:00
Sergey Lyubka
ceb2f1da41
Update upload example
...
PUBLISHED_FROM=a28c1da3f0dd597792439246313ca39984ab7536
2017-03-20 17:23:38 +00:00
Alexander Alashkin
aab857a66e
Add ajax_upload to big_upload
...
PUBLISHED_FROM=7c919ba3a2afa74cec9947e78299b4bb7a64b4bc
2017-03-20 16:55:31 +00:00
Alexander Alashkin
066be0fe30
Add ajax_upload example
...
PUBLISHED_FROM=c5691d4321fff2e03f689b0195abd1ec6a188418
2017-03-20 10:51:24 +00:00
Dmitry Frank
bf7dd7ac63
Add separate userdata for each http endpoint hdlr
...
PUBLISHED_FROM=29a204c2c7f35724b6f1e8435edb94869da2362c
2017-03-15 17:43:19 +00:00
Sergey Lyubka
17cfecc5c3
Mongoose examples fixes
...
PUBLISHED_FROM=b47a5b6987ee8d9e7c9bae2bd4d2943d2e7f76a9
2017-02-20 10:05:57 +00:00
Deomid Ryabkov
ebdd18769b
Add core dump and exception handling to RTOS port
...
PUBLISHED_FROM=dba64da598b45469c7fd458865c75d3eb6853c2d
2017-02-19 10:05:31 +00:00
Deomid Ryabkov
f974fddd2a
Fix ESP8266_RTOS example; add mos flashing
...
PUBLISHED_FROM=d87814d40f0acdc7a96fbd132c2157ccb499c7c6
2017-02-17 14:51:49 +00:00
Deomid Ryabkov
66a96410d4
ESP8266: Add RTOS SDK port (MGOS_ESP8266_RTOS=1)
...
PUBLISHED_FROM=ca5332e63700274ed9aeea9d9d1802e89fa788fa
2017-02-16 11:05:34 +00:00
Deomid Ryabkov
d6d956b9d8
Do not prefix successfulresponse with "Error: "
...
It's confusing
PUBLISHED_FROM=9158ccd920dabf92963e76aa96a988753b9c427d
2017-02-13 15:05:11 +00:00
Deomid Ryabkov
383b2a48c5
Update logo in connected_device examples
...
PUBLISHED_FROM=6319df7f49dc921ddb672ba9789dfbbff8c25d9f
2017-02-13 14:05:04 +00:00
Dmitry Frank
bf505bb68d
Update readme of nrf examples
...
And also fix `flash` target for nrf51
PUBLISHED_FROM=decc6242380eb7070bfbcb26c57780e756588cc3
2017-02-08 08:25:32 +00:00
Sergey Lyubka
1ae908f6d5
Add mqtt codec
...
PUBLISHED_FROM=f780559966a6a955603e05aeaa5dde8455bff991
2017-02-06 17:39:02 +00:00
Alexander Alashkin
eaef5bd133
Revert "Stop publish examples to mongoose repo"
...
This reverts commit 1a17e17c462bdd4e1d26d8742f8b7087273e04c2.
PUBLISHED_FROM=80028de308c9a021955d1425d2bfee8feb85f193
2017-02-06 14:08:59 +00:00
Alexander Alashkin
551f393da7
Remove examples
2017-02-03 12:17:07 +02:00
Alexander Alashkin
707b9ed2d6
Remove mg_enable_multithreading. Close cesanta/dev#6511
...
PUBLISHED_FROM=7864ffa26cb553f5d4a93248f67c288327ec23b0
2017-01-30 13:55:49 +00:00
Alexander Alashkin
807e4ea6ec
Fix STM32F4_CC3100 Mongoose example compilation
...
PUBLISHED_FROM=7a67a67d2f0007e241e4ccb57bc24a43ba20bfde
2017-01-30 12:09:43 +00:00
Alexander Alashkin
507e8bfac9
Drop Arduino support
...
PUBLISHED_FROM=85768c0d2536d9c31885a5127710b9756e3229a3
2017-01-30 09:39:15 +00:00
Dmitry Frank
4bdec5c1c1
Rename mongoose-iot to mongoose-os
...
URLs like mongoose-iot.com are left intact
PUBLISHED_FROM=b8502b163c26a2cb54598db57ba094333fe7cf54
2017-01-09 17:03:38 +00:00
Sergey Lyubka
a447ae5eab
MQTT parsing fix
...
PUBLISHED_FROM=41f43cb0e707259740de3346308f746c2a3778fd
2016-12-13 10:37:06 +00:00
Deomid Ryabkov
39ea91cfc2
Test building with MG_ENABLE_FILESYSTEM=0
...
Fix errors so it builds.
PUBLISHED_FROM=db9fc9ef997d6b1847117e8db9aefdc7e540f4cc
2016-12-09 23:35:54 +00:00
Alexander Alashkin
55963d0c9a
Fix typo in platforms_esp
...
PUBLISHED_FROM=b17ef5bc8ec801fca91c89af5f97767a55911952
2016-11-24 13:21:09 +00:00
Alexander Alashkin
9e517fde00
Implement SNTP client
...
PUBLISHED_FROM=ac54bcbc81a9ee688e8b90e261172be76a9fbacd
2016-11-24 09:51:58 +00:00
Marko Mikulicic
39b0b8e2fd
Fix clang formatting
...
PUBLISHED_FROM=ea64670e42ae58bbe26abee5d928f2afcd83bd46
2016-11-23 08:06:09 +00:00
Dmitry Frank
0ceee1dc05
Rename mg_
-> miot_
under fw
...
`MG_ENABLE_...` macros are not yet renamed because it involves some
logic change: e.g. instead of defining `MG_ENABLE_MQTT`, one should
define `MIOT_ENABLE_MQTT`, which should imply `MG_ENABLE_MQTT` as well.
Macro refactoring is going to be done in another PR.
PUBLISHED_FROM=f8b66d5772846126b94223a729a6bd87897f8de6
2016-11-15 14:36:10 +00:00
Marko Mikulicic
3c5d48ea13
Promote tun example to a unit test
...
PUBLISHED_FROM=0454cdeec5c7120eb4bf905fdd5b7abdcb4003c2
2016-11-14 18:06:04 +00:00
Marko Mikulicic
cd54b18de3
After establishing tun, remove http proto handler
...
PUBLISHED_FROM=8449d4df2a4caf7afc0f9b50f85bb01d79b8c4eb
2016-11-14 16:20:04 +00:00
Deomid Ryabkov
65e01dbabc
Initial support for mbedTLS
...
PUBLISHED_FROM=edb1063d3fd64e3c732f16b8bf101c065cdacddd
2016-11-14 16:20:02 +00:00
Deomid Ryabkov
62276ce63e
Add digital signature to test key usage; 2048 bit
...
Digital signature key usage is required for the key to be used for (EC)DHE.
PUBLISHED_FROM=b33366d484aff2c478b2f44b85dba33d04d3a808
2016-11-14 16:20:01 +00:00
Deomid Ryabkov
fd45a6d31b
CS_LOG_TS_DIFF -> CS_LOG_ENABLE_TS_DIFF; ifdef->if
...
PUBLISHED_FROM=48c8d4326ea8a24edd8d1ca011be9e7643219084
2016-11-10 16:21:28 +00:00
Marko Mikulicic
e1a9ad7f82
Overload mg_bind
to bind to tunnel
...
PUBLISHED_FROM=f554cc63dfea12455fe5e428c6ce5f3152774f8e
2016-11-10 13:07:17 +00:00
Deomid Ryabkov
296affc6e4
Make Krypton define KR_VERSION; use it to detect
...
PUBLISHED_FROM=ea039cdc30aec44db074871ff6b2d2582f98b5c9
2016-11-10 11:50:56 +00:00
Marko Mikulicic
5934846852
Make mg_tun_bind take separate user+pass
...
PUBLISHED_FROM=3ee9478275c4b9253b1dd4f98a69cecc89290bce
2016-11-09 15:51:08 +00:00
Marko Mikulicic
5045dfab74
Mongoose TCP tunnel
...
PUBLISHED_FROM=f03b963aaec02574e47c28ee8033551440b94f2d
2016-11-09 15:05:46 +00:00
Alexander Alashkin
d0c50632cd
Fixes in MQTT for AWS support
...
PUBLISHED_FROM=2b82f3793b3c6d0cf1266e4cc0e67930f43002c5
2016-11-09 10:05:40 +00:00
Deomid Ryabkov
dbe976ad3e
Disable parallel builds of the Tiva example
...
Causes issues on Windows - looks like "parallel" makefiles
do not handle spaces in directory names properly.
PUBLISHED_FROM=5d83e737e9f81041db21fd82c32146471eac1764
2016-11-07 14:05:46 +00:00
Deomid Ryabkov
9a8a6b53ae
Minor fix to the LPC example
...
PUBLISHED_FROM=3a99921093957c2ba9c1a0938fa00b3a29784d81
2016-11-06 02:20:43 +00:00
Dmitry Frank
84132b7b2a
Add readme for nRF51 example
...
And pre-create directories for SDK for both nRF51 and nRF52.
PUBLISHED_FROM=00caf156f48da92804c6af8efe323535fbc5497d
2016-11-04 19:35:50 +00:00
Dmitry Frank
e69a7a1b25
Enable warnings on nRF5x examples
...
Now all warnings are disabled on SDK files, and enabled on our
application's files.
Fixed a couple of things in nRF52 which were unnoticed because all
warnings were disabled there from the beginning.
PUBLISHED_FROM=a33ab22d0ce85efea364b80478986b88f4b0a3a2
2016-11-04 19:05:54 +00:00
Dmitry Frank
7f2bdc217a
Fix nRF51 compiler flag for GCC
...
PUBLISHED_FROM=f8b4e8650d72c2ec5525e0510fbc8a80f8645a14
2016-11-04 18:05:42 +00:00
Dmitry Frank
0187f297d1
Make nRF51 example work with GCC
...
Unfortunately it turns out Nordic's examples were able to build with GCC
just because they suppressed all warnings; I had to do the same here
because there are some macro redefinitions of arm-none-eabi-gcc and
lwip.
TODO: resolve that and do not suppress warnings.
PUBLISHED_FROM=e65c7b0f2451f85765d958d7f67eb9262f7bc929
2016-11-04 12:20:35 +00:00
Dmitry Frank
6ff49dc196
Fix nRF51 example and add RTT support to it
...
Now it works in hardware.
PUBLISHED_FROM=f223bde2d2bebe97513ce073eb887552bc3d93af
2016-11-03 22:50:36 +00:00
Deomid Ryabkov
fd763846e5
TI Tiva TM4C129 support and example project
...
PUBLISHED_FROM=c3d59657adff247f565bf0be59192e32d5d0bbf6
2016-11-02 18:55:04 +00:00
Alexander Alashkin
f4f310cf51
Add WinCE example, update Mongoose for WinCE6.0
...
PUBLISHED_FROM=2a76ccddb62b63caeaca3785a07d7d0b94125eaf
2016-11-02 10:11:20 +00:00
Alexander Alashkin
e62dc8f3b2
Handle MG_EV_CLOSE in examples
...
PUBLISHED_FROM=57c62a4123a54ecb455dbf91f3fe562fb0cf2ec2
2016-11-01 08:58:38 +00:00
Deomid Ryabkov
e99088348d
Use ICACHE_FLASH to guess CS_P_ESP8266
...
Also, do not require -DRTOS_SDK and pick socket/low-level event manager
based on LWIP_SOCKET.
PUBLISHED_FROM=d4afbdf8dab62a1c6ac4ca075c4a58887223dba4
2016-10-31 22:57:59 +00:00
Deomid Ryabkov
b39e30fb0c
Example LPCXpresso project for NXP LPC4088
...
PUBLISHED_FROM=ec4c4ec1ca7fee10c67fbba5a603d59fe44a046d
2016-10-31 13:02:01 +00:00
Alexander Alashkin
7411ff1fca
Drop load_balancer example
...
PUBLISHED_FROM=d823db5e8b2831201e22bbdd3188e93bbbbbbb09
2016-10-28 17:33:08 +00:00
Dmitry Frank
c04e3f80b9
Make mongoose compile for nRF51
...
PUBLISHED_FROM=6af3ed56802d2619f673c36059370440a0c06397
2016-10-28 11:08:09 +00:00
Dmitry Frank
717e872fdd
Fix nRF52 Keil project file
...
Keil actually saves project on disk only when the project is closed,
that's why these changes were missing before
PUBLISHED_FROM=d8ebdaa009ff5676bf6c16aaa2fe8356b03d3b8b
2016-10-27 18:37:09 +00:00
Dmitry Frank
dbff932d8b
Improve readme for nRF example
...
PUBLISHED_FROM=7b02f8e7bb85ce1b45f872610645e619de5e313a
2016-10-27 18:23:53 +00:00
Sergey Lyubka
3a8f47befd
Mqtt: parsing auth info in the connect message
...
PUBLISHED_FROM=017e707ea2bd7b1d1972fbb92e5d98c74e17e9d0
2016-10-27 17:53:17 +00:00
Marko Mikulicic
900bbe724a
Mongoose forwarding
...
PUBLISHED_FROM=51652f0157bb951a43508f0fe948c62c351e96ba
2016-10-26 14:52:10 +00:00
Alexander Alashkin
f5a2857620
Add PIC32/Harmony http_server example
...
PUBLISHED_FROM=c393396605d5418fda4ff386170bb9a6d6658a93
2016-10-26 13:53:09 +00:00
Deomid Ryabkov
2ef6f7248d
Remove -DNO_BSD_SOCKETS, this macro is not used
...
PUBLISHED_FROM=b860ada45e76b0e04d214fedb04f5a7dd9c7d8f0
2016-10-26 13:07:03 +00:00
Dmitry Frank
f061dcf8b6
Make nRF5 example fit better in nRF ecosystem
...
By making dir hierarchy replicate that of examples provided with the nRF
IoT SDK.
Also, example for Keil uVision IDE is added.
PUBLISHED_FROM=1a3d9a54d15eb1acfb1b5d162138576a387ed21c
2016-10-26 12:00:09 +00:00
Deomid Ryabkov
c6b5343c9b
Target CC3200 example to production device
...
PUBLISHED_FROM=623dda0737c8426754044880713c1283c4b181b6
2016-10-26 10:39:04 +00:00
Dmitry Frank
8d72c2a7b2
Add HTTP example for nRF
...
PUBLISHED_FROM=d9d979057d5269ac32d16545dd2489485bda642a
2016-10-24 11:13:26 +00:00
Marko Mikulicic
bd2a4097b2
Bump sha pointer to latest simplelink_mbed
...
PUBLISHED_FROM=d0c765e56e926c2f2e57cc95dc3ffbdef93c98c3
2016-10-21 12:13:11 +00:00
Marko Mikulicic
e08b234326
ARM mbed STM32+cc3100 demo
...
PUBLISHED_FROM=edf899f7493b70660006fd605f0301a44cd16356
2016-10-21 10:16:47 +00:00
Deomid Ryabkov
5bbf24bf41
Fix line endings in console messages
...
PUBLISHED_FROM=b7cf888512e535fcb81371d797bf8a72440baeaa
2016-10-20 13:36:13 +00:00
Deomid Ryabkov
ace1dc53b2
Fix DHCP message
...
PUBLISHED_FROM=9efa7b516d0541e9f6f8002aa24cf7115f0d9b2b
2016-10-20 12:51:30 +00:00
Deomid Ryabkov
100480a1d5
Tweak NXP example project settings
...
- Enable parallel build
- Generate FW in bin format
PUBLISHED_FROM=ce7d827b42f5619c58287f5c71191c54261d8de1
2016-10-20 12:22:18 +00:00
Deomid Ryabkov
a89a2df603
Fix SDK_PATH
...
PUBLISHED_FROM=df1d2f45c0eea6e3f9b749b539c696684be74155
2016-10-20 11:45:51 +00:00
Deomid Ryabkov
988ad66a12
Add Mongoose example project for NXP Kinetis K64
...
PUBLISHED_FROM=c3e39efb339ed9ae45ac4bbb3bd421704ea5a143
2016-10-20 07:51:19 +00:00
Deomid Ryabkov
a7f9043072
Add MG_ENABLE_FILESYSTEM to MSP432 examples
...
PUBLISHED_FROM=36289eddbb3c5c172c36ab737e2f23c763058ed2
2016-10-19 13:36:17 +00:00
Deomid Ryabkov
6d8b747ff2
Add MG_ENABLE_FILESYSTEM to CCS projects
...
Update compiler version to 5.2.8
PUBLISHED_FROM=5e9cd9571127d980b9d4dbe78f2aefb78a4d90f5
2016-10-19 12:41:56 +00:00
Deomid Ryabkov
a17eae4142
Enable MQTT client by default
...
PUBLISHED_FROM=cb5d5afe166f637082d4b1d1bce5d9c263e91fd0
2016-10-18 15:51:31 +00:00
Deomid Ryabkov
7b05d70042
CS_P_ESP_LWIP -> CS_P_ESP8266;add CS_P_NXP_KINETIS
...
LWIP part has been finally fully split from the ESP part, and ESP
platform defs reduced to bare minimum. It is now possible to use LWIP
in either low-level or socket mode without any ESP dependencies,
and NXP Kinetis platform is the first to make use of it.
PUBLISHED_FROM=4a9055897609c812296bdab5b4943ffde641ced2
2016-10-18 12:38:06 +00:00
Marko Mikulicic
31c5ef1bc3
Don't clang-format non checked out things
...
mbed-os is a directory that gets checked out by the mbed cli
(a tool similar in spirit to miot) and it contains a lot of
.c sources, so many of them that clang-format burns your CPU.
While we're at it, also fix check_no_ifdefs when running under a commit
hook.
PUBLISHED_FROM=e5dd457ea3c4f9bd880f2491fb322dffa7abf70a
2016-10-17 17:06:23 +00:00
Deomid Ryabkov
e928f36456
MG_DISABLE_HTTP(|_SSI|_WEBSOCKET) -> MG_ENABLE$1
...
Factor out SSI and WS code from http.c
HTTP + WS are enabled by default, but MQTT is built without HTTP
support as a compilation test.
PUBLISHED_FROM=925ed9a55abb193ed7deac1c9675a0e5b35dca50
2016-10-14 17:06:19 +00:00
Deomid Ryabkov
8ff010ca0f
MG_DISABLE_FILESYSTEM -> MG_ENABLE_FILESYSTEM
...
PUBLISHED_FROM=026810475d98df117ab1dadf40276759190aad19
2016-10-14 12:37:13 +00:00
Deomid Ryabkov
241090a82b
CS_DISABLE_(STDIO|HEXDUMP) -> CS_ENABLE_$1
...
PUBLISHED_FROM=9fd0cebfa8df53b5d9574a8d013305ddda5e7a18
2016-10-14 10:22:30 +00:00
Marko Mikulicic
618bef0eb2
Fix stm32f4_cc311 example and add it to CI
...
The build has been broken because MQTT has been disabled during some refactoring
but never caught because this example was never built on CI.
PUBLISHED_FROM=b67051ff948f1ac89448fc707f41cdf5d48cdaaf
2016-10-14 08:37:28 +00:00
Deomid Ryabkov
b298d46a40
MG_DISABLE_MQTT -> MG_ENABLE_MQTT
...
PUBLISHED_FROM=34e6028b68e286f81be7ba0f8ae73b760f144131
2016-10-13 21:08:22 +00:00
Deomid Ryabkov
bafc30bec6
Change from using #ifdef to #if for features tests
...
"#if FOO" still works with simple -DFOO, but gives more flexibility.
Specifically, if user expressed no preference (FOO is not defined),
we can apply reasonable defaults (this is the legitimate use of ifdef).
In short, from now on, please use
#if MG_ENABLE_FOO
instead of
#ifdef MG_ENABLE_FOO
Since we are all used to #ifdef, this change also adds a precommit check
to police this. Specifically, in *.h and *.c files that are Copyright Cesanta,
"ifdef" and "if defined()" are not allowed to be used with macros that contain
ENABLE or DISABLE, unless the like also contains "ifdef-ok".
Hence, if you are sure you want to use ifdef, use this:
#ifdef MG_ENABLE_FOO /* ifdef-ok */
PUBLISHED_FROM=9be829448f53cff575d6cae8b9945fb12531c15a
2016-10-13 18:07:25 +00:00
Deomid Ryabkov
786f46c655
Update TI compiler to 5.2.8
...
PUBLISHED_FROM=75a0ee6e842da6c8f9e8f1eb85165b64fada0d6a
2016-10-03 15:06:53 +00:00
Sergey Lyubka
5ebd9fe7a5
uart-to-websocket page content changes
...
PUBLISHED_FROM=e8db78b70a80ef63f1f6090b1ad5d16315e8f8c9
2016-10-03 15:06:52 +00:00
Deomid Ryabkov
2302ae5e88
Update TI compiler to 5.2.8
...
PUBLISHED_FROM=75a0ee6e842da6c8f9e8f1eb85165b64fada0d6a
2016-10-03 15:06:16 +00:00
Alexander Alashkin
376d2666a5
Add PIC32MX/CC3100 mqtt_client example
...
PUBLISHED_FROM=cda885a9dc5d1203b7b59b13ea7fd7934b31260a
2016-09-30 12:39:35 +00:00
Deomid Ryabkov
d90622630f
Link MIOT for Linux statically
...
PUBLISHED_FROM=4f0adab828ebf06dbc3e0c4333bf0053f374b62f
2016-09-30 12:39:32 +00:00
Alexander Alashkin
da447b1067
Add PIC32MX/CC3100 mqtt_client example
...
PUBLISHED_FROM=cda885a9dc5d1203b7b59b13ea7fd7934b31260a
2016-09-30 12:37:08 +00:00
Deomid Ryabkov
460d95afc5
Add mg_http_send_redirect and make examples use it
...
PUBLISHED_FROM=f45e06aeba1c00212078d539b6f74cb8bd054326
2016-09-30 11:22:00 +00:00
Deomid Ryabkov
147c095105
Report errors in the netcat example
...
PUBLISHED_FROM=f43dc48512ff13028a57571b537c41d9658034b5
2016-09-29 12:05:53 +00:00
Deomid Ryabkov
c1b5e9b260
Rename MSP432 example project
...
So they are distinct from CC3200 projects during import
Also update compiler version (5.2.7 -> 5.2.8)
PUBLISHED_FROM=23834212eb51ad068579726a2870e8e6ae87ab9c
2016-09-28 12:51:35 +00:00
Marko Mikulicic
286fa90ee9
Simple mDNS + DNS-SD impl
...
Main TODOs:
1. the spec requires the impl to resend the reply once and
to send gratuitous updates
2. advertise our clubby services as DNS-SD sub-services.
---
Tested with:
1. https://play.google.com/store/apps/details?id=com.grokkt.android.bonjour&hl=en
2. https://play.google.com/store/apps/details?id=com.druk.bonjour.browser&hl=en
3. osx `dns-sd`
Works well enough; it doesn't have some glitches due the fact that we
don't retransmit yet and we don't send gratuitous updates.
PUBLISHED_FROM=38d7a50beb274d4aeeda5b0b58e44dfa0789da84
2016-09-28 08:51:47 +00:00
Marko Mikulicic
04012760d1
Add small multicast server demo for mongoose
...
PUBLISHED_FROM=c5f6b0c64bc1e43030743b6aae5d06ae231df5dc
2016-09-23 10:21:37 +00:00
Deomid Ryabkov
ffa981d172
Update CC3200 sensor demo example
...
PUBLISHED_FROM=9e29cac6a7d4b632b7f4a3ab0fe5411368ad0f5a
2016-09-16 21:20:56 +00:00
Deomid Ryabkov
806f07db67
Fix MG_hello project build
...
PUBLISHED_FROM=450e5c045b6515fba0e0614c6d76a58712c72160
2016-09-15 13:36:09 +00:00
Sergey Lyubka
0dc0c5a0e0
Add WebSocket support to the netcat example
...
PUBLISHED_FROM=c494ab910d0b1b98ea6ea4024450c60d0abff01d
2016-09-09 22:29:34 +00:00
Dmitry Frank
57f826ece1
Implement miot cloud group add, list, delete
...
PUBLISHED_FROM=4b6f7b6fb4559e085c93f5f8827b8fae1701de70
2016-09-09 22:29:33 +00:00
Sergey Lyubka
729bdebc50
Add WebSocket support to the netcat example
...
PUBLISHED_FROM=c494ab910d0b1b98ea6ea4024450c60d0abff01d
2016-09-09 22:20:58 +00:00
Dmitry Frank
2a541175b5
Use void arguments list consistently in C code
...
On my way, fixed a couple of cases where we had `()` in the header, and
non-empty argument list in the source file.
PUBLISHED_FROM=5519526cf84e2bbd425a726fcc112fea1a95cbf1
2016-09-05 15:51:19 +00:00
Alexander Alashkin
5f93f7162f
Add STM32F4/CC3100 example & Co
...
PUBLISHED_FROM=7f805d89dcb795c9b3ee637ef1dbdcfcf3323469
2016-09-05 15:06:21 +00:00
Deomid Ryabkov
4120f953c7
Report bind error in simplest_web_server_ssl
...
PUBLISHED_FROM=73e7ed5dd69cbca00ad6f67125915fbfb296770b
2016-08-31 12:30:22 +00:00
Sergey Lyubka
b3fb21dacc
Add DLL building example
...
PUBLISHED_FROM=20d24793d766ee289c6bde95bd5ad01202cd614b
2016-08-26 09:21:09 +00:00
Deomid Ryabkov
1b324510cc
Add simplest_web_server_ssl example
...
PUBLISHED_FROM=8945dc72ce22d48c582e7cdd01348494677ac5bb
2016-08-22 22:20:45 +00:00
Alexander Alashkin
f149f4aab1
Remove cs_dbg.h from amalgamated headers
...
PUBLISHED_FROM=993c4b1bec363e3f7975b83710e694792bedf5b3
2016-08-18 14:06:18 +00:00
Marko Mikulicic
af6fc64ab9
Add restart flag to ourci workers
...
PUBLISHED_FROM=f85aaf2215f8323866eab9fb5143407b44fa1959
2016-08-16 17:21:03 +00:00
Artem Bulavin
ff159bf30a
Simple mongoose http urls crawler
...
PUBLISHED_FROM=4eead54610606827963e7c244fcd8ab9a13d4c07
2016-08-16 14:36:11 +00:00
Alexander Alashkin
d4a8351464
Remove port :5000 from docker.cesanta in Makefiles
...
PUBLISHED_FROM=b2454104b99100f23db0777f874ab8a33727acca
2016-08-12 15:36:30 +00:00
Deomid Ryabkov
af98854ce4
Delete old cookie_auth example
...
PUBLISHED_FROM=c118b2796f697e8d5493bb3d534cee7406060c1a
2016-08-08 14:06:05 +00:00
Deomid Ryabkov
7cace648c0
Improve cookie auth example
...
Use templated index page and SSI calls instead of hard-coded html
PUBLISHED_FROM=eade9dfe283952ed5465cd0ff1924f61a14dea0c
2016-08-08 11:28:52 +00:00
Deomid Ryabkov
447bf4adb0
Compile examples with -Werror
...
PUBLISHED_FROM=5a24bda9029db3fc7bf04dc871656d65d551f4ab
2016-08-08 10:36:19 +00:00
Deomid Ryabkov
6572c1c692
Add a cookie auth and session management example
...
PUBLISHED_FROM=243437cf7d48b04aef3896bc4c5d4010975299a4
2016-08-08 10:36:19 +00:00
Deomid Ryabkov
cc8f1466c7
Turn on func. sections + dead section elimination
...
In CCS example projects
PUBLISHED_FROM=b3ab112f74ae475cb93bf06fdb7db811bbb99a59
2016-07-27 20:36:15 +00:00
Deomid Ryabkov
613ae4ee34
Fix led toggline in CC3200 sensor demo
...
PUBLISHED_FROM=10369c7903f3c9433e8c9f6f9725f014aed5768d
2016-07-13 20:04:48 +00:00
Deomid Ryabkov
ab208b71c4
Do not define rename() when compiling with TI libc
...
PUBLISHED_FROM=e9878fc5d55b0b2da854573a7a84e8e14e2f301d
2016-07-13 19:49:47 +00:00
Sergey Lyubka
6f17f3e2c2
Add timers example to mongoose
...
PUBLISHED_FROM=1599cf1d06c8f177918cbcf574c28c9e93d56d39
2016-07-06 13:56:47 +00:00
Sergey Lyubka
b7a0748312
Ditch JSON-RPC from mongoose
...
PUBLISHED_FROM=89b978c02be2f10eb930ff13673d45249fd67763
2016-07-01 11:35:18 +00:00
Deomid Ryabkov
ced823cd95
Add a radio button to teh settins_panel example
...
PUBLISHED_FROM=2daba7380508df24d909f922c5009286b4d8e7cf
2016-06-28 09:27:44 +00:00
Deomid Ryabkov
e3a9c6afb4
Mass-fix header guards
...
PUBLISHED_FROM=7e5fc4da88069a6193d911660f522b43ed1a5d40
2016-06-20 10:50:01 +00:00
rojer
a67323fc12
Change main code image filename in CC3200 bundles
...
/sys/mcuimg.bin is just another file on SLFS, no reason to give it
special treatment. Preserve backward compatibility with old bundles:
translate sys_mcuimg.bin -> /sys/mcuimg.bin
PUBLISHED_FROM=be89a3d9785046f09279fef9e2bb6604eeaa576e
2016-06-13 15:04:54 +00:00
rojer
1daa5e69b1
Add timestamp to LB log
...
PUBLISHED_FROM=61b87fcee909241d5bdf2ba7407003c0c3cfbd72
2016-06-13 12:34:30 +00:00
rojer
183fc7ced9
clang-format *ALL* the things!
...
PUBLISHED_FROM=faf0beb7545eb426c941fc366b6f87667723eb4c
2016-06-09 11:19:57 +00:00
rojer
dcf1cedec9
SimpleLink SSL support; split cert and key opts
...
SL requires cert and key to be separate files in DER format.
Date verification is disabled for now.
PUBLISHED_FROM=7d76150ed356140728a1e5fd82d8a0456347b7dc
2016-06-09 11:04:56 +00:00
rojer
04a38b446f
Fix compilation with MG_DISABLE_HTTP_WEBSOCKET
...
Make restful_server and netcat examples compilation tests:
- netcat doesn't use HTTP, compile it with MG_DISABLE_HTTP
- restful_server doesn't use websocket, compile it with
MG_DISABLE_HTTP_WEBSOCKET
h/t @labourcier, cesanta/mongoose#665
PUBLISHED_FROM=4494ac3cbd81e8314beb557ab301b4b44c4afb89
2016-06-07 16:43:24 +02:00
Deomid Ryabkov
dfde5785a6
Use fw_meta script from the build image
...
PUBLISHED_FROM=996721b6d28ee25fcfcb514d716552c4afa238e1
2016-06-02 22:28:48 +01:00
Deomid Ryabkov
1a61455eef
Magic numbers are magic
...
PUBLISHED_FROM=cec68bab53fc81b4085b81fba0c52e0c42b09f0f
2016-05-31 15:36:25 +01:00
Marko Mikulicic
b5b672ec89
Implement MQTT connect username/password
...
PUBLISHED_FROM=be604dc6b3650c78daaa02ea4db8cd067069b5e1
2016-05-18 12:07:20 +03:00
Deomid Ryabkov
d41419c8d3
Update the CC3200 build image
...
* Add TI compiler
* Remove cc3200prog, we don't use it
* Update to Xenial (new Ubuntu stable release).
It has ARM toolchain in the repos too, which is nice (no more PPA).
PUBLISHED_FROM=57d6650b438c5665023346abefbc953263e3f87b
2016-05-16 13:57:14 +03:00
Sergey Lyubka
69944c1d3a
Add cookie auth example to Mongoose
...
PUBLISHED_FROM=88bc5059504cfedd078cab277a6d68d1e583fba1
2016-05-03 13:13:08 +01:00
Deomid Ryabkov
91f6eedb24
Remove the definition of UNUSED
...
It's barely used in our code and conflicts with ont in SimpleLink SDK
PUBLISHED_FROM=ef0fc468d32c9a8e0df888c2de084c08ebe92ea7
2016-05-03 13:13:03 +01:00
Deomid Ryabkov
b04d47c3a9
Update README for CC3200 examples
...
PUBLISHED_FROM=53ce21efbb0e769089293b1aa11d2b2f3136161d
2016-04-28 13:51:20 +01:00
Deomid Ryabkov
5714056f9f
Update websocket_chat, add websocket_chat_client
...
A number of people asked for a WebSocket client example,
websocket_chat_client is one.
PUBLISHED_FROM=c33e758c0a36a0aa919bdb6ef37ed1478d6b29e2
2016-04-27 17:48:40 +01:00
Deomid Ryabkov
54403dfcbc
cesanta/iot -> cesanta/mongoose-iot
...
PUBLISHED_FROM=d73a6fff78a063ffe5aaafe841e89e87e37f85d7
2016-04-26 13:30:05 +01:00
Deomid Ryabkov
61672c7805
Properly handle keep-alive connections
...
HTTP/1.1 connections are keep-alive by default,
HTTP/1.0 are KA only if explicitly requested.
PUBLISHED_FROM=cb2070c2d4e4be6beeab4ae5914b8a01b04bc0cb
2016-04-26 13:30:03 +01:00
Marko Mikulicic
890c7b42dc
Bulk rename of SJS to FW
...
PUBLISHED_FROM=03d2fa0b6bf762d09bf5e837cf31e2047bb6eefd
2016-04-22 16:19:17 +01:00
Deomid Ryabkov
fa368b56ba
Enable compiler optimizations on TI CCS examples
...
PUBLISHED_FROM=43169a199299bfe4ce349ad9d13f29d77d39ff3b
2016-04-22 12:32:43 +02:00
Deomid Ryabkov
bf9a2b45ef
SLFS file size hint
...
PUBLISHED_FROM=532200881406349585612ea5d59aaa323789a688
2016-04-19 17:44:26 +01:00
Deomid Ryabkov
063c017bb7
Update MG_sensor_demo description
...
PUBLISHED_FROM=7f9ce495d5de71859ad71f2b44db37fa66736835
2016-04-19 17:44:24 +01:00
Deomid Ryabkov
7519a3765b
Minot tweaks to MG_sensor_demo
...
Fix WS connect address
Only update graphs when connected
PUBLISHED_FROM=3a3c4e2d21595f48c811b45fb391f7709dc0bcf7
2016-04-19 13:16:28 +01:00
Deomid Ryabkov
083d398631
Only copy questions when creating reply
...
In particular, there may be additional records which should not be copied
PUBLISHED_FROM=6b348868cb62d7b3fc4df0e935ffd5a31a314a08
2016-04-19 12:27:48 +01:00
Sergey Lyubka
466183113f
CC3200 Mongoose example fancy graphs
...
PUBLISHED_FROM=bb28c3e27228d7c1c95899445b7f450636c34949
2016-04-19 12:27:48 +01:00
Deomid Ryabkov
e433ba8d7b
Clarify debug message a bit
...
PUBLISHED_FROM=c4f72d1b47508cdc560ec345064ecdfc3b529f5a
2016-04-18 16:06:55 +01:00
Deomid Ryabkov
848c884fff
Make sure NWP is stopped before sl_Start
...
In SDK 1.2.0 TI decided to stop resetting NWP before sl_Start, which in
practice means that sl_start will hang on subsequent runs after the first.
See this post for details and suggested solution:
https://e2e.ti.com/support/wireless_connectivity/simplelink_wifi_cc31xx_cc32xx/f/968/p/499123/1806610#1806610
However, since they don't provide OS_debug variant of simplelink.a and
adding another project dependency will complicate our demo even more,
we just take the required bit of code.
PUBLISHED_FROM=c729c0fcbb240aa90a716edd43888de5881d6731
2016-04-16 10:32:42 +01:00
Deomid Ryabkov
2633628ad1
Add MG_hello for CC3200; upload file form
...
Mg_hello is a simpler example for CC3200
File upload form is served on / if index.html does not exist
and always available on /upload
PUBLISHED_FROM=f844245b26febc4b952e7c52ee4519ddb542072d
2016-04-15 14:48:24 +01:00
Marko Mikulicic
d2844580a1
Fix mongoose examples krypton build
...
And add the build to the CI.
PUBLISHED_FROM=b9becbc113e569d7a0e6dcdfd2c34ce704a681bd
2016-04-13 19:19:31 +02:00
Deomid Ryabkov
129bb6b1c3
Add MSP432 lib and example
...
PUBLISHED_FROM=57ff02457269938feae805f2972b96b15931d41a
2016-04-12 11:18:37 +01:00
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