Commit Graph
512 Commits
Author SHA1 Message Date
cpq 71e0176944 Remove c->is_resp, keep it private to http.c 2026-09-30 15:12:54 +01:00
cpq a419e16f26 Remove MG_ENABLE_DIRLIST, add mg_http_serve_opts :: enable_dir_listing 2026-09-26 15:40:43 +01:00
cpq f62f3545b4 Adjust dash to use core file manager 2026-09-24 17:04:32 +01: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
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 309cb1006f ephemeral stuff 2026-07-30 18:36:29 -03:00
Sergio R. Caprile 501c5a4bcd ephemeral stuff 2026-07-30 18:01:34 -03:00
Sergio R. Caprile 7821fb9ab4 Add mg_crc16(), make PPP use it 2026-07-29 17:57:30 -03:00
Sergio R. Caprile 6cbd810206 improve mg_aton6 and tests 2026-07-28 14:46:16 -03:00
Sergio R. Caprile f78cb1b02f Merge pull request #3642 from cesanta/jwt
Add JWT Bearer Authentication support and tutorial
2026-07-24 11:49:46 -03:00
Sergio R. Caprile f8e785f56b Merge pull request #3634 from 94xhn/fix/json-hex-validation
Reject malformed input in mg_json_get_hex
2026-07-24 11:36:31 -03:00
Sergio R. Caprile cdd957572e Add JWT Bearer Authentication support and tutorial 2026-07-21 14:25:03 -03:00
94xhn dc52d8b1dc fix(json): reject malformed hex input
Reject odd-length and non-hex strings before decoding them.

Tested: 1796 ASan/UBSan tests in amalgamated and unamalgamated builds
2026-07-16 08:33:06 +08:00
Sergio R. Caprile b6a353cae9 remove duplicated epoch handling, test it 2026-07-15 15:53:38 -03:00
Sergio R. Caprile f391c4eea0 add more C89-like targets; fix related stuff 2026-07-09 16:26:30 -03:00
Sergio R. Caprile f84598f66a mdash/mingw does not support %zu 2026-07-09 11:57:22 -03:00
cpq 875c0fcd4f Add %zu printf support 2026-07-07 12:37:47 +01:00
Sergio R. Caprile f8816d67c3 delegate RSA verify to the RSA module 2026-07-01 12:31:11 -03:00
Sergio R. Caprile ed19d5290e Merge pull request #3610 from cesanta/hostnoca
Allow hostname checking even when no CA cert was given
2026-06-26 14:12:09 -03:00
cpq b3ab9c618e Unit test under Win32 2026-06-25 10:32:56 +01:00
cpq 8c0b6e335e Unit test under Win32 2026-06-25 10:22:13 +01:00
Sergio R. Caprile a9df523f76 assorted patches 2026-06-23 13:38:35 -03:00
Sergio R. Caprile 98dc50b3cd embrace compiler wilderness 2026-06-23 13:13:44 -03:00
Sergio R. Caprile 60bfa45656 Merge commit from fork
avoid OOB reads in path_is_sane
2026-06-23 13:05:25 -03:00
Sergio R. Caprile b55de8b151 avoid OOB reads in path_is_sane 2026-06-22 19:51:37 -03:00
Sergio R. Caprile d8e629a048 Allow hostname checking even when no CA cert was given 2026-06-22 14:51:24 -03:00
Sergio R. Caprile d60dcf846e add unit test for mg_wakeup 2026-06-19 11:35:02 -03:00
cpq 27459efc61 Dash OTA dogfooding nits 2026-06-09 11:56:40 +01:00
cpq 73037880e6 Change dash auth signature 2026-06-02 14:17:49 +01:00
robert 4b72c4cd5a dash: free user structures 2026-05-29 06:18:46 -04:00
Sergey Lyubka 1084adb166 Merge pull request #3571 from cesanta/upload
Unify upload API
2026-05-29 10:07:03 +01:00
cpq 621f893bbc Unify upload API 2026-05-29 07:35:31 +01:00
cpq 5e4c5a4d13 Add secp384r1, fix memory leaks in #3566 2026-05-28 12:27:50 -03:00
cpq 4bc755045e Remove MG_IO_RESET 2026-05-27 15:23:56 +01:00
cpq b773e33f4e Fix #3545 2026-05-20 07:26:13 +01:00
cpq 1536b6a38b Dash levels 2026-05-20 07:05:28 +01:00
cpq 5c3ffdb570 Squash test build failures 2026-05-19 12:34:30 +01:00
cpq a8fd3825f3 Add dash unit test 2026-05-19 12:29:08 +01:00
robert d44b9b9adf Fix casting issue in MQTT parsing 2026-05-07 09:30:03 -04:00
cpq 573bc152b1 Add file manager 2026-04-26 01:58:12 +01:00
cpq b381fdc790 Fix vc98 test 2026-04-20 10:58:55 +01:00
cpq 8030f8f8b5 Graph fixes 2026-04-20 10:47:49 +01:00
Sergey Lyubka 60e98e77b9 Merge pull request #3482 from cesanta/modbus
Add modbus-tcp support
2026-04-06 09:28:31 +01:00
cpq d67b30aba3 Add modbus-tcp support 2026-04-06 03:54:58 -04:00
Sergio R. Caprile ae5a2263ac Merge pull request #3477 from cesanta/mem
Make packed fs always available, and manually settable
2026-04-01 14:36:58 -03:00
Sergio R. Caprile 9210a762de fix unit tests 2026-04-01 10:30:59 -03:00
Sergio R. Caprile 0d882f1b43 patch 2026-03-31 17:38:04 -03:00