Sergio R. Caprile
205d4c6832
provide local info, fix redirect example
2026-02-09 14:42:31 -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
236724ea29
fix mg_send() failing on 0 length
2025-11-19 17:02:28 -03:00
Sergio R. Caprile
c8291e4ae9
add OOM handling to apps
2025-11-05 14:01:49 -03:00
Sergio R. Caprile
b8994f8bc3
Handle OOM situations in iobuf expansion
2025-11-05 13:53:18 -03:00
Sergio R. Caprile
7530062e4b
fixes for Keil
2025-09-04 19:43:17 -03:00
Sergio R. Caprile
85df6a6131
select() minimum wait is now 1ms
2025-07-07 14:40:18 -03:00
Sergio R. Caprile
806ee0f2cb
Improve Zephyr support
2025-06-27 14:11:04 -03:00
Sergey Lyubka
3a0fe5288c
Add MG_ARCH_TREADX
2025-06-16 11:09:41 +01:00
Sergio R. Caprile
b740c80855
set is_tls at mg_listen and mg_connect level
2025-05-26 09:42:48 -03:00
Sergio R. Caprile
1f48b1ca65
flush TLS buffer
2025-05-23 14:04:59 -03: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
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
d59f84fbbc
Fix Windows returning IO_RESET
2025-02-18 16:04:13 -03:00
Sergio R. Caprile
b58f8b9d7c
Fix multiple TLS records in buffer
2024-10-01 18:26:51 -03:00
Sergio R. Caprile
3ffe5e958f
improve close on TLS
2024-07-30 19:30:14 -03:00
Sergio R. Caprile
dedf67fb52
make friends with FreeRTOS+TCP compatibility
2024-07-30 10:58:10 -03:00
Sergey Lyubka
4493d35d26
Move http-restful-server to builtin TLS, plus minor nits
2024-07-26 19:31:15 +01:00
Sergio R. Caprile
774cfc4bdc
fix magic number
2024-07-03 17:16:32 -03:00
Sergey Lyubka
509fbcc4f8
Fix raw TLS overflow for large uploads
2024-07-03 16:40:04 -03:00
Sergey Lyubka
b796e33ede
Fix mbedTLS binding for 3.x
2024-05-16 10:45:11 +01:00
Sergio R. Caprile
f888b30863
TLS corner cases
2024-04-23 11:24:47 -03:00
Sergey Lyubka
3ac9bd0468
Fix #2619 - use mg_tls_pending() API to check for buffered TLS data
2024-03-12 08:30:04 +00:00
Sergey Lyubka
5baa4d969e
Fill c->loc for outbound connections
2024-02-14 12:32:26 +00:00
Sergey Lyubka
9172f62970
Fix #2603 : TLS read path
2024-02-13 05:49:15 +00:00
Sergey Lyubka
d8fec13d2c
Fix #2570 : close only when TLS buffers drained
2024-01-23 11:10:15 +00:00
Sergio R. Caprile
deca1aaf46
remove fn_data from event handler signature
2024-01-09 14:51:19 -03:00
Sergey Lyubka
06f8238107
Fix TLS codepath for pending data. Reuse c->rtls
2023-12-22 16:17:06 +00:00
Sergey Lyubka
61825b2390
Add mg_wakeup()
2023-12-21 14:03:33 -03:00
cpq
144c2f443e
TLS layer: c->rtls to optimise recvd TLS data
2023-12-10 12:18:07 +00:00
Sergio R. Caprile
18d13f9848
Allow fast close
2023-11-02 18:27:39 -03:00
cpq
bb9c7c0eb3
Handle ECOS case in accept_conn()
2023-10-06 15:58:26 +01:00
cpq
46ecb07fc8
Fix #2192 - honor addr%scopeid ipv6 notation
2023-09-29 15:49:47 +01:00
cpq
00d475bc7e
Address https://github.com/cesanta/mongoose/discussions/2305 - bind to v6 only / v6 and v4
2023-09-21 12:35:47 +01: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
Sergio R. Caprile
7459d30a28
deprecate mg_mkpipe()
2023-08-17 18:05:03 -03:00
cpq
0613cc62f4
TLS API refactor
2023-07-25 13:07:28 +01:00
robert
dd32deb2ad
optimized mg_addr structure
2023-06-09 09:19:37 -04:00
cpq
f961f993c8
FD_SETSIZE fix
2023-06-02 06:57:39 +01:00
cpq
adf124c00c
Dont check fd against FD_SETSIZE if POLL or EPOLL are used
2023-06-01 22:55:15 +01:00
Sergio R. Caprile
ab10b042be
fix bind issue in W
2023-05-22 19:13:48 -03:00
cpq
48333041f4
Apply SO_EXCLUSIVEADDRUSE and SO_REUSEADDR on windows
2023-05-12 14:08:49 +01:00
cpq
717c9dbe89
On Windows, prefer EXCLADDRINUSE, then REUSEADDR
2023-05-09 11:25:18 +01:00
cpq
9ade464c2e
Fix #2089 - allow to bind v4 and v6 sockets on the same port
2023-04-18 08:26:18 +01:00
cpq
d9f05532cd
Address #2125 : treat negative poll time as infinite wait
2023-04-10 15:04:37 +01:00
Sergio R. Caprile
8e14ad0536
Add printf.h
2023-04-07 19:28:00 -03:00
Sergio R. Caprile
8167291ffc
Fix FreeRTOS-Plus-TCP
2023-03-24 15:28:32 -03:00