Sergio R. Caprile
b55de8b151
avoid OOB reads in path_is_sane
2026-06-22 19:51:37 -03:00
Sergio R. Caprile
3f1ae66a3d
FreeRTOS: arch_ -> os_
2026-05-20 13:35:24 -03:00
cpq
71cc0cfd80
Zephyr nits
2025-12-23 13:12:56 -03:00
Sergio R. Caprile
5b023cb85b
Add support for Windriver's Diab v4 (stricter C89)
2025-12-04 13:58:49 -03:00
Sergio R. Caprile
337e8abf2f
Introduce IPv6, unit tests pass
2025-11-05 11:04:23 -03:00
Sergey Lyubka
75c11436ff
Introduce MG_ARCH_CUBE, autodetect everything
2025-07-17 17:29:48 +01:00
Sergey Lyubka
2a174b0d3b
Autodetect STM32 in mg_millis()
2025-07-16 07:38:29 +01:00
Sergey Lyubka
074ef5197b
Introduce mg_calloc
2025-06-24 10:52:44 +01:00
Sergey Lyubka
3a0fe5288c
Add MG_ARCH_TREADX
2025-06-16 11:09:41 +01:00
Sergio R. Caprile
a801160bc0
collaterals #3140
...
We prepend current path to the URI, so a tilde could not be the first
char in a path. However, the same would happen for double dots, and
since we're already checking for that, it doesn't hurt to be on the safe
side for future's sake.
2025-05-21 10:43:14 -03:00
Sergio R. Caprile
e37a0b9056
Add CYW driver
2025-03-24 17:03:05 -03:00
Sergio R. Caprile
4eadf3699f
unbreak C89
2025-03-11 16:00:42 -03:00
Sergio R. Caprile
782896b5d3
remove memcpy from htons/l
2025-03-05 17:20:35 -03:00
Sergio R. Caprile
837da0e458
misc fixes and updates
2024-12-27 11:16:10 -03:00
Sergio R. Caprile
58327a1753
Move ARCH_RP2040 --> ARCH_PICOSDK
2024-11-08 14:34:33 -03:00
Sergio R. Caprile
094202ff16
Use Pico-SDK RNG
2024-11-07 11:57:08 -03:00
robert
f394df840e
Killed bcrypt, replaced with rand_s
2024-10-29 10:41:10 -04:00
robert
5ec26a5015
Windows: added alternative to bcrypt lib
2024-10-08 09:21:13 -04:00
Sergey Lyubka
683f65f8ac
Make mg_random() fallible. Abort TLS on weak RNG
2024-09-02 11:06:10 -03:00
Juliusz Sosinowicz
dc09851ac8
Add wolfSSL support
...
- Added Makefile wolfSSL build option with `SSL=WOLFSSL`
- Fixed missing BIO symbol errors
- Rename `fe` to `mg_fe` as it collides with `fe` defined in `wolfssl/wolfcrypt/fe_operations.h`
- byte variable name shadows the wolfSSL byte type
Tested with `make test`
Signed-off-by: Juliusz Sosinowicz <juliusz@wolfssl.com >
2024-05-16 10:37:31 +02:00
Sergio R. Caprile
3c531897b6
cleanup 'str' API
2024-05-09 14:10:27 -03:00
Sergey Lyubka
e0e599ffa1
Fix #2612 - struct mg_str::ptr -> buf
2024-04-16 22:42:45 +01:00
Sergey Lyubka
936e7bbc88
mg_split -> mg_span. Remove mg_commalist
2024-02-04 09:26:42 +00:00
cpq
3f0366a514
Revert to the old TLS API, but keep certs as mg_str for DER
2023-09-19 11:15:23 +01:00
cpq
7ecbbc517d
Using mg_bzero to cleanup memory in mg_close_conn()
2023-09-17 22:25:36 +01:00
Sergio R. Caprile
59c46fc594
update
2023-07-05 17:49:18 -03:00
WKJay
5be1c6381b
add RT-Thread support
2023-06-26 16:18:40 +08:00
Sergio R. Caprile
f4ed5062f6
Add arch for CMSIS-RTOS v1 and v2
2023-03-21 19:32:56 -03:00
Sergio R. Caprile
bba361016d
Update RMII ex, enhance MIP
2023-02-27 18:30:53 -03:00
cpq
a4430dd49d
Split mg_*printf* functions into src/printf.c/h
2023-02-10 15:47:23 +00:00
Sergio R. Caprile
99dbbc7f39
Do not use %I %A in MIP
2023-01-31 14:37:00 -03:00
Sergio R. Caprile
54c651f7e2
Add mg_print_mac()
2023-01-31 13:31:46 -03:00
cpq
2192914cbb
Create MG_ARCH_FREERTOS, MG_ENABLE_LWIP, MG_ENABLE_FREERTOS_TCP. Remove MG_ARCH_FREERTOS_TCP, MG_ARCH_RTX_LWIP
2022-11-07 23:58:58 +00:00
Sergio R. Caprile
c8c540b453
Improve TI-RTOS timing support
2022-10-24 11:48:54 -03:00
Sergio R. Caprile
1ef0aa14c0
Update to latest Zephyr and their Docker repo
2022-10-04 17:24:13 -03:00
cpq
567fccd7ee
Refactor W5500 driver, add arduino w5500 example
2022-09-02 12:58:54 +01:00
Sergey Lyubka
6c796b8552
Fix memset in mg_iotest, add mg_random_str test
2022-07-04 16:13:38 +01:00
Sergey Lyubka
735b7bece6
Squash more warns
2022-07-04 11:43:52 +01:00
James Hilliard
c24343f107
util: use correct clock on OSX
...
CLOCK_MONOTONIC_RAW on OSX is not the same as CLOCK_MONOTONIC_RAW on linux
2022-07-04 04:04:43 -06:00
Sergey Lyubka
81ffcd8ee9
Fix #1616 - randomize mqtt will and client id for parallel test
2022-07-04 11:00:06 +01:00
Sergey Lyubka
432452ea9a
Fix #1615 - prefer monotonic clock. Add clock for rp2040
2022-07-04 10:08:21 +01:00
Sergey Lyubka
f1da8542ce
Nits
2022-07-01 17:28:06 +01:00
Sergey Lyubka
28c15b3ff4
More SNtp debug 11
2022-05-27 22:36:34 +01:00
Sergey Lyubka
360dedd9b2
More SNtp debug 3
2022-05-27 20:39:37 +01:00
James Hilliard
e4ab9a4130
Ensure MQTT_CMD_SUBACK is received before calling mg_mqtt_pub in tests
2022-04-07 19:11:51 -06:00
Sergey Lyubka
a1ec179229
Use uint64_t for uptime in millis, not int64_t
2022-04-07 13:50:25 +01:00
Sergey Lyubka
0ed64707f3
Introduce MG_ENABLE_CUSTOM_MILLIS
2022-04-04 18:14:59 +01:00
Sergey Lyubka
f64c86d23f
Use mg_snprintf()
2022-02-10 11:56:55 +00:00
Sergey Lyubka
63b880e624
Handle #1459 - deprecate mg_globmatch, introduce mg_match()
2022-01-29 11:03:54 +00:00
Sergey Lyubka
59c4dfa33b
Fix 1452 - byte order issue in mg_check_ip_acl
2022-01-21 12:24:58 +00:00