Commit Graph

705 Commits

Author SHA1 Message Date
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