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
90c67e4226
Reformatting for better readability
2021-11-06 11:29:56 +00:00
Sergey Lyubka
093cd6a6a3
Fix FD_CLOEXEC setting
2021-11-05 13:30:12 +00:00
Sergey Lyubka
975db86306
Add READMEs
2021-11-05 13:02:36 +00:00
Sergey Lyubka
eba688e11b
Update docs
2021-11-04 23:07:47 +00:00
Sergey Lyubka
05b44204d5
Set FD_CLOEXEC properly
2021-11-04 18:28:32 +00:00
Sergey Lyubka
0bb017c1d5
Add examples/mqtt-client-aws-iot
2021-11-03 20:58:57 +00:00
Sergey Lyubka
a6efd0b335
Merge branch 'master' into dec
2021-11-02 22:43:59 +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
3d78b14deb
Fix #1396 - JS sorting code for dir listing
2021-11-02 16:01:06 +00:00
Sergey Lyubka
f558551d1d
Fix #1395 - show decoded URI in dir listing
2021-11-02 15:11:56 +00:00
Sergey Lyubka
12fe66370f
Fix #1393 - cleanup mime types
2021-11-01 20:31:45 +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
bf88167152
Add missing test files
2021-10-31 12:50:06 +00:00
Sergey Lyubka
52be84f04e
Add user and pass to struct mg_mqtt_opts
2021-10-31 12:48:32 +00:00
Sergey Lyubka
03d187b147
Fix #1375 - change event processing order
2021-10-31 12:40:56 +00:00
Sergey Lyubka
3329047579
More explicit check on hm->uri.len
2021-10-31 12:37:40 +00:00
Sergey Lyubka
86c70e5abb
Fix #1391 - make remove_double_dots less aggressive
2021-10-31 12:36:34 +00:00
Sergey Lyubka
b17f4108ea
Change MG_PATH_MAX for ESP8266
2021-10-30 19:34:53 +01:00
Sergey Lyubka
4e523cc455
Remove binary section
2021-10-27 20:13:05 +01:00
Sergey Lyubka
49c9be9159
Set MG_IO_SIZE -> 128
2021-10-27 19:20:52 +01:00
Sergey Lyubka
f1bfe0760f
Optimise TLS read
2021-10-27 19:18:44 +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
af9a7617f5
Merge pull request #1381 from ptsolakos/master
...
Certificate revocation checking when using mbedtls
2021-10-22 20:30:47 +01:00
Sergey Lyubka
42c89732c8
Remove private.h
2021-10-22 19:41:26 +01:00
Sergey Lyubka
054475ddbf
Fix #1376 - handle comma for unquoted header vars
2021-10-22 14:33:51 +01:00
Sergey Lyubka
126d556d6a
Merge pull request #1380 from jameshilliard/fix-time
...
util: Actually return uptime on OSX/Linux for mg_millis
2021-10-22 14:06:44 +01:00
Sergey Lyubka
529a302e77
Merge pull request #1379 from jameshilliard/fix-sntp
...
sntp: Don't set Leap Indicator in client messages.
2021-10-22 14:04:54 +01:00
Sergey Lyubka
acbf978452
Merge pull request #1378 from jameshilliard/undef
...
Fix some undefined macro warnings.
2021-10-22 14:03:42 +01:00
Sergey Lyubka
90b22716ea
Merge branch 'master' into undef
2021-10-22 14:03:25 +01:00
Sergey Lyubka
fb90c504a6
Remove private.h
2021-10-22 14:00:31 +01:00
Sergey Lyubka
65fd834654
Increate mqtt test timeout
2021-10-22 13:58:51 +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
Sergey Lyubka
e9505db146
Merge pull request #1384 from zudwalex/master
...
Add more NXP examples and move them to nxp folder
2021-10-22 13:39:02 +01:00
Sergey Lyubka
4fb49b011e
Merge pull request #1377 from jameshilliard/missing-prototypes
...
Make private functions static and add missing prototypes.
2021-10-22 13:16:06 +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
Sergey Lyubka
54590aaf26
Use UDP sendto() on win32 only
2021-10-22 09:14:18 +01:00
Sergey Lyubka
7c5e67b272
Fix #1382 - use sendto for UDP send
2021-10-22 08:56:45 +01:00
Sergey Lyubka
c62c8ea4dd
Correct licensing URL
2021-10-20 10:04:49 +01:00
Panagiotis Tsolakos
383653d608
mbedtls CRL support
...
Certificate revocation checking when using mbedtls
2021-10-14 17:56:31 +02:00
James Hilliard
001dc3f33d
util: Actually return uptime on OSX/Linux for mg_millis
...
The documentation for mg_millis indicates it will:
Return current uptime in milliseconds.
So we should use API's that actually return uptime.
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
2021-10-13 17:06:18 -06:00
James Hilliard
37d45b3fbb
sntp: Don't set Leap Indicator in client messages.
...
Per RFC4330:
This field is significant only in server messages
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
2021-10-13 16:48:33 -06:00
James Hilliard
f72b8c6034
Fix some undefined macro warnings.
...
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
2021-10-13 13:06:00 -06:00