2943 Commits
Author SHA1 Message Date
Sergio R. Caprile 298ee549da make error reporting consistent 2026-10-16 15:59:20 -03:00
Sergio R. Caprile 5e4ae64e1b Merge pull request #3738 from cesanta/iserror
Misc fixes and regression unbreaks
2026-10-16 14:56:40 -03:00
Sergio R. Caprile c5778aa608 Misc fixes and regression unbreaks 2026-10-16 13:51:58 -03:00
cpq 497a3f5e73 Remove esp8266 support 2026-10-15 21:14:31 +01:00
Sergey Lyubka 10e67fdf2b Merge pull request #3734 from cesanta/esp32
Add TLS and health backtrace to esp32
2026-10-15 21:05:47 +01:00
cpq 2f2a5f2f02 Add TLS and health backtrace to esp32 2026-10-15 20:57:10 +01:00
Sergio R. Caprile 10adde595c fix new bsd test 2026-10-15 14:39:37 -03:00
cpq 37f3ed5ba4 Drop x25519, use p256 only 2026-10-15 13:36:24 +01:00
Sergey Lyubka fc478a70f7 Merge pull request #3700 from cesanta/bsd
Reimplement BSD layer
2026-10-14 11:30:26 +01:00
Sergio R. Caprile a6b5565e9d Merge pull request #3727 from cesanta/mgerror
correctly close TCP on mg_error()
2026-10-13 12:04:15 -03:00
Sergio R. Caprile e7113408a9 correctly close TCP on mg_error() 2026-10-13 12:00:20 -03:00
Sergio R. Caprile fdf12844e3 Reimplement BSD layer 2026-10-12 18:09:41 -03:00
Sergio R. Caprile a4607933a4 close connection besides logging, when gateway is down 2026-10-12 17:47:25 -03:00
cpq aae179177c Minimise build size 2026-10-10 12:25:44 +01:00
cpq eda9a5726c Add H5 and H7 to health monitor 2026-10-08 15:15:11 +01:00
Sergey Lyubka 16a5a7d9fb Merge pull request #3712 from jnnrgd/feat/mqtt5-connack-props
mqtt: parse properties in MQTT 5.0 CONNACK packets
2026-10-08 04:37:45 +01:00
cpq c30afffcee Fix RSA signing 2026-10-07 11:36:37 -03:00
cpq c8bf39dcd8 Built-in TLS: accept a chain that contains the configured CA 2026-10-06 12:41:25 +01:00
cpq 393c811f31 Fixed cert emptiness check 2026-10-06 12:33:02 +01:00
cpq cf9d56be79 Add support for MS Azure MQTT 2026-10-05 12:41:56 +01:00
cpq d7e708b9bc Move crash handler to src/health.c 2026-10-02 12:47:05 +01:00
cpq 3aa5f2a1fd Print crash record optionally 2026-10-01 14:42:16 +03:00
cpq 1b0906510b Rename MG_OTA_FIRMWARE_VERSION -> MG_FIRMWARE_VERSION, rw612 nits 2026-10-01 10:10:42 +01:00
cpq 71e0176944 Remove c->is_resp, keep it private to http.c 2026-09-30 15:12:54 +01:00
Sergey Lyubka bba5a0ca3a Merge pull request #3710 from cesanta/crash-report
Report the crash log to mdash
2026-09-30 15:11:13 +01:00
jnnrgd 1f2b14bb66 mqtt: parse properties in MQTT 5.0 CONNACK packets
Under MQTT 5.0, decode the property length and set props_start and
props_size for MQTT_CMD_CONNACK. Add unit test coverage.
2026-09-30 10:51:41 +02:00
cpq 883e0a981f Reuse descriptors, pick minimum 2026-09-28 16:22:32 +01:00
robert 795f16d5fb Report the crash log to mdash 2026-09-28 14:05:58 +03: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