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
James Hilliard
c11e5a9383
Make private functions static and add missing prototypes.
...
Fixes:
mongoose/mongoose.c:180:8: warning: no previous prototype for ‘mg_dns_parse_name’ [-Wmissing-prototypes]
180 | size_t mg_dns_parse_name(const uint8_t *s, size_t n, size_t ofs, char *dst,
| ^~~~~~~~~~~~~~~~~
mongoose/mongoose.c:306:6: warning: no previous prototype for ‘mg_dns_send’ [-Wmissing-prototypes]
306 | void mg_dns_send(struct mg_connection *c, const struct mg_str *name,
| ^~~~~~~~~~~
mongoose/mongoose.c:925:6: warning: no previous prototype for ‘mg_http_parse_headers’ [-Wmissing-prototypes]
925 | void mg_http_parse_headers(const char *s, const char *end,
| ^~~~~~~~~~~~~~~~~~~~~
mongoose/mongoose.c:1125:7: warning: no previous prototype for ‘mg_http_etag’ [-Wmissing-prototypes]
1125 | char *mg_http_etag(char *buf, size_t len, size_t size, time_t mtime) {
| ^~~~~~~~~~~~
mongoose/mongoose.c:2578:6: warning: no previous prototype for ‘mg_sha1_transform’ [-Wmissing-prototypes]
2578 | void mg_sha1_transform(uint32_t state[5], const unsigned char buffer[64]) {
| ^~~~~~~~~~~~~~~~~
mongoose/mongoose.c:2976:8: warning: no previous prototype for ‘mg_open_listener’ [-Wmissing-prototypes]
2976 | SOCKET mg_open_listener(const char *url, struct mg_addr *addr) {
| ^~~~~~~~~~~~~~~~
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
2021-10-12 20:18:11 -06:00
Sergey Lyubka
b5147a149e
Merge pull request #1373 from zudwalex/fix_board_ci
...
Use mongoose.[ch] from main repo
2021-10-06 12:31:27 +01:00
Alex Alashkin
655529f30b
Use mongoose.[ch] from parent repo
2021-10-06 13:15:12 +03:00
novlean
fd5319e0ce
Merge pull request #1372 from cesanta/novlean-patch-1
...
license
2021-10-05 17:09:43 +01:00
novlean
f8c84ca672
license
2021-10-05 17:09:35 +01:00
novlean
1b81ac8916
Merge pull request #1371 from cesanta/novlean-patch-1
...
mongoose.ws
2021-10-05 16:54:43 +01:00
novlean
c64e2ebb16
mongoose.ws
2021-10-05 16:54:34 +01:00
Sergey Lyubka
3771f2c088
Merge branch 'master' of github.com:cesanta/mongoose
2021-10-04 19:47:34 +01:00
Sergey Lyubka
6d398bd5c7
Fix mg_random() for ESP32
2021-10-04 19:47:24 +01:00
Sergey Lyubka
5c355a5ff3
Merge pull request #1368 from zudwalex/nxp_examples
...
Add NXP examples
2021-10-04 12:04:00 +01:00
Alex Alashkin
d2f8b346e6
Add nxp to actions
2021-10-04 13:15:32 +03:00
Alex Alashkin
5cdaa931f9
Add NXP examples
2021-10-04 12:54:15 +03:00
Sergey Lyubka
693863a51e
Merge pull request #1366 from zudwalex/fix_rtos_lwip
...
Add missed include for FreeRTOS/LwIP arch
2021-10-02 22:45:08 +01:00
Sergey Lyubka
a204c80308
Update ca.pem links
7.4
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
0149654791
Update README
2021-10-01 08:26:34 +01:00
Sergey Lyubka
f08d280429
Version 7.4
2021-09-30 13:35:44 +01:00
Sergey Lyubka
6fbb749431
7.4 -> 7.5
2021-09-30 13:34:55 +01:00
Alex Alashkin
bc7178e5f7
Add missed include
2021-09-29 12:25:25 +03:00
Sergey Lyubka
61070d136d
Add nxp-mimxrt1020-azurertos to Actions
2021-09-27 13:55:19 +01:00
Sergey Lyubka
ea85f93e37
Merge branch 'master' of github.com:cesanta/mongoose
2021-09-27 13:52:59 +01:00
Sergey Lyubka
46029c501a
Fix #1359 - add conditional for MSVC, _DEBUG and strdup
2021-09-27 13:52:39 +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
Sergey Lyubka
cdf279e438
Merge pull request #1358 from yermin/master
...
makes it more readable
2021-09-27 09:00:11 +01:00
Sergey Lyubka
cdd192abe4
Merge pull request #1363 from tophatgeeks/patch-1
...
Update README - Jordan Ramsey Edits.md
2021-09-27 08:44:42 +01:00
Sergey Lyubka
9af6f4b02e
Merge pull request #1360 from zudwalex/azure_basics
...
Add AzureRTOS basic support
2021-09-27 08:39:15 +01:00
Alex Alashkin
d86ceecd8c
Add AzureRTOS basic support
2021-09-26 10:25:44 +03:00
yermin
8f693b92a7
makes it more readable
...
Signed-off-by: yermin <yermin@buaa.edu.cn>
2021-09-24 11:30:21 +08:00
tophatgeeks
6b1ff37cf3
Update README.md
...
I have gone through and edited for consistency, punctuation, wording, and grammar. If you have questions feel free to reach out. I fixed some spelling errors "if" instead of "is" "update" instead of "updatw", etc.
-Jordan Ramsey
2021-09-23 12:07:00 -04:00
Sergey Lyubka
c490ff8ae7
Fix typo
2021-09-22 20:38:28 +01:00
Sergey Lyubka
f73ebbf689
Fix #1354 - report correct errno in mg_open_listener()
2021-09-22 18:52:42 +01:00
Sergey Lyubka
1928ba9c1f
Merge branch 'master' of github.com:cesanta/mongoose
2021-09-22 11:51:26 +01:00
Sergey Lyubka
ad3655fb92
Docs spelling
2021-09-22 11:51:16 +01:00
novlean
29e0158689
Merge pull request #1355 from cesanta/novlean-patch-1
...
2021
2021-09-21 18:07:33 +01:00
novlean
aaf55b6da0
2021
2021-09-21 18:02:11 +01:00
Sergey Lyubka
90a131bd29
Include ipv6 wrapping brackets [] in the result of mg_url_host()
2021-09-21 08:10:27 +01:00
Sergey Lyubka
8652006aea
Remove dead code
2021-09-20 12:26:09 +01:00
Sergey Lyubka
2139fbc4b7
Support multiple web roots
2021-09-20 12:24:44 +01:00
Sergey Lyubka
2b48e8b03a
Send suback
2021-09-18 20:56:56 +01:00