Commit Graph
2916 Commits
Author SHA1 Message Date
cpq 883e0a981f Reuse descriptors, pick minimum 2026-09-28 16:22:32 +01:00
cpq a419e16f26 Remove MG_ENABLE_DIRLIST, add mg_http_serve_opts :: enable_dir_listing 2026-09-26 15:40:43 +01:00
Sergey Lyubka 789372c5b3 Merge pull request #3708 from cesanta/lfs
LFS amendments
2026-09-26 13:00:29 +01:00
cpq 81f6acbce7 LFS nits 2026-09-26 12:52:30 +01:00
Sergey Lyubka 876cf5605f Merge pull request #3707 from cesanta/dash
Adjust dash to use core file manager
2026-09-25 13:09:54 +01:00
cpq f62f3545b4 Adjust dash to use core file manager 2026-09-24 17:04:32 +01:00
robert 4d6fa4b91c ota_rw612: ensure source buffer is aligned 2026-09-24 15:26:18 +03:00
cpq d1060d247b Directory listing as JSON 2026-09-23 15:54:04 +01:00
cpq fa34b7439a Replace mg_http_start_* with streaming uploads 2026-09-22 11:18:48 +01:00
robert 60c75a22b8 Validate WebSocket continuation frame sequencing 2026-09-21 15:32:10 +03:00
cpq b93cbbeb13 Add mg_http_stream_body() helper for generic streaming uploads 2026-09-21 08:55:04 +01:00
Sergio R. Caprile e8a82d1821 fix casting 2026-09-18 10:45:49 -03:00
eunho87 5d4fffbb14 Guard against NULL return in mg_file_printf
mg_vmprintf() returns io.buf from a mg_iobuf that starts empty. When the
internal mg_iobuf_resize() allocation fails, the buffer is left NULL and
mg_vmprintf() returns NULL. mg_file_printf() passed that result straight
to strlen(data), dereferencing NULL on allocation failure.

Skip the write when mg_vmprintf() returns NULL and return false, matching
how the rest of the codebase checks mg_calloc()/allocation results.
2026-09-15 10:50:14 +09:00
cpq 1e99974b83 health record support 2026-09-11 14:09:55 +01:00
Sergio R. Caprile 7e9ddc2d09 support c->is_full flow control in builtin TCP/IP 2026-09-09 15:55:55 -03:00
Sergio R. Caprile 555c5a76be fix C89 and be tests 2026-09-09 15:53:44 -03:00
Sergio R. Caprile ffcad7ee47 fix too small MSSs, enable auto config 2026-09-08 12:04:25 -03:00
Sergio R. Caprile 5c34018899 add optional TCP retransmission 2026-09-07 15:34:08 -03:00
Sergio R. Caprile c857ddae57 Properly ACK duplicate segments 2026-09-07 13:48:33 -03:00
Sergio R. Caprile f87d439710 fix PPP frame size, enforce L2 max lenghts 2026-09-07 11:14:58 -03:00
Sergio R. Caprile 86adf12a77 improve SAN matching 2026-09-04 17:29:44 -03:00
Sergio R. Caprile a561f3e096 reject improper TLS record lengths 2026-09-04 11:24:30 -03:00
Sergio R. Caprile 2b0a5e9701 improve OID subj handling 2026-09-03 14:06:25 -03:00
Sergio R. Caprile cd05b162a8 account for extension headers in IPv6 transported protocols checksums 2026-09-01 21:33:48 -03:00
robert 9ddac8faa7 Terminate destination buffer in mg_url_decode 2026-09-01 17:33:56 +03:00
robert 9123330f72 Avoid computing offset twice 2026-09-01 16:39:56 +03:00
Sergio R. Caprile 5a317e81d9 make FIN wait for TLS drain 2026-08-31 10:03:27 -03:00
cpq 6093ac12a0 Remove rogue health.c 2026-08-27 09:47:03 +01:00
cpq e7cfaa70c7 Add a cap to mg_dash_send_change() 2026-08-27 09:43:56 +01:00
robert 0d97280af4 Enable multicast in NETC driver 2026-08-25 10:48:21 +03:00
Sergey Lyubka afc84b7c92 Merge pull request #3664 from cesanta/drainudp
make builtin UDP honor c->is_draining, as socket does
2026-08-23 12:54:16 +01:00
Sergey Lyubka 66bf5952a4 Merge pull request #3660 from cesanta/ack
handle ACK in FIN, fix ACK to FIN + payload
2026-08-23 12:53:43 +01:00
Sergey Lyubka f002c30cbb Merge pull request #3665 from cesanta/fatfs
unbreak fatfs
2026-08-23 12:52:54 +01:00
robert e312219e80 Add OTA for IMXRT1180 2026-08-20 10:40:58 +03:00
robertc2000 9c4506763b Merge pull request #3666 from cesanta/netc
Add Ethernet controller (NETC) driver for IMXRT1180
2026-08-14 17:01:04 +03:00
robert ec3b9e7c4f Add Ethernet controller (NETC) driver for IMXRT1180 2026-08-14 16:49:15 +03:00
Sergio R. Caprile 304ea2a649 unbreak fatfs 2026-08-13 18:23:09 -03:00
Sergio R. Caprile 83bac34094 make UDP honor c->is_draining 2026-08-13 12:41:55 -03:00
robertc2000 84553d06a0 Merge pull request #3662 from cesanta/flash-unlock
Flash unlock validation on STM32
2026-08-11 16:41:57 +03:00
Sergio R. Caprile 5df2445bc9 Merge commit from fork
fix TCP opt parser
2026-08-11 09:20:36 -03:00
Sergio R. Caprile 90890e4c63 Merge commit from fork
strenghten len checks
2026-08-11 09:16:05 -03:00
Sergio R. Caprile a6deed5868 Merge commit from fork
fix missing check
2026-08-11 09:10:46 -03:00
Sergio R. Caprile 5cdb25f05a Merge commit from fork
fix too short length guard
2026-08-11 09:05:40 -03:00
Sergio R. Caprile d8764746a4 Merge commit from fork
verify chain in bundle
2026-08-11 09:00:21 -03:00
robert fa4a2563e5 Flash unlock validation on STM32 2026-08-11 11:48:19 +03:00
Sergio R. Caprile f58f29b9a0 make BSD C++ compatible,survive to FreeRTOS not being so 2026-08-10 11:40:10 -03:00
Sergio R. Caprile 9c6b4edd37 handle ACK in FIN, fix ACK to FIN + payload 2026-08-07 11:49:28 -03:00
robert 735038c98c fix tests 2026-08-07 17:35:39 +03:00
robert 2696c1ff94 OTA: strenghten checks and introduce HTTPS support 2026-08-07 17:20:26 +03:00
Sergio R. Caprile 9f16806a22 Merge pull request #3648 from cesanta/bsd
BSD layer: Fix handling of full queues, add error handling
2026-08-05 10:47:00 -03:00