Sergio R. Caprile
5be9e55425
Merge pull request #3142 from cesanta/wonder
...
Add support for SDIO
2025-05-26 10:07:41 -03:00
Sergio R. Caprile
1b06403a19
Add support for SDIO
...
Add support for SDIO in CYW driver
Add Portenta H7 example
2025-05-26 10:04:44 -03:00
Sergio R. Caprile
b740c80855
set is_tls at mg_listen and mg_connect level
2025-05-26 09:42:48 -03:00
Sergey Lyubka
29594283c1
Merge pull request #3148 from cesanta/iowaitormsscapped
...
flush TLS buffer
2025-05-26 11:38:41 +01:00
Sergio R. Caprile
1f48b1ca65
flush TLS buffer
2025-05-23 14:04:59 -03:00
robert
fd2d7cccf3
RA8 eth and phy support
2025-05-23 10:15:49 -04:00
Sergio R. Caprile
fadf28adb4
Make built-in TLS play fair to TCP
...
Handshake functions in Mongoose TLS assumed data was being fully sent
after calling mg_io_send(). This was in fact the case with the usual 1460-bytes MSS, but not with the default 536-bytes MSS.
This PR removes all those calls from individual handshake functions, actual send is done at the main handshake function, keeping track of the amount of data sent, and so handling small MTUs/MSSs and possible MG_IO_WAITs when running over a socket layer.
2025-05-22 14:45:46 -03: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
ccfe7e0724
update version
2025-05-21 09:46:14 -03:00
Sergio R. Caprile
8061a41b38
workaround
2025-05-19 09:22:59 -03:00
Sergio R. Caprile
54d4611eb6
call mg_tcpip_free from mg_mgr_free()
2025-05-15 17:37:40 -03:00
Sergio R. Caprile
f3fafb6759
make clang happy
2025-05-15 17:09:29 -03:00
Sergio R. Caprile
14be42c868
INFO -> VERBOSE
2025-05-15 15:50:36 -03:00
robert
f46c5b7214
RA6 driver init macro
2025-05-15 03:13:49 -04:00
Sergey Lyubka
ccd6bcd95f
Merge pull request #3132 from cesanta/tls
...
stronger bounds checking
2025-05-13 22:26:35 +01:00
Sergey Lyubka
a3b63f3b0d
Merge pull request #3130 from cesanta/longpost
...
fix broken TCP closure
2025-05-13 22:26:15 +01:00
Sergio R. Caprile
1ef6c6aeb5
Handle TCP options
2025-05-13 16:27:50 -03:00
robertc2000
bd53529b45
Merge pull request #3134 from cesanta/ota-rw612
...
OTA for FRDM-RW612
2025-05-13 10:33:41 +03:00
Sergio R. Caprile
cc8ecc5a42
stronger bounds checking
2025-05-12 18:13:41 -03:00
robert
5a816a1d41
OTA for FRDM-RW612
2025-05-12 07:59:15 -04:00
robert
cdc439bc38
Websocket offset validation enhancement
2025-05-09 06:04:34 -04:00
Sergio R. Caprile
ae8422e304
fix broken TCP closure
2025-05-08 13:40:02 -03:00
Sergey Lyubka
041ec6e1f8
Close if drained
2025-05-03 10:28:40 +01:00
Sergio R. Caprile
f618fe125c
Fix lwIP builds
...
fixes #3119
lwIP does not export ip_mreq by default, it requires enabling support for IGMP by setting LWIP_IGMP, with the associated extra stuff. Mongoose will print an error if mg_multicast_add() is called with no multicast support in lwIP.
2025-04-29 19:24:17 -03:00
Sergio R. Caprile
8ab514fabc
make hexdump send CRLF
2025-04-28 12:33:31 -03:00
Sergio R. Caprile
143b0ac126
fix
2025-04-24 11:04:43 -03:00
Sergio R. Caprile
1d2a768184
refactor the rest of the drivers
2025-04-22 13:59:03 -03:00
Sergio R. Caprile
dceb4beb09
Refactor MIP strategy and first driver (CMSIS)
2025-04-22 12:55:21 -03:00
robert
6f697db49d
Added MDNS and driver support for multicast
2025-04-22 12:55:15 -03:00
Sergio R. Caprile
8e0212c3db
Fix not reading last TLS small record with fast closure
...
Fixes #3104
MbedTLS API fairplay
2025-04-22 09:56:49 -03:00
Sergio R. Caprile
3861e2e1e7
Merge pull request #3097 from cesanta/builtdoze
...
fix missing weird types
2025-04-14 13:13:06 -03:00
Sergio R. Caprile
21eefa4b55
Merge pull request #3102 from cesanta/mipfin
...
Fix handling of FIN segments carrying data
2025-04-14 11:27:09 -03:00
Sergey Lyubka
fb6c6aafeb
Merge pull request #3100 from cesanta/timers
...
Fix #2768 - remove completed timers
2025-04-14 15:15:36 +01:00
Sergio R. Caprile
df07426e78
Fix handling of FIN segments carrying data
2025-04-14 11:11:48 -03:00
Sergio R. Caprile
f2fe47e9f7
workaround causing TLS libs to return zero
2025-04-11 14:42:15 -03:00
Sergio R. Caprile
fbc1708000
Add support for RM2 with STM32F (429, 746)
2025-04-11 09:20:40 -03:00
Sergey Lyubka
0539cf1023
Fix #2768 - remove completed timers
2025-04-11 11:24:10 +01:00
Sergio R. Caprile
07b410447b
fix missing weird types
2025-04-10 10:02:20 -03:00
Sergey Lyubka
fb69016196
Merge pull request #3096 from cesanta/polldoze
...
allow other stack than WinSock in Windows
2025-04-10 07:21:29 +01:00
Sergio R. Caprile
08091d02e5
allow other stack than WinSock in Windows
2025-04-09 12:05:01 -03:00
Sergio R. Caprile
6f2dcf92a7
no VLA
2025-04-09 10:55:54 -03:00
Sergio R. Caprile
ec0fe66a17
unbreak pico[2]W auto init
2025-04-07 15:56:11 -03:00
robert
e656b1c792
Removed alloca call for ARM-CGT compatibility
2025-04-07 09:08:22 -04:00
Sergey Lyubka
e0ccbadd25
Merge pull request #3083 from cesanta/cyw
...
Introducing CYW driver and Wi-Fi AP support
2025-03-30 11:27:56 +01:00
Sergey Lyubka
40a2a8822f
Squash warning
2025-03-29 18:59:01 +00:00
Sergio R. Caprile
e37a0b9056
Add CYW driver
2025-03-24 17:03:05 -03:00
Sergey Lyubka
064fc6ff7b
Allow user to set custom DHCP name
2025-03-22 16:30:02 +00:00
Sergio R. Caprile
c1849c2b19
fix IO_WAIT on send for builtin TLS and MbedTLS
2025-03-11 16:14:12 -03:00
Sergio R. Caprile
4eadf3699f
unbreak C89
2025-03-11 16:00:42 -03:00
Sergio R. Caprile
fbc231f33e
Merge pull request #3070 from cesanta/hton
...
remove memcpy from htons/l and test load/save bigendian macros
2025-03-08 14:46:46 -03:00