Sergio R. Caprile
02bdbb9ed6
update version
2026-08-12 09:41:29 -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
de7cd48a79
fix typorenthesis
2026-08-11 10:03:03 -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
9ccfc02a86
Merge pull request #3661 from cesanta/bsd++
...
make BSD C++ compatible,survive to FreeRTOS not being so
2026-08-10 11:45:02 -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
282ae0d968
add compiler matrix, verbose log
2026-08-07 16:21:46 -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
Sergey Lyubka
8d1b9047b6
Merge pull request #3657 from cesanta/dscp
...
Add support for DSCP
2026-08-05 12:11:40 +01:00
Sergio R. Caprile
2988bc9df3
verify chain in bundle
2026-08-04 11:59:22 -03:00
robert
5e733a1461
Add scan timeout
2026-08-04 11:43:08 +03:00
robertc2000
34813493a4
Merge pull request #3658 from cesanta/claude
...
Update Claude scanning
2026-08-04 11:11:29 +03:00
robert
f220223947
Update Claude scanning
2026-08-04 10:47:16 +03:00
Sergio R. Caprile
758e301f0c
fix too short length guard
2026-08-03 14:19:13 -03:00
cpq
7fa830fc0c
New project instructions
2026-08-03 14:12:38 +01:00
cpq
fc699a0b0b
Nits
2026-08-02 12:12:48 +01:00
Sergio R. Caprile
4e3e7ac4b2
update stale example
2026-07-31 13:48:15 -03:00
Sergio R. Caprile
2838c85342
move nightly test start time
2026-07-30 21:11:12 -03:00
Sergio R. Caprile
bc17f1667b
retry failed night tests
2026-07-30 21:03:40 -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
765bb237b7
Add support for DSCP
2026-07-30 17:36:46 -03:00
Sergio R. Caprile
b0f5e9cec4
Merge pull request #3656 from cesanta/pppfcs
...
Add mg_crc16(), make PPP use it
2026-07-30 09:53:53 -03:00
Sergio R. Caprile
125b79bd70
Merge pull request #3654 from cesanta/misc
...
remove redundant checks, clarify algorithm
2026-07-30 09:52:50 -03:00
Sergio R. Caprile
7821fb9ab4
Add mg_crc16(), make PPP use it
2026-07-29 17:57:30 -03:00
Sergio R. Caprile
03be16803c
Merge pull request #3655 from cesanta/todo
...
misc todo's and related fixes
2026-07-29 17:18:53 -03:00
Sergio R. Caprile
3c11521446
misc todo's and related fixes
2026-07-29 16:06:29 -03:00
Sergio R. Caprile
4faa3d5bf1
remove redundant checks
2026-07-29 13:50:32 -03:00
Sergio R. Caprile
bfdc14ce0a
Merge pull request #3653 from cesanta/synconn
...
fix corner case
2026-07-29 09:58:14 -03:00
Sergio R. Caprile
ac9ebdfb1a
fix corner case
2026-07-28 20:21:28 -03:00
Sergio R. Caprile
85d77ec3ac
group embedded tests
2026-07-28 16:29:31 -03:00
Sergio R. Caprile
9b7d318df5
Merge pull request #3651 from cesanta/aton6
...
improve mg_aton6 and tests
2026-07-28 14:48:06 -03:00
Sergio R. Caprile
6cbd810206
improve mg_aton6 and tests
2026-07-28 14:46:16 -03:00
Sergio R. Caprile
771f5f2ed9
Merge pull request #3650 from cesanta/wolf
...
fix WolfSSL not working on built-in TCP/IP
2026-07-28 13:08:45 -03:00
Sergio R. Caprile
6b8d8b5caa
fix WolfSSL not working on built-in TCP/IP
2026-07-28 12:12:33 -03:00
Sergio R. Caprile
ba942dbd7a
Fix handling of full queues, add error handling
2026-07-27 17:27:03 -03:00
Sergio R. Caprile
2db7119080
Merge pull request #3649 from cesanta/frt
...
handle (more) FreeRTOS proprietary return codes
2026-07-27 17:13:33 -03:00
Sergio R. Caprile
6a3599682b
handle (more) FreeRTOS proprietary return codes
2026-07-27 17:12:21 -03:00
Sergio R. Caprile
77e0faf020
Merge pull request #3647 from cesanta/jwt
...
fix warnings (and uncovered latent bug)
2026-07-27 11:34:47 -03:00
Sergio R. Caprile
08e01cb312
fix warnings (and uncovered latent bug)
2026-07-27 10:35:04 -03:00
Sergey Lyubka
d8fa55e1d6
Merge pull request #3644 from cesanta/mcxupresso-ota-rollback
...
Add ARCH_MCUXPRESSO and OTA rollback for IMXRT boards
2026-07-27 11:32:56 +01:00
Sergio R. Caprile
61638caeae
Merge pull request #3643 from cesanta/mdns
...
Add SD query and response to mDNS
2026-07-24 11:50:09 -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
robert
e473f2189c
Add ARCH_MCUXPRESSO and OTA rollback for IMXRT boards
2026-07-24 14:27:49 +03:00
Sergio R. Caprile
66eac28c20
Add SD query and response to mDNS
2026-07-22 16:58:13 -03:00
Sergio R. Caprile
cdd957572e
Add JWT Bearer Authentication support and tutorial
2026-07-21 14:25:03 -03:00
robertc2000
af7eaaa9b1
Merge pull request #3641 from cesanta/esp32-ota
...
Add ESP32 OTA rollback support
2026-07-20 11:55:46 +03:00
robert
8d7bbda48d
Add ESP32 OTA rollback support
2026-07-20 10:50:03 +03:00
Sergio R. Caprile
17a25373db
fix fuzzer
2026-07-17 10:02:59 -03:00
Sergio R. Caprile
b86f255407
Merge pull request #3637 from cesanta/misc
...
misc check strenghtens and debug guards
2026-07-16 15:16:43 -03:00
Sergio R. Caprile
cb57182ee0
misc check strenghtens and debug guards
2026-07-16 15:10:19 -03:00
Sergey Lyubka
72ff0dfb07
Merge pull request #3633 from cesanta/len
...
harden some len checks
2026-07-16 12:00:21 +01: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
e2e2db8900
Merge pull request #3636 from cesanta/timegm
...
remove duplicated epoch handling, test it
2026-07-15 15:59:08 -03:00
Sergio R. Caprile
b6a353cae9
remove duplicated epoch handling, test it
2026-07-15 15:53:38 -03:00
Sergio R. Caprile
cc7c6d2d18
fix TCP opt parser
2026-07-14 10:29:43 -03:00
robert
7a2a3fc136
update Claude prompt
2026-07-14 10:44:56 +03:00
Sergio R. Caprile
2ec27994f4
harden some len checks
2026-07-13 17:51:50 -03:00
Sergio R. Caprile
bc69625a5e
unbreak tests
2026-07-13 17:04:46 -03:00
Sergio R. Caprile
a8b4ae95db
fix missing check
2026-07-13 14:52:26 -03:00
Sergio R. Caprile
f52e4f4bb0
Merge pull request #3632 from cesanta/bsdbe
...
Add big-endian tests for our BSD layer
2026-07-10 18:30:52 -03:00
Sergio R. Caprile
0aa25dbd18
Add big-endian tests for our BSD layer
2026-07-10 18:28:40 -03:00
Sergio R. Caprile
72a0787161
Merge pull request #3628 from cesanta/tlssntp
...
make tls_init request boot time if it is 0
2026-07-10 11:47:30 -03:00
Sergio R. Caprile
37234ad26f
make tls_init request boot time if it is 0
2026-07-10 11:40:39 -03:00
Sergio R. Caprile
96050c2587
Merge pull request #3629 from cesanta/bigendian
...
Add test targets for PowerPC and MIPS (bigendian)
2026-07-10 11:30:37 -03:00
Sergio R. Caprile
09254c9e64
Add PowerPC and MIPS (bigendian)
2026-07-10 11:26:46 -03:00
Sergey Lyubka
a43599c081
Merge pull request #3631 from cesanta/c89diab
...
add more C89-like targets; fix related stuff
2026-07-10 10:29:32 +01:00
Sergio R. Caprile
f391c4eea0
add more C89-like targets; fix related stuff
2026-07-09 16:26:30 -03:00
Sergio R. Caprile
6709c028aa
Merge pull request #3630 from cesanta/nozutest
...
mdash/mingw does not support %zu
2026-07-09 12:02:46 -03:00
Sergio R. Caprile
f84598f66a
mdash/mingw does not support %zu
2026-07-09 11:57:22 -03:00
Sergio R. Caprile
02625d3bb6
minor nit
2026-07-09 11:54:41 -03:00
Sergio R. Caprile
957b9a991c
Merge pull request #3627 from cesanta/z
...
Add %zu printf support
2026-07-08 10:56:32 -03:00
cpq
875c0fcd4f
Add %zu printf support
2026-07-07 12:37:47 +01:00
Sergio R. Caprile
ad269fa4d5
Merge pull request #3625 from cesanta/tests
...
add real life testing for PPPoE and VLANs
2026-07-03 14:45:50 -03:00
Sergio R. Caprile
9448625662
add real life testing for PPPoE and VLANs
2026-07-03 14:45:20 -03:00
Sergio R. Caprile
ba2abbc444
Merge pull request #3614 from cesanta/bsd
...
fixes and additions for BSD
2026-07-03 09:52:47 -03:00
Sergio R. Caprile
a865890a09
make bsd tests go live
2026-07-03 09:28:30 -03:00
Sergio R. Caprile
ad2ffa8e45
fixes and additions for BSD
2026-07-03 09:26:24 -03:00
Sergio R. Caprile
b424eb79cf
fix typo
2026-07-02 18:43:04 -03:00
Sergio R. Caprile
ac8fe85478
Merge pull request #3624 from cesanta/fuzz
...
improve fuzzing
2026-07-02 15:58:19 -03:00
Sergio R. Caprile
38b6b13547
improve fuzzing
2026-07-02 15:57:11 -03:00
Sergio R. Caprile
9bc4d9741e
Merge pull request #3621 from cesanta/tests
...
add tests for ATcmd driver, fix some warnings
2026-07-02 10:19:13 -03:00
Sergio R. Caprile
cee80a8391
add tests for ATcmd driver, fix some warnings
2026-07-02 10:15:50 -03:00
robert
9d3926a25a
Improve OTA boundary handling
2026-07-02 12:22:39 +03:00
robert
28cd3439dd
Update false-positive filtering
2026-07-02 11:12:43 +03:00
robertc2000
6fcf32f203
Merge pull request #3618 from cesanta/freertos-tcp-sock
...
Handle no pending connections in FreeRTOS TCP
2026-07-02 09:38:36 +03:00
robert
9879f4d715
Handle no pending connections in FreeRTOS TCP
2026-07-02 09:36:58 +03:00
Sergio R. Caprile
8fb3aa26cd
Merge pull request #3620 from cesanta/tests
...
simplify eth and ppp tests, add IPV6 testing for VC targets
2026-07-01 16:20:48 -03:00
Sergio R. Caprile
dfbbe5fa8b
simplify eth and ppp tests, add IPV6 testing for VC targets
2026-07-01 16:19:38 -03:00
Sergio R. Caprile
751f14742d
strenghten len checks
2026-07-01 14:13:31 -03:00
Sergio R. Caprile
8bb65c6492
Merge pull request #3619 from cesanta/rsaverify
...
delegate RSA verify to the RSA module
2026-07-01 13:01:57 -03:00
Sergio R. Caprile
f8816d67c3
delegate RSA verify to the RSA module
2026-07-01 12:31:11 -03:00
Sergio R. Caprile
d897b32c64
fix order of amalgamated headers
2026-07-01 11:53:42 -03:00
Sergio R. Caprile
f055e45755
Merge pull request #3617 from cesanta/tests
...
add C89 and bigendian tests for L2, be for MIP
2026-06-30 15:56:46 -03:00
Sergio R. Caprile
5bf953cb4a
add C89 and bigendian tests for L2, be for MIP
2026-06-30 14:37:58 -03:00
Sergio R. Caprile
8e7f5ab00e
Merge pull request #3616 from cesanta/tests
...
add tests for L2
2026-06-30 11:49:33 -03:00
Sergio R. Caprile
e5e13ff156
add tests for L2
2026-06-30 11:41:33 -03:00
Sergio R. Caprile
fdcefb087e
Merge pull request #3615 from cesanta/tests
...
fuzz 802.1Q and PPP[oE]
2026-06-29 21:22:44 -03:00
Sergio R. Caprile
699067ff58
fuzz 802.1Q and PPP[oE]
2026-06-29 17:19:27 -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
Sergio R. Caprile
848ef126a3
Merge pull request #3613 from cesanta/tests
...
add tests for MIP BSD
2026-06-26 13:45:22 -03:00
Sergio R. Caprile
80670e9ebc
add tests for MIP BSD
2026-06-26 12:31:05 -03:00
Sergio R. Caprile
b607a4209a
Update SBOM for 7.22
2026-06-25 11:11:29 -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
c288ac1f38
minor tweaks
2026-06-24 11:25:14 -03:00
Sergio R. Caprile
beb73a65a9
update version
2026-06-23 14:18:07 -03:00
Sergio R. Caprile
ba65a03ea0
update version
2026-06-23 14:03:31 -03:00
Sergio R. Caprile
3eeb5b3c08
Merge pull request #3611 from cesanta/empacho
...
assorted patches
2026-06-23 13:44:57 -03:00
Sergio R. Caprile
a9df523f76
assorted patches
2026-06-23 13:38:35 -03:00
Sergio R. Caprile
07a49a7a2d
fix for new path_is_sane treatment of nul
2026-06-23 13:38:16 -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
cpq
044fdd472f
Docstrings
2026-06-20 13:48:57 +01:00
cpq
3706742614
Better docstrings
2026-06-20 13:48:09 +01:00
cpq
9802a165df
Update agents instructions
2026-06-20 12:35:48 +01:00
Sergio R. Caprile
820c9c251c
Merge pull request #3606 from cesanta/wakeup
...
add unit test for mg_wakeup
2026-06-19 11:40:05 -03:00
Sergio R. Caprile
d60dcf846e
add unit test for mg_wakeup
2026-06-19 11:35:02 -03:00
Sergey Lyubka
9c40c0adf1
Merge pull request #3605 from cesanta/wakeup
...
Add mg_wakeup() for built-in BSD
2026-06-19 08:40:43 +01:00
Sergio R. Caprile
bb92055e87
Add mg_wakeup for BSD
2026-06-18 17:48:09 -03:00
Sergey Lyubka
a861fdf655
Merge pull request #3604 from cesanta/pico-ota-rollback
...
Add OTA rollback for Pico boards
2026-06-18 08:37:13 +01:00
Sergio R. Caprile
2b7bedd2f0
Merge pull request #3603 from cesanta/tests
...
add timebase for TLS
2026-06-17 11:24:56 -03:00
Sergio R. Caprile
282455b008
add timebase for TLS
2026-06-17 09:33:43 -03:00
robert
2b2f85781a
Add OTA rollback for Pico boards
2026-06-17 14:53:23 +03:00
cpq
cabab3d6e6
Add missing include
2026-06-16 12:03:55 +01:00
cpq
a849f052d7
Change vulnerability reporting
2026-06-16 11:37:15 +01:00
cpq
d1177f7cc0
Better device ID autodetection
2026-06-16 11:27:24 +01:00
robert
d1ea094067
Fix H5 OTA rollback
2026-06-16 10:56:36 +03:00
robert
52b9de4189
Fix ota state for F7
2026-06-15 16:58:18 +03:00
cpq
4b1306d2a5
Fix unaligned reg access
2026-06-15 12:53:01 +01:00
cpq
f85f550f16
Better detect CMSIS UID_BASE
2026-06-15 12:37:46 +01:00
Sergey Lyubka
493de5cf52
Merge pull request #3601 from cesanta/ota
...
OTA rollback nits
2026-06-13 19:56:31 +01:00
cpq
c0723249b4
OTA rollback nits
2026-06-13 19:41:13 +01:00
Sergio R. Caprile
b5b6d9c8da
Merge pull request #3600 from cesanta/tests
...
Fix some neats, add IPv6 basic testing in LAN
2026-06-12 16:38:56 -03:00
Sergio R. Caprile
2006f8302a
Fix some neats, add IPv6 basic testing in LAN
2026-06-12 16:20:39 -03:00
Sergio R. Caprile
6b589b6900
unbreak unamalgamated tests
2026-06-12 14:43:51 -03:00
Sergio R. Caprile
74a381ce04
unbreak tests
2026-06-12 14:13:33 -03:00
cpq
27d8435c9b
Start pull at 5 seconds uptime
2026-06-12 17:22:15 +01:00
Sergey Lyubka
028014ab58
Merge pull request #3599 from cesanta/free-user
...
dash: free all users
2026-06-12 14:27:34 +01:00
cpq
56388f282c
Add docstrings
2026-06-11 19:56:57 +01:00
robert
5b8057874f
dash: free all users
2026-06-11 16:20:01 +03:00
Sergio R. Caprile
a4d5a77afd
Merge pull request #3598 from cesanta/throttlebed
...
handle partial send after throttled
2026-06-11 07:51:10 -03:00
robert
90aeb6e93b
make Claude less verbose on no findings
2026-06-11 03:17:42 -04:00
Sergio R. Caprile
60aad5b343
handle partial send after throttled
2026-06-10 14:44:08 -03:00
robertc2000
e1311bf5ad
Merge pull request #3596 from cesanta/claude-pr
...
Claude PR review revamp
2026-06-10 10:21:40 +03:00
robert
d2d54b9fe5
Claude PR review revamp
2026-06-10 03:18:00 -04:00
Sergio R. Caprile
b49d2e7bdf
Merge pull request #3595 from cesanta/tests
...
Misc fixes and tbd
2026-06-09 16:52:55 -03:00
Sergio R. Caprile
aa9d19ca79
Misc fixes and tbd
2026-06-09 16:48:47 -03:00
cpq
25be25245b
Mongoose -> mongoose, add sign.js
2026-06-09 18:46:54 +01:00
cpq
b59339c275
Add OTA manager
2026-06-09 18:15:14 +01:00
robert
ce27805c24
Refactor Claude prompts
2026-06-09 08:51:35 -04:00
cpq
9350f2c251
dash nit
2026-06-09 12:25:25 +01:00
Sergey Lyubka
73f4e39b19
Merge pull request #3594 from cesanta/dash
...
Dash OTA dogfooding nits
2026-06-09 12:20:50 +01:00
cpq
27459efc61
Dash OTA dogfooding nits
2026-06-09 11:56:40 +01:00
Sergey Lyubka
86c022842f
Merge pull request #3560 from cesanta/nocert
...
allow no certs for client with (not enforced) two-way auth
2026-06-07 10:07:26 +01:00
Sergio R. Caprile
72b25b3369
Merge pull request #3593 from cesanta/tests
...
add more tests
2026-06-05 17:15:39 -03:00
Sergio R. Caprile
607454ccc5
add more tests
2026-06-05 17:11:34 -03:00
Sergio R. Caprile
c1df9929d8
Merge pull request #3592 from cesanta/fixmip
...
fix no room
2026-06-05 17:03:57 -03:00
Sergio R. Caprile
416dc7beae
fix no room
2026-06-05 16:59:44 -03:00
robert
db658918c6
update Claude workflow
2026-06-05 02:58:05 -04:00
robert
d2d1cf5f17
update prompt
2026-06-04 03:37:33 -04:00
Sergio R. Caprile
05ef7ebad9
allow no certs for client with (not enforced) two-way auth
2026-06-03 13:39:59 -03:00
Sergio R. Caprile
03afe3aeb1
make example testable
2026-06-03 11:41:24 -03:00
Sergio R. Caprile
80b381a1c6
unbreak IPv6 and its tests
2026-06-03 10:38:49 -03:00
robert
a59d89e393
Claude output json processing
2026-06-03 05:00:53 -04:00
Sergey Lyubka
b463ac0edd
Merge pull request #3561 from cesanta/ipchanges
...
close TCP connections on DHCP/SLAAC IP address changes
2026-06-03 09:01:25 +01:00
Sergey Lyubka
ad74a89352
Merge pull request #3572 from cesanta/tcpwindow
...
Honor peer TCP window
2026-06-03 09:00:55 +01:00
robert
c833c50b31
remove leftover
2026-06-03 03:24:00 -04:00
robertc2000
09cf2ae699
Merge pull request #3584 from cesanta/code-scan
...
Add codebase scanner
2026-06-02 16:42:53 +03:00
robert
d489acba5d
Add codebase scanner
2026-06-02 09:21:52 -04:00
cpq
73037880e6
Change dash auth signature
2026-06-02 14:17:49 +01:00
cpq
e923b413ae
More docstrings
2026-06-02 07:40:16 +01:00
cpq
35c1b9523f
Logs docstrings
2026-06-02 06:41:18 +01:00
Sergey Lyubka
a0732cf048
Merge pull request #3580 from cesanta/sntp
...
Export boot timestamp, update docs and examples to use it
2026-06-01 18:04:25 +01:00
cpq
5ae35e3812
Export boot timestamp, update docs and examples to use it
2026-06-01 14:35:06 +01:00
robert
d008e0a0ab
Enable Claude PR comment
2026-06-01 08:33:51 -04:00
Sergey Lyubka
987075189d
Merge pull request #3576 from cesanta/log
...
Use mg_log_set_fn instead of _write override
2026-06-01 12:06:21 +01:00
Sergey Lyubka
45cfdb88b0
Merge pull request #3575 from cesanta/bsd
...
Add BSD sockets API on top of net_builtin
2026-06-01 12:06:07 +01:00
Sergey Lyubka
c783cfade8
Merge pull request #3574 from cesanta/rollback
...
Add MG_OTA_{ROLLBACK,STATE_SET,STATE_GET}
2026-06-01 12:05:44 +01:00
cpq
13a4a4626b
Add SBOM
2026-06-01 11:45:47 +01:00
cpq
d9c5a02f93
README
2026-06-01 11:13:57 +01:00
cpq
f2fcf0eb94
Inline some docs into .h
2026-05-31 17:41:58 +01:00
cpq
1cb02874d9
Update
2026-05-31 15:58:49 +01:00
cpq
2498699af9
Claim context7 entry
2026-05-31 15:47:41 +01:00
cpq
ee9482b922
Move AGENTS.md to the repo root
2026-05-31 15:37:11 +01:00
cpq
ad8929e703
Use mg_log_set_fn instead of _write override
2026-05-31 11:28:51 +01:00
cpq
67f249c58a
Add MG_OTA_{ROLLBACK,STATE_SET,STATE_GET}
2026-05-31 11:02:38 +01:00
cpq
6089f301de
Add BSD sockets API for net_builtin
2026-05-31 10:00:52 +01:00
cpq
a6452f5311
Fix uploads
2026-05-29 19:47:52 +01:00
cpq
5b69d0d4f1
Update AI spec
2026-05-29 18:40:35 +01:00
cpq
ab5bca7410
Update AI spec
2026-05-29 18:38:34 +01:00
cpq
e243e9701d
Add CLAUDE.md
2026-05-29 15:37:25 +01:00
Sergio R. Caprile
a7621de91a
Merge pull request #3557 from cesanta/ifpstates
...
rename ifp state change event
2026-05-29 10:50:22 -03:00
Sergio R. Caprile
c62f8b4e93
rename ifp state change event
2026-05-29 10:45:41 -03:00
Sergio R. Caprile
93eca46de7
add TCP tx sliding window
2026-05-29 10:17:47 -03:00
robertc2000
0ecbb62630
Merge pull request #3573 from cesanta/dash-valgrind
...
dash: free user structures
2026-05-29 14:02:51 +03: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
robertc2000
12cb7c1bc2
Merge pull request #3570 from cesanta/code-review
...
Add PR scan with Claude
2026-05-29 11:34:06 +03:00
robert
b8a81407d3
Add PR scan with Claude
2026-05-29 04:32:52 -04:00
cpq
621f893bbc
Unify upload API
2026-05-29 07:35:31 +01:00
Sergio R. Caprile
a6ed444d0e
Merge pull request #3567 from cesanta/ca
...
Add secp384r1
2026-05-28 12:28:37 -03:00
cpq
5e4c5a4d13
Add secp384r1, fix memory leaks in #3566
2026-05-28 12:27:50 -03:00
Sergey Lyubka
26c48459a5
Merge pull request #3566 from cesanta/certbundle
...
Add CA bundle parsing for TLS clients
2026-05-28 14:50:54 +01:00
Sergey Lyubka
f031aded5a
Merge pull request #3568 from cesanta/sig
...
Add firmware signing and verification
2026-05-28 10:40:20 +01:00
cpq
bbcda0c9af
Add firmware signing and verification
2026-05-28 10:39:45 +01:00
Sergey Lyubka
8012a5943a
Merge pull request #3565 from cesanta/lfs
...
Add LFS support layer and nucleo-h563zi/minimal-lfs example
2026-05-28 00:35:38 +01:00
Sergio R. Caprile
a84ac510b1
Add CA bundle parsing for TLS clients
2026-05-27 17:29:38 -03:00
Sergio R. Caprile
0e5bbcd937
Merge pull request #3556 from cesanta/mbed2
...
Mbed2
2026-05-27 11:25:18 -03:00
cpq
4bc755045e
Remove MG_IO_RESET
2026-05-27 15:23:56 +01:00
cpq
a29a8ada40
Fix #2694
2026-05-27 14:25:41 +01:00
cpq
d7683ddb60
Add nucleo-h563zi/minimal-lfs
2026-05-27 13:18:01 +01:00
cpq
c8b3659260
Further tls_rsa nits
2026-05-27 07:20:28 +01:00
Sergey Lyubka
83c046e4f4
Merge pull request #3564 from cesanta/bear
...
Switch bigint to bearssl implementation
2026-05-26 16:10:36 +01:00
cpq
4bc1fe3f21
Switch bigint to bearssl implementation
2026-05-26 16:02:24 +01:00
Sergio R. Caprile
67ca595024
Merge pull request #3563 from cesanta/ql
...
update CodeQL job
2026-05-26 10:47:20 -03:00
Sergio R. Caprile
d36afb67b8
update CodeQL job
2026-05-26 10:33:08 -03:00
cpq
911fad4be9
Update uploads
2026-05-25 10:22:49 +01:00
Sergey Lyubka
0a3db82e0f
Merge pull request #3562 from cesanta/st
...
stm32 examples revamp
2026-05-22 15:43:06 +01:00
cpq
21b9cdaef7
stm32 examples revamp
2026-05-22 15:39:25 +01:00
Sergio R. Caprile
7a74f5ada1
close TCP connections on DHCP/SLAAC IP address changes
2026-05-22 11:14:45 -03:00
Sergey Lyubka
d4013e47f9
Merge pull request #3559 from cesanta/stm32-examples-2
...
More STM32 examples
2026-05-22 14:22:36 +01:00
robert
91e9da0069
More STM32 examples
2026-05-22 06:46:04 -04:00
Sergey Lyubka
d003d280d8
Merge pull request #3550 from cesanta/arch2os
...
FreeRTOS: arch_ -> os_
2026-05-22 08:47:07 +01:00
Sergey Lyubka
b0ba62bd48
Merge pull request #3558 from cesanta/rp
...
Revamp rp examples
2026-05-22 08:45:57 +01:00
cpq
83ba170b45
Revamp rp examples
2026-05-22 08:40:58 +01:00
Sergey Lyubka
948b56a3ec
Merge pull request #3553 from cesanta/stm32-examples
...
Add STM32 examples
2026-05-21 11:42:12 +01:00
robert
04660c9734
Add STM32 examples
2026-05-21 06:35:03 -04:00
Sergey Lyubka
458de576c3
Merge pull request #3555 from cesanta/rp-examples
...
Add RP examples
2026-05-21 09:20:22 +01:00
cpq
4bf5c3bd9c
Elevate permissions on make clean only when needed
2026-05-21 09:16:40 +01:00
robert
ee8c6e9bb6
Add RP examples
2026-05-21 03:21:16 -04:00
Sergio R. Caprile
3f1ae66a3d
FreeRTOS: arch_ -> os_
2026-05-20 13:35:24 -03:00
Sergio R. Caprile
87a0aa057d
Merge pull request #3536 from cesanta/alerts
...
process TLS alerts
2026-05-20 09:42:11 -03:00
Sergey Lyubka
668bccaf3e
Merge pull request #3554 from cesanta/rp
...
RP boards - not using wizard
2026-05-20 13:41:03 +01:00
cpq
ccd3514da3
RP boards
2026-05-20 13:40:48 +01:00
Sergio R. Caprile
2333ed24c1
Merge pull request #3548 from cesanta/s_link
...
Fix s_link duplicate
2026-05-20 09:39:38 -03:00
Sergio R. Caprile
6128d583f0
Merge pull request #3547 from cesanta/arch-cube-cyw
...
MG_ARCH_CUBE detection for WiFi drivers
2026-05-20 09:37:17 -03:00
cpq
b773e33f4e
Fix #3545
2026-05-20 07:26:13 +01:00
Sergey Lyubka
04ca25e4d8
Merge pull request #3551 from cesanta/levels
...
Dash levels
2026-05-20 07:15:58 +01:00
cpq
1536b6a38b
Dash levels
2026-05-20 07:05:28 +01:00
robert
1963f0bdeb
MG_ARCH_CUBE detection for WiFi drivers
2026-05-19 10:29:24 -04:00
robert
c113922e19
Fix s_link duplicate
2026-05-19 08:31:15 -04: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
Sergio R. Caprile
71a7b3e092
Merge pull request #3546 from cesanta/cleanup
...
remove deprecated field in conn_state
2026-05-18 16:52:23 -03:00
Sergio R. Caprile
4bce19b13e
remove deprecated field in conn_state
2026-05-18 16:41:20 -03:00
Sergio R. Caprile
1f41e9d4b3
Merge pull request #3543 from cesanta/chain
...
Add cert chain support for OpenSSL
2026-05-18 14:39:19 -03:00
cpq
2bd13458f5
Read events at once
2026-05-18 18:29:48 +01:00
cpq
ce20dafcfd
Add events example
2026-05-18 18:07:22 +01:00
Sergio R. Caprile
9c77903c1a
Merge pull request #3544 from cesanta/profile
...
disable ifc profiling wip code, fix debug leftovers
2026-05-18 09:52:48 -03:00
Sergio R. Caprile
fd1cf73762
disable ifc profiling wip code, fix debug leftovers
2026-05-18 09:38:41 -03:00
cpq
7c03f972df
OpenSSL chain
2026-05-18 11:34:19 +01:00
cpq
ce1a7181a3
pico2_w
2026-05-18 10:38:59 +01:00
cpq
af54beffa9
Update READMEs
2026-05-17 17:09:27 +01:00
cpq
4be0cdeee7
Add dirs target
2026-05-17 16:57:28 +01:00
cpq
c89d19ceba
Update CubeMX READMEs
2026-05-17 16:39:53 +01:00
cpq
6556ee99a3
Downloads
2026-05-17 12:53:15 +01:00
cpq
1d373ce53e
Add nucleo_f429zi
2026-05-15 19:49:22 +01:00
cpq
592d0e2790
Add tutorials
2026-05-15 19:13:27 +01:00
cpq
a6f08e0576
Fix URL
2026-05-15 14:16:39 +01:00
cpq
e449c1b3f0
Disable login
2026-05-15 14:13:31 +01:00
Sergio R. Caprile
e7a1e580a2
process TLS alerts
2026-05-14 13:42:18 -03:00
Sergio R. Caprile
b3b52b5eba
Merge pull request #3534 from cesanta/mqtt-cast-2
...
fix mqtt cast error
2026-05-14 10:10:04 -03:00
robert
35693f7780
fix mqtt cast error
2026-05-14 02:55:12 -04:00
cpq
4b2c137c5f
Fix edit/cancel paths
2026-05-13 18:34:55 +01:00
Sergio R. Caprile
ca86f70152
Merge pull request #3532 from cesanta/gratarp
...
Add gratuitous ARP and NA on READY
2026-05-13 10:28:27 -03:00
cpq
7ab79669ef
Update downloads
2026-05-12 13:29:04 +01:00
cpq
e56f6987f4
Typo fix
2026-05-12 12:32:46 +01:00
cpq
891cf0ea92
Add init.sh
2026-05-12 11:23:10 +01:00
cpq
860ddf71ab
MX pack 7.21.7
2026-05-12 11:08:11 +01:00
cpq
77b6bfbc6f
Cube pack nits
2026-05-11 09:23:41 +01:00
cpq
f8ae26651e
Better description
2026-05-10 15:22:52 +01:00
cpq
e0fcd513db
More info for dashboard
2026-05-10 15:04:57 +01:00
cpq
759462ad73
7.21.6
2026-05-10 13:10:51 +01:00
cpq
961a6f0a46
Enhance cube package
2026-05-10 12:48:00 +01:00
Sergio R. Caprile
d530706219
Add gratuitous ARP and NA on READY
2026-05-08 14:18:21 -03:00
cpq
91715b380d
Fix warnings
2026-05-08 18:14:46 +01:00
Sergio R. Caprile
c35a43acc7
Merge pull request #3527 from cesanta/mqtt-cast
...
Fix casting issue in MQTT parsing
2026-05-08 13:07:47 -03:00
robert
d44b9b9adf
Fix casting issue in MQTT parsing
2026-05-07 09:30:03 -04:00
cpq
eee8c7077c
Stack/heap size
2026-05-06 10:48:58 +01:00
cpq
9650e61fbe
Dash nits
2026-05-05 23:45:40 +01:00
cpq
353bde811d
Add iocs
2026-05-05 19:49:24 +01:00
Sergio R. Caprile
1228e8f620
unbreak tests, MG_TLS _must_ be defined in CFLAGS_EXTRA to allow being overwritten, as documented
2026-05-05 13:38:17 -03:00
cpq
cff27a72c5
Squash warning
2026-05-05 13:36:01 +01:00
cpq
17a61a28e0
Update pack
2026-05-05 13:34:34 +01:00
cpq
4938712afd
Update dash
2026-05-05 12:29:02 +01:00
cpq
7c88072489
files -> fs
2026-05-04 19:58:49 +01:00
cpq
01aeaa207c
Add OTA UI
2026-05-03 10:29:16 +01:00
cpq
5a2e42ae25
Untie dash.c from packed fs
2026-05-03 08:40:24 +01:00
cpq
c9f89166f4
Use CDN
2026-05-03 08:31:47 +01:00
cpq
aee72b3fbf
Dash updates
2026-05-03 08:30:16 +01:00
cpq
0c296a17f8
Optimise repeat processing
2026-05-02 07:14:40 +01:00
cpq
c937144b65
Add specs
2026-05-01 16:02:27 +01:00
cpq
215d0ea963
Update spec file
2026-05-01 15:27:09 +01:00
cpq
3cd0e25333
docs
2026-05-01 14:06:01 +01:00
cpq
57a41f5824
Update minimal
2026-05-01 13:52:47 +01:00
cpq
59f9b36ddd
Dash updates
2026-05-01 13:12:51 +01:00
cpq
c5b74babab
Processing selects & numeric inputs
2026-04-30 15:10:02 +01:00
cpq
97c53ec5a6
Add AI spec
2026-04-29 11:53:19 +01:00
cpq
7a21199d4a
Add device-dashboard/minimal
2026-04-29 09:45:41 +01:00
cpq
5925bf7ea5
Fix C++ warnings
2026-04-29 09:32:00 +01:00
cpq
1045635d81
Device dashboard refactoring
2026-04-29 09:22:19 +01:00
cpq
609a0bd905
Remove union mg_val
2026-04-27 15:50:58 +01:00
cpq
7e26bba8a9
Add source code link
2026-04-27 15:07:40 +01:00
cpq
edd2d06627
Add inline and watch helper scripts
2026-04-27 09:25:29 +01:00
cpq
e21f5ab6c7
style nits
2026-04-26 09:16:05 +01:00
cpq
cab8ccddea
Added dev notes
2026-04-26 08:54:02 +01:00
cpq
b43988ad20
Online/offline status
2026-04-26 07:30:27 +01:00
cpq
573bc152b1
Add file manager
2026-04-26 01:58:12 +01:00
cpq
8534053e57
Event log
2026-04-25 09:37:09 +01:00
cpq
90051642ef
Style nits
2026-04-25 02:31:23 +01:00
cpq
907c8c9037
Pack nits
2026-04-25 02:31:04 +01:00
cpq
3eb38aeb4f
Add MQTT module to STM32 pack
2026-04-24 08:13:21 +01:00
cpq
4a5d2f04b3
Split pack on modules
2026-04-23 14:39:29 +01:00
cpq
d73452cc8a
Making non-versioned pack, too
2026-04-22 17:25:55 +01:00
cpq
d1848c0ae3
Shipping dashboard in the pack
2026-04-22 17:22:13 +01:00
cpq
d1f312236a
Move SubeMX pack creation
2026-04-22 14:07:55 +01:00
cpq
402096798a
Remove points
2026-04-21 17:00:47 +01:00
Sergio R. Caprile
70d45a19ae
unbreak tutorial
2026-04-21 11:40:46 -03:00
cpq
d235ecc280
Add dropdown
2026-04-21 14:45:51 +01:00
cpq
06b864c328
Refactor field / fieldsets
2026-04-21 14:24:25 +01:00
Sergio R. Caprile
a160aa6e5f
unbreak tests
2026-04-20 15:50:05 -03:00
Sergio R. Caprile
f16efb7e06
Merge pull request #3485 from cesanta/eth_ram
...
Add MG_ETH_RAM to MG_ARCH_CUBE
2026-04-20 14:50:44 -03:00
cpq
5fd76013cd
Panels
2026-04-20 12:29:44 +01:00
cpq
423f3291da
Graph nits
2026-04-20 11:51:40 +01:00
cpq
b381fdc790
Fix vc98 test
2026-04-20 10:58:55 +01:00
cpq
5163d8a1c7
Panel fix
2026-04-20 10:55:18 +01:00
cpq
8030f8f8b5
Graph fixes
2026-04-20 10:47:49 +01:00
robertc2000
4b01dc1a78
Merge pull request #3500 from cesanta/ota-url-check
...
Add OTA url check
2026-04-20 11:31:26 +03:00
robert
52144d12f0
Add OTA url check
2026-04-20 04:19:09 -04:00
cpq
53d5755014
Remove purge
2026-04-20 06:53:18 +01:00
cpq
85d0810cbc
${} evaluations
2026-04-20 06:39:50 +01:00
cpq
f74f450dd1
Dont use math, fix tests
2026-04-19 09:54:37 +01:00
cpq
648716f600
Fix tests
2026-04-19 09:36:11 +01:00
cpq
84a1877933
Fix tests
2026-04-19 09:25:09 +01:00
cpq
f7b74fec40
Fix tests
2026-04-19 09:23:34 +01:00
cpq
21e4562e03
Fix tests
2026-04-19 09:20:54 +01:00
cpq
f564526088
Fix tests
2026-04-19 09:18:50 +01:00
cpq
bb3bdd5189
Add brew monolith
2026-04-19 09:17:02 +01:00
cpq
bd7d295ea8
Rename binary to example to make unit tests pass
2026-04-19 09:10:04 +01:00
cpq
8e3c8bf61f
Add graph and control panel
2026-04-19 08:58:14 +01:00
cpq
b68da7f759
Tiles
2026-04-19 08:12:30 +01:00
cpq
56716b5eba
Nit refactor
2026-04-19 07:31:04 +01:00
cpq
18c5b0c277
nit
2026-04-18 13:56:34 +01:00
cpq
e304a27b0d
Add device-dashboard
2026-04-18 13:07:08 +01:00
cpq
5e01ae0c93
Add resources/{pack.js,dashboard.js}
2026-04-18 10:50:01 +01:00
cpq
548c2febec
Keep struct mg_dash
2026-04-18 05:55:34 +01:00
cpq
06a9f71b1e
Change signature
2026-04-18 05:39:42 +01:00
cpq
f123bf3154
Fix C++ build
2026-04-17 22:13:40 +01:00
cpq
31568de0fb
Add check
2026-04-17 14:43:21 +01:00
cpq
18464b1c89
Add mg_dash_ev_handler
2026-04-17 10:27:45 +01:00
cpq
32da43a758
Export mg_dash_sync
2026-04-17 10:04:40 +01:00
cpq
5683677e68
Dash
2026-04-15 23:29:22 +01:00
cpq
e4f0a0df76
String handling
2026-04-15 23:22:24 +01:00
cpq
f31ae9268e
Dashboard support
2026-04-15 12:56:06 +01:00
Sergey Lyubka
be8766a619
Merge pull request #3506 from cesanta/d2
...
Dashboard support
2026-04-15 12:19:46 +01:00
cpq
7b5adaa6b2
Dashboard support
2026-04-15 11:56:05 +01:00
Sergio R. Caprile
1be11a981c
Merge pull request #3497 from cesanta/certs
...
Use test/certs
2026-04-14 17:03:28 -03:00
cpq
cd08a2b093
Use test/certs
2026-04-14 17:01:44 -03:00
Sergio R. Caprile
4b7b72770c
fix packed current usage
2026-04-14 16:41:53 -03:00
Sergio R. Caprile
f9b2bb40e8
Merge pull request #3504 from cesanta/resolve.local
...
Add optional mDNS resolver
2026-04-14 16:39:32 -03:00
Sergio R. Caprile
b12ca26197
Add optional mDNS resolver
2026-04-13 15:41:08 -03:00
Sergio R. Caprile
c99dd7e347
Merge pull request #3503 from cesanta/revert-3499-putchar
...
Revert "Use putchar only on POSIX fs"
2026-04-09 14:43:59 -03:00
Sergio R. Caprile
fea0f022eb
Revert "Use putchar only on POSIX fs"
2026-04-09 13:53:45 -03:00
Sergio R. Caprile
d3ba8d8931
Merge pull request #3502 from cesanta/neats
...
remove deprecated macro
2026-04-09 10:15:55 -03:00
Sergio R. Caprile
53a40546bb
remove deprecated macro
2026-04-09 09:58:06 -03:00
cpq
988b282f2b
Fix build
2026-04-08 07:06:26 +01:00
Sergio R. Caprile
1bdaf4e8e2
Merge pull request #3499 from cesanta/putchar
...
Use putchar only on POSIX fs
2026-04-07 15:19:21 -03:00
cpq
c7d7aeb143
Use putchar only on POSIX fs
2026-04-07 18:38:47 +01:00
Sergey Lyubka
86cd59387f
Merge pull request #3498 from cesanta/irq
...
Fix MG_ENABLE_ETH_IRQ
2026-04-07 18:35:30 +01:00
cpq
212585684e
Fix MG_ENABLE_ETH_IRQ
2026-04-07 15:31:40 +01:00
Sergey Lyubka
60e98e77b9
Merge pull request #3482 from cesanta/modbus
...
Add modbus-tcp support
2026-04-06 09:28:31 +01:00
Sergey Lyubka
2740eed84e
Merge pull request #3494 from cesanta/rtsp
...
Add RTSP example
2026-04-06 09:26:59 +01:00
cpq
d67b30aba3
Add modbus-tcp support
2026-04-06 03:54:58 -04:00
cpq
676db01d73
Add link-checker example
2026-04-06 07:58:41 +01:00
Sergey Lyubka
02e01f90b9
Merge pull request #3481 from cesanta/spi
...
unify SPI helper APIs
2026-04-03 11:39:33 +01:00
Sergey Lyubka
343cfa284f
Merge pull request #3489 from cesanta/opt54
...
Honor lease owner
2026-04-03 11:28:32 +01:00
cpq
63318a7e48
Add RTSP example
2026-04-03 09:51:35 +01:00
Sergio R. Caprile
6a25e3fb58
Merge pull request #3493 from cesanta/tcp
...
add tests for TCP RST handling
2026-04-02 16:33:59 -03:00
Sergio R. Caprile
b48ea36192
add tests for TCP RST handling
2026-04-02 15:43:14 -03:00
Sergio R. Caprile
acb3f39e83
Merge pull request #3492 from cesanta/nitfix
...
misc nit fixes for nit compilers
2026-04-02 15:38:46 -03:00
Sergio R. Caprile
14835cd32e
misc nit fixes for nit compilers
2026-04-02 14:55:07 -03:00
Sergio R. Caprile
4ff5b602cb
Merge pull request #3479 from cesanta/vlans
...
Add support for 802.1Q VLANs
2026-04-01 15:36:49 -03:00
Sergio R. Caprile
caa84f048d
Add support for 802.1Q VLANs
2026-04-01 15:31:54 -03:00
Sergio R. Caprile
1d4ef08e6a
Add L2 PPP and PPPoE
2026-04-01 15:10:55 -03:00
Sergio R. Caprile
d8a5bc5907
Merge pull request #3478 from cesanta/ipv6cp
...
improve IPCP, add IPV6CP and support for IPv6 over PPP[oE]
2026-04-01 15:08:18 -03:00
Sergio R. Caprile
1c7be6d543
improve IPCP, add IPV6CP and support for IPv6
2026-04-01 14:50:00 -03:00
Sergio R. Caprile
ba47e29c28
Add L2 PPP and PPPoE
2026-04-01 14:50:00 -03:00
Sergio R. Caprile
b491b7c624
Add L2 PPP and PPPoE
2026-04-01 14:50:00 -03:00
Sergio R. Caprile
5fe46f7796
Merge pull request #3466 from cesanta/l2
...
Add L2 PPP and PPPoE
2026-04-01 14:49:24 -03:00
Sergio R. Caprile
70650fedcf
Add L2 PPP and PPPoE
2026-04-01 14:39:28 -03: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
a1e8a0e435
Merge pull request #3480 from cesanta/san6
...
add IPv6 SAN
2026-04-01 14:35:32 -03:00
Sergio R. Caprile
ce23baca7d
add IPv6 SAN
2026-04-01 14:21:42 -03:00
Sergio R. Caprile
d4212ab282
unify SPI helper APIs
2026-04-01 14:11:35 -03:00
Sergio R. Caprile
47f3c94465
Honor lease owner
2026-04-01 13:44:12 -03:00
Sergio R. Caprile
b1c2ffe1a0
Merge pull request #3488 from cesanta/fut
...
fix unit tests
2026-04-01 11:05:28 -03:00
Sergio R. Caprile
9210a762de
fix unit tests
2026-04-01 10:30:59 -03:00
Sergio R. Caprile
1620110f50
update version
2026-04-01 08:59:46 -03:00
Sergio R. Caprile
0d882f1b43
patch
2026-03-31 17:38:04 -03:00
cpq
390e2a84be
Add MG_ETH_RAM to MG_ARCH_CUBE
2026-03-28 22:23:09 +00:00
cpq
4f3d6d064c
Make packed fs always available, and manually settable
2026-03-27 11:24:07 -03:00
Sergio R. Caprile
1bb85799ce
fix Makefile
2026-03-25 16:20:01 -03:00
Sergio R. Caprile
12207edd55
Merge pull request #3476 from cesanta/revert-3474-mem
...
Revert "Make packed fs always available, and manually settable"
2026-03-24 16:24:03 -03:00
Sergio R. Caprile
bb37f72a63
Revert "Make packed fs always available, and manually settable"
2026-03-24 16:23:11 -03:00
Sergio R. Caprile
b852e0f8c3
Merge pull request #3474 from cesanta/mem
...
Make packed fs always available, and manually settable
2026-03-24 16:22:33 -03:00
cpq
25dc078af7
Make packed fs always available, and manually settable
2026-03-24 15:03:22 -03:00
Sergio R. Caprile
06f525713f
Merge pull request #3473 from cesanta/tests
...
update tests
2026-03-23 11:45:14 -03:00
Sergio R. Caprile
05ade0ba3c
update tests
2026-03-23 11:44:24 -03:00
Sergio R. Caprile
ec91eaf0f3
Merge pull request #3472 from cesanta/wifi
...
update WiFi security definitions
2026-03-20 17:19:25 -03:00
Sergio R. Caprile
8392b9407a
update WiFi security definitions
2026-03-20 17:14:38 -03:00
Sergio R. Caprile
60fe567845
Merge pull request #3470 from cesanta/zephyr
...
fix zephyr tests
2026-03-16 16:30:11 -03:00
Sergio R. Caprile
02e83c77a4
fix zephyr tests
2026-03-16 16:08:34 -03:00
novlean
538a1a9bfa
Merge pull request #3469 from cesanta/novlean-patch-1
...
Add lwIP vs Mongoose benchmark article link
2026-03-16 14:11:02 +00:00
novlean
862fbd0abc
Add lwIP vs Mongoose benchmark article link
...
article
2026-03-16 14:10:46 +00:00
Sergio R. Caprile
2121be1abe
Merge pull request #3449 from cesanta/mdns
...
Obtain IP adress for MDNS automatically
2026-03-13 13:57:14 -03:00
cpq
0c794f19d2
Obtain IP adress for MDNS automatically
2026-03-13 13:47:25 -03:00
Sergio R. Caprile
44ef3b43d2
Merge pull request #3465 from cesanta/volatile
...
Add volatile to make MIP work on Diab 4.3 for PowerPC
2026-03-12 14:16:40 -03:00
cpq
d27e7b3e7e
Add volatile to make MIP work with Diab 4.3 on PPC
2026-03-12 13:45:15 -03:00
robertc2000
f0d1800c6b
Merge pull request #3462 from cesanta/http-zero-content-len
...
Content-length not required if request body is empty
2026-03-12 15:40:30 +02:00
robert
81b61d335f
Content-length not required if request body is empty
2026-03-12 05:54:21 -04:00
Sergey Lyubka
70f14336f1
Merge pull request #3458 from cesanta/mdnsc
...
Introduce new mDNS API, add mDNS client example
2026-03-10 19:38:34 +00:00
Sergio R. Caprile
19ea5aba43
Merge pull request #3459 from cesanta/st67w6
...
Introduce ST67W6 driver
2026-03-09 09:50:19 -03:00
Sergio R. Caprile
2a7fa4cb68
Introduce new mDNS API, add mDNS client example
2026-03-06 11:27:22 -03:00
Sergio R. Caprile
3d094ec921
Introduce ST67W6 driver
2026-03-06 09:05:37 -03:00
Sergio R. Caprile
abe19d2367
Merge pull request #3457 from cesanta/cleanup
...
cleanup source and add some more IPV6 tests
2026-03-03 11:00:56 -03:00
Sergio R. Caprile
2b408e85e9
cleanup source and add some more IPV6 tests
2026-03-03 10:19:52 -03:00
Sergey Lyubka
27897d5514
Merge pull request #3451 from cesanta/dns
...
add entropy to DNS txnid
2026-03-02 09:38:51 +00:00
cpq
dfcfdfd0f7
fix email
2026-02-26 14:49:48 +00:00
Sergio R. Caprile
ec032181c6
add entropy to DNS txnid
2026-02-25 11:35:30 -03:00
Sergey Lyubka
1cc6a48eea
Merge pull request #3441 from cesanta/certs
...
Update http-server to load certs from files
2026-02-23 13:50:33 +00:00
cpq
17b4054ea5
Update http-server to load certs from files
2026-02-16 15:45:20 +00:00
Sergio R. Caprile
0ec11128f7
enable Mac WolfSSL tests
2026-02-16 09:38:24 -03:00
Sergio R. Caprile
ed0423f79d
Merge pull request #3440 from leopoldch/fix/wolfssl-ca-loading
...
tls: fix WolfSSL CA certificate buffer loading
2026-02-16 09:21:45 -03:00
Léopold Chappuis
ba69eb248c
tls: fix WolfSSL CA certificate buffer loading
2026-02-13 22:34:13 -05:00
Sergio R. Caprile
eefec28b50
Merge pull request #3429 from cesanta/w55rp20
...
add W55RP20 example
2026-02-13 08:34:48 -03:00
novlean
564c352d0c
Merge pull request #3437 from cesanta/novlean-patch-1
...
Add NXP RW612 OTA Firmware Update link to README
2026-02-11 14:38:37 +00:00
novlean
d20eb8b280
Add NXP RW612 OTA Firmware Update link to README
...
NXP OTA article
2026-02-11 14:38:23 +00:00
Sergio R. Caprile
cc617d537d
Merge pull request #3436 from cesanta/redirect
...
provide local info, fix redirect example
2026-02-09 14:51:03 -03:00
Sergio R. Caprile
205d4c6832
provide local info, fix redirect example
2026-02-09 14:42:31 -03:00
robertc2000
18cea946f1
Merge pull request #3435 from cesanta/mqttprop-fix
...
Improve mqtt props bound checks
2026-02-09 13:11:11 +02:00
robert
0884338b2a
Improve mqtt props bound checks
2026-02-09 04:54:58 -05:00
Sergey Lyubka
ba768693ed
Merge pull request #3432 from cesanta/fuzzbound
...
validate props, fuzz them
2026-02-06 15:39:14 +00:00
Sergey Lyubka
3170261876
Merge pull request #3431 from cesanta/renesas
...
fix RA6M4
2026-02-06 15:36:47 +00:00
Sergio R. Caprile
2d7e8aa712
validate props, fuzz them
2026-02-06 10:53:25 -03:00
Sergio R. Caprile
c083f204fc
fix RA6M4
2026-02-05 15:14:18 -03:00
Sergio R. Caprile
e83e13d8c6
add W55RP20 example
2026-02-05 10:45:27 -03:00
Sergio R. Caprile
70d268d95f
Merge pull request #3428 from cesanta/teeleese
...
Fix long standing certverify failure TLS bug
2026-02-03 15:55:28 -03:00
Sergio R. Caprile
71f5556de7
standardize Makefile
2026-02-03 15:41:47 -03:00
Sergio R. Caprile
8c64266f95
Fix long standing certverify failure TLS bug
2026-02-03 15:26:38 -03:00
cpq
124b4e93c7
Switch off buffering
2026-02-02 09:56:07 +00:00
cpq
e01eeed303
update
2026-02-02 08:04:39 +00:00
cpq
4b3cfb4bc0
update
2026-02-02 08:03:55 +00:00
cpq
e5dfbec36d
update
2026-02-02 08:03:28 +00:00
cpq
be1587a933
update
2026-02-02 08:03:09 +00:00
cpq
3e87f18a29
update
2026-02-02 08:02:36 +00:00
cpq
2214cf66a4
update
2026-02-02 08:02:09 +00:00
cpq
7b886ccbde
update
2026-02-02 08:01:22 +00:00
cpq
b69b288d6c
better clean
2026-02-01 13:21:00 +00:00
cpq
37fe251d31
Update readme
2026-01-31 13:22:37 +00:00
Sergio R. Caprile
5ec7ec141a
Merge pull request #3427 from cesanta/tests
...
split nightly tests, fix some
2026-01-30 14:00:07 -03:00
Sergio R. Caprile
e31079e107
split nightly tests, fix some
2026-01-30 13:58:04 -03:00
Sergio R. Caprile
1701fb0d03
Merge pull request #3425 from cesanta/vc98
...
Make built-in TLS c89-friendly
2026-01-30 12:46:59 -03:00
cpq
f2ce01641e
Make built-in TLS vc98-friendly
2026-01-30 11:40:26 -03:00
Sergio R. Caprile
b5e4eef966
Merge pull request #3424 from cesanta/tls
...
Read out all pending TLS data
2026-01-30 11:25:17 -03:00
cpq
b93822fc50
Read out all pending TLS data
2026-01-30 10:54:06 -03:00
Sergio R. Caprile
715f98c546
Merge pull request #3426 from cesanta/checksum
...
Add checksum validation
2026-01-28 13:26:00 -03:00
Sergio R. Caprile
b1878dc9d0
Add checksum validation
2026-01-28 13:14:48 -03:00
Sergey Lyubka
fe8cf7d9d6
Merge pull request #3423 from cesanta/singleton
...
Add http singleton client example
2026-01-28 14:50:27 +00:00
cpq
5fa6b0a6ef
Add http singleton client example
2026-01-28 14:33:34 +00:00
Sergey Lyubka
d3ab638e5d
Merge pull request #3422 from cesanta/redir
...
Add http redirect example
2026-01-28 14:29:24 +00:00
cpq
44e773af54
Add http redirect example
2026-01-28 10:29:46 +00:00
Sergio R. Caprile
ece3f43f34
Merge pull request #3421 from cesanta/becksum
...
Becksum
2026-01-27 10:40:30 -03:00
Sergio R. Caprile
edd1350864
make tests big-endian- and Docker-friendly
2026-01-27 10:32:50 -03:00
Sergio R. Caprile
8e0ef3ca5c
rewrite L4 checksum calculation
2026-01-27 10:32:50 -03:00
Sergio R. Caprile
b74913ded5
Merge pull request #3418 from cesanta/down
...
Fast fail mg_connect() if network is down
2026-01-27 09:50:54 -03:00
Sergio R. Caprile
42abbb7e55
Merge pull request #3417 from cesanta/ota
...
Add OTA over mqtt example
2026-01-27 09:01:56 -03:00
cpq
a4869febf6
Add OTA over mqtt example
2026-01-27 10:51:37 +00:00
cpq
b10355a536
Fast fail mg_connect() if network is down
2026-01-27 10:46:42 +00:00
cpq
e86d4da129
Export mg_pfn_iobuf_noresize
2026-01-24 11:32:32 +00:00
cpq
46ad050cea
Less noisy tls_builtin
2026-01-23 06:47:39 +00:00
robertc2000
2a7cf8d5a7
Merge pull request #3416 from cesanta/tests-xq
...
install xq
2026-01-22 16:39:33 +02:00
robert
07fd086230
install xq
2026-01-22 09:15:33 -05:00
Sergio R. Caprile
f040d094ea
Merge pull request #3414 from cesanta/addnochacha
...
add test for no chacha20
2026-01-21 15:08:05 -03:00
Sergio R. Caprile
f101d1422a
add test for no chacha20
2026-01-21 15:06:24 -03:00
Sergio R. Caprile
6631c5db87
Merge pull request #3413 from cesanta/fixbe
...
fix one too many checks in chacha20
2026-01-21 14:51:03 -03:00
Sergio R. Caprile
c429a0dc56
fix one too many checks in chacha20
2026-01-21 14:42:55 -03:00
Sergio R. Caprile
3f59974639
Merge pull request #3412 from cesanta/unbreak
...
unbreak stuff after last commit
2026-01-20 18:58:12 -03:00
Sergio R. Caprile
c10a88b64b
unbreak stuff after last commit
2026-01-20 18:40:36 -03:00
cpq
d5e5b3397d
Add RSA & chain support
2026-01-20 18:23:58 +00:00
Sergio R. Caprile
ab83acf2d1
Merge pull request #3411 from cesanta/rndvc98
...
Fix rnd stuff in vc98 image
2026-01-16 10:47:26 -03:00
Sergio R. Caprile
1db25117b0
Fix rnd stuff in vc98 image
2026-01-16 10:27:13 -03:00
novlean
bd1271dd41
Merge pull request #3410 from cesanta/novlean-patch-1
...
Add STM32 Ethernet and caches article link
2026-01-15 13:42:12 +00:00
novlean
5dddbb3fce
Add STM32 Ethernet and caches article link
...
new article
2026-01-15 13:42:00 +00:00
Sergio R. Caprile
a28decbef4
Merge pull request #3409 from cesanta/eseenetepe
...
Allow more than 1 address in received DHCP options
2026-01-14 17:40:25 -03:00
Sergio R. Caprile
73d9c125c0
Allow more than 1 address in received DHCP options
2026-01-14 17:30:48 -03:00
Sergio R. Caprile
667abfb5e1
disable failing tests (issues created)
2026-01-14 16:59:24 -03:00
Sergey Lyubka
8c65c2f9af
Merge pull request #3407 from cesanta/unsub
...
Add mg_mqtt_unsub()
2026-01-14 11:17:50 +00:00
cpq
f36205e65f
Add mg_mqtt_unsub()
2026-01-14 04:36:50 -05:00
Sergio R. Caprile
e2c0b2b477
Merge pull request #3406 from cesanta/reserved
...
allow creative usage of TCP reserved space in 'flags'
2026-01-12 13:56:18 -03:00
Sergio R. Caprile
29254ce84b
allow creative usage of TCP reserved space in 'flags'
2026-01-12 12:27:36 -03:00
Sergio R. Caprile
1a0716ae4d
Merge pull request #3404 from cesanta/der
...
Allow comments in PEM
2026-01-12 11:58:41 -03:00
Sergio R. Caprile
e46ee68a95
nit
2026-01-12 10:55:40 -03:00
Sergio R. Caprile
db496fd7dd
remove respective old comment
2026-01-12 10:54:15 -03:00
cpq
0a3e129527
Allow comments in PEM
2026-01-12 10:54:15 -03:00
Sergio R. Caprile
12491777bb
Merge pull request #3405 from cesanta/cache7
...
Synopsys driver handles STM32H7 and N6 DCACHE
2026-01-12 10:52:49 -03:00
Sergio R. Caprile
ad4b87e24a
Synopsys driver handles STM32H7 and N6 DCACHE
...
(proper memory placement required)
2026-01-12 10:25:26 -03:00
Sergio R. Caprile
7ffc51d38e
Merge pull request #3398 from cesanta/zeph
...
Disable dirent in zephyr
2026-01-08 09:22:36 -03:00
cpq
c9243c3f47
Disable dirent in zephyr
2026-01-08 08:50:05 +00:00
Sergey Lyubka
0d6c424e62
Merge pull request #3397 from cesanta/cube
...
Add support for N6 in ARCH_CUBE
2026-01-07 18:16:27 +00:00
Sergio R. Caprile
dc9395c904
Add support for N6 in ARCH_CUBE
2026-01-07 14:03:37 -03:00
Sergio R. Caprile
2bb750070a
Merge pull request #3395 from cesanta/tests
...
unbreak net_builtin tests
2026-01-07 10:59:38 -03:00
Sergio R. Caprile
17b0b65cab
unbreak net_builtin tests
2026-01-07 10:48:22 -03:00
Sergio R. Caprile
b5b63e731c
Merge pull request #3394 from cesanta/match
...
avoid unlikely and harmless but possible read out of bounds
2026-01-07 10:38:42 -03:00
Sergio R. Caprile
7e376bb860
avoid unlikely and harmless but possible read out of bounds
2026-01-07 10:33:34 -03:00
cpq
b313d697ff
Limit queue fetches
2026-01-07 06:36:44 +00:00
cpq
1cadd2b2aa
Fetch multiple frames from the queue
2026-01-07 05:53:55 +00:00
cpq
f40b377fff
Make MG_TCPIP_WIN tunable
2026-01-07 05:46:39 +00:00
cpq
43509c1781
Enable zephyr dirent
2026-01-06 18:16:54 +00:00
novlean
209d1dd426
Merge pull request #3392 from cesanta/novlean-patch-1
...
Update copyright year in LICENSE file
2026-01-05 13:00:15 +00:00
novlean
1f9e1a38b5
Update copyright year in LICENSE file
...
2026
2026-01-05 13:00:04 +00:00
Sergio R. Caprile
69936ac9f6
Merge pull request #3391 from cesanta/lwipdoze
...
fix lwIP redefinition of nfds_t
2026-01-05 08:48:06 -03:00
Sergio R. Caprile
6de419d14c
fix lwIP redefinition of nfds_t
2026-01-02 14:22:55 -03:00
Sergio R. Caprile
1200f50e2e
Merge pull request #3382 from cesanta/mcast
...
Make mcast/bcast consistent across stacks
2025-12-29 14:24:51 -03:00
Sergio R. Caprile
73bec74380
Make mcast/bcast consistent across stacks
...
Fix net_builtin inconsistency
2025-12-29 14:22:59 -03:00
Sergio R. Caprile
f70647e28e
Merge pull request #3386 from cesanta/mbed
...
Mbedtls nits
2025-12-29 13:30:10 -03:00
cpq
effa61f9b2
Mbedtls nits
2025-12-29 13:29:27 -03:00
novlean
b8bde63554
Merge pull request #3385 from cesanta/novlean-patch-1
...
Remove RP2350 OTA Firmware Update link from README
2025-12-24 10:08:49 +01:00
novlean
409d3d388a
Remove RP2350 OTA Firmware Update link from README
2025-12-24 10:08:37 +01:00
Sergio R. Caprile
2c4bf4cea4
optimize for size, as everyone else
2025-12-23 14:06:06 -03:00
Sergio R. Caprile
1b9c3a0fb0
Merge pull request #3383 from cesanta/zeph
...
Zephyr nits
2025-12-23 13:45:42 -03:00
cpq
71cc0cfd80
Zephyr nits
2025-12-23 13:12:56 -03:00
Sergio R. Caprile
63da5aa403
Merge pull request #3381 from cesanta/tests
...
add on-demand test workflow
2025-12-19 14:32:21 -03:00
Sergio R. Caprile
cb13900c32
add on-demand test workflow
2025-12-19 14:31:23 -03:00
Sergio R. Caprile
926a0e2cf2
Merge pull request #3380 from cesanta/l2
...
fix wrong length returned from l2_eth_rx
2025-12-19 14:18:42 -03:00
Sergio R. Caprile
2bfcfeb359
fix wrong length returned from l2_eth_rx
2025-12-19 14:11:13 -03:00
Sergio R. Caprile
16d8e3b4f9
restrict fuzz run time below GH allowed time
2025-12-18 11:03:17 -03:00
Sergio R. Caprile
682fe2c9a0
try extending fuzz running time
2025-12-17 19:12:02 -03:00
Sergio R. Caprile
bdd309b10b
Merge pull request #3379 from cesanta/moretests
...
add more tests, fix NDP
2025-12-17 17:45:17 -03:00
Sergio R. Caprile
21fbf9cdc5
add more tests, fix NDP
2025-12-17 17:39:09 -03:00
Sergio R. Caprile
9ed98cecff
Merge pull request #3378 from cesanta/fuzz
...
fix fuzz, add ICMP tests
2025-12-17 17:36:08 -03:00
Sergio R. Caprile
ab4e229f57
fix fuzz, add ICMP tests
2025-12-17 13:22:24 -03:00
novlean
7feab86700
Merge pull request #3377 from cesanta/novlean-patch-1
...
Add STM32 OTA Firmware Update link to README
2025-12-17 15:39:23 +00:00
novlean
6bc0af5dd0
Add STM32 OTA Firmware Update link to README
2025-12-17 15:39:06 +00:00
Sergio R. Caprile
6cb685b700
fix fuzzer
2025-12-16 16:46:03 -03:00
cpq
5c582c35d8
ota_frdm -> ota_rw612
2025-12-16 05:10:34 +00:00
Sergey Lyubka
10ab9ae1ea
Merge pull request #3370 from cesanta/l2
...
Decouple from Ethernet, introduce "l2"
2025-12-15 14:49:56 +00:00
cpq
756d127cab
C89 nitpick
2025-12-15 10:03:12 +00:00
Sergio R. Caprile
a49eb47a91
Merge pull request #3373 from cesanta/mbedtls4
...
Add support for MbedTLS 4
2025-12-12 20:23:43 -03:00
Sergio R. Caprile
e15056a9e4
Add support for MbedTLS 4
2025-12-12 20:19:36 -03:00
Sergio R. Caprile
66d4069644
Decouple from Ethernet, introduce "l2"
2025-12-12 13:46:20 -03:00
novlean
9aae863956
Merge pull request #3369 from cesanta/novlean-patch-1
...
Remove MQTT article link from README
2025-12-11 16:39:09 +00:00
novlean
878ec8a86c
Remove MQTT article link from README
2025-12-11 16:38:44 +00:00
Sergio R. Caprile
8fccfca17b
Merge pull request #3368 from cesanta/1000m
...
Add support for GbE
2025-12-10 13:43:01 -03:00
Sergio R. Caprile
69925c774d
Add support for GbE
2025-12-10 10:23:47 -03:00
Sergio R. Caprile
c1298973e1
Merge pull request #3367 from cesanta/rtl8211
...
Add support for RTL8211
2025-12-10 09:55:40 -03:00
Sergio R. Caprile
bedda34515
Add support for RTL8211
2025-12-10 09:53:55 -03:00
Sergio R. Caprile
767b0ab90b
Merge pull request #3366 from cesanta/ip6
...
Add support for prefix, link local and global in same net
2025-12-08 16:09:35 -03:00
Sergio R. Caprile
b0109c3319
Add support for prefix, link local and global in same net
2025-12-08 16:05:32 -03:00
Sergio R. Caprile
a42271a088
Merge pull request #3360 from cesanta/tests
...
fix tests not uploading on failure
2025-12-08 10:56:33 -03:00
Sergio R. Caprile
154e471256
Merge pull request #3361 from cesanta/neats
...
fix IPv6
2025-12-08 10:32:28 -03:00
cpq
bfc411acaf
Squash warning
2025-12-07 14:31:28 +00:00
cpq
2acbb0ad62
Using mg_str
2025-12-06 18:59:45 +00:00
Sergio R. Caprile
60ce504489
fix IPv6
2025-12-05 16:22:16 -03:00
Sergio R. Caprile
22b8eda0df
fix tests not uploading on failure
2025-12-05 14:19:24 -03:00
Sergio R. Caprile
80ed81583e
Merge pull request #3359 from cesanta/tests
...
fix Wizard-depent tests (track changes)
2025-12-05 13:26:48 -03:00
Sergio R. Caprile
ce0c3a0fe7
fix Wizard-depent tests (track changes)
2025-12-05 13:23:43 -03:00
Sergey Lyubka
492c6385da
Merge pull request #3358 from cesanta/diab
...
Add support for Windriver's Diab v4 (stricter C89 w/ extensions)
2025-12-05 10:32:51 +00: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
4717a15c17
Merge pull request #3357 from cesanta/atonscope
...
fix mg_aton not setting is_ip6 with scope_ids
2025-12-04 12:22:06 -03:00
Sergio R. Caprile
d6e7f8ee83
fix mg_aton not setting is_ip6 with scope_ids
2025-12-04 12:18:45 -03:00
Sergio R. Caprile
17ff656a7d
Merge pull request #3354 from cesanta/closefree
...
do not serve files when closing
2025-12-03 15:39:21 -03:00
Sergio R. Caprile
4e8965cce5
do not serve files when closing
2025-12-03 14:25:55 -03:00
Sergey Lyubka
b3d27a3c43
Merge pull request #3353 from cesanta/safety-net
...
Add safety nets for lousy networks
2025-12-03 15:49:41 +00:00
Sergio R. Caprile
66dcca9392
Add safety nets for lousy networks
2025-12-03 11:31:47 -03:00
Sergio R. Caprile
0f1a3cf84b
Merge pull request #3348 from cesanta/dhcp
...
allow no options in DHCP msgs
2025-12-01 10:46:40 -03:00
Sergio R. Caprile
a4b7025396
allow no options in DHCP msgs
2025-12-01 10:46:03 -03:00
Sergey Lyubka
9c148fd47e
Merge pull request #3351 from cesanta/dnssd
...
Introduce DNS-SD using mDNS
2025-12-01 10:10:17 +00:00
Sergio R. Caprile
293d8c22e1
Introduce DNS-SD using mDNS
2025-11-28 16:12:08 -03:00
Sergio R. Caprile
5f2ff680d5
Merge pull request #3350 from cesanta/portenta
...
fix Portenta Cube after cyw.h updates
2025-11-27 17:09:43 -03:00
Sergio R. Caprile
8eaca9437e
fix Portenta Cube after cyw.h updates
2025-11-27 17:08:00 -03:00
cpq
6e72bf4b5f
less verbose cyw driver
2025-11-26 16:27:51 +00:00
cpq
710e7b2004
less verbose cyw driver
2025-11-26 16:24:16 +00:00
Sergio R. Caprile
666a3b68e9
update mip test
2025-11-24 16:11:00 -03:00
Sergio R. Caprile
02e97adbef
no router => no route
2025-11-24 15:09:35 -03:00
Sergio R. Caprile
236724ea29
fix mg_send() failing on 0 length
2025-11-19 17:02:28 -03:00
Sergio R. Caprile
b503915ca5
update version
2025-11-19 10:04:04 -03:00
Sergio R. Caprile
156db0bc5e
enable CYW driver autoinit
2025-11-19 09:57:37 -03:00
Sergey Lyubka
11b6bd7d9c
Merge pull request #3338 from cesanta/tls
...
Fix 2-way auth max msg size, + some neats
2025-11-18 00:46:38 +00:00
Sergio R. Caprile
7ca952faa6
Merge pull request #3342 from cesanta/lsnb4ip
...
Allow listeners to start before stack is ready
2025-11-17 15:38:38 -03:00
Sergio R. Caprile
4fc40f0ffb
Allow listeners to start before stack is ready
2025-11-17 15:23:37 -03:00
cpq
cac4b3e254
Fix TM4C warnings on TI compiler (C89)
2025-11-14 06:49:53 +00:00
robert
0d5cb5cbcc
undef ENET
2025-11-13 08:02:55 -05:00
Sergio R. Caprile
a35901121b
Fix 2-way auth max msg size, + some neats
2025-11-12 20:13:06 -03:00
novlean
e0740fc2ca
Merge pull request #3337 from cesanta/novlean-patch-1
...
Update README.md
2025-11-10 16:30:57 +00:00
novlean
7d22b5fe18
Update README.md
...
article 9 added
2025-11-10 16:30:44 +00:00
Sergey Lyubka
d2e66ac58d
Merge pull request #3325 from cesanta/oom
...
Handle OOM situations
2025-11-06 14:53:46 +00:00
Sergio R. Caprile
34cc8da87e
Merge pull request #3335 from cesanta/mip6
...
enable IPv6 fuzzing
2025-11-05 19:01:06 -03:00
Sergio R. Caprile
1957ba8ffe
Merge pull request #3334 from cesanta/tls
...
increase TLS fuzz depth
2025-11-05 17:42:29 -03:00
Sergio R. Caprile
72758812f5
increase TLS fuzz depth
2025-11-05 17:41:39 -03:00
Sergio R. Caprile
ab5a0c43de
enable IPv6 fuzzing
2025-11-05 16:43:51 -03:00
Sergio R. Caprile
c8291e4ae9
add OOM handling to apps
2025-11-05 14:01:49 -03:00
Sergio R. Caprile
84e9ea76db
wip
2025-11-05 13:55:14 -03:00
Sergio R. Caprile
b8994f8bc3
Handle OOM situations in iobuf expansion
2025-11-05 13:53:18 -03:00
Sergio R. Caprile
b53d8439e5
Merge pull request #3282 from cesanta/mip6
...
Introduce IPv6, unit tests pass
2025-11-05 11:58:26 -03:00
Sergio R. Caprile
337e8abf2f
Introduce IPv6, unit tests pass
2025-11-05 11:04:23 -03:00
Sergio R. Caprile
f0bc1c031f
Merge pull request #3331 from cesanta/tls2
...
TLS: fix resuming handshake, fix improper cert req length
2025-11-04 17:08:34 -03:00
Sergio R. Caprile
19d2b93ec7
add IPaddress type SAN elements
2025-11-04 16:55:03 -03:00
Sergio R. Caprile
e0304f2b8f
TLS: fix resuming handshake, cert req length, 2-way auth app key generation and handling
2025-11-04 15:35:28 -03:00
Sergey Lyubka
f7a86f8cf1
Merge pull request #3328 from cesanta/memory
...
Add memory management example, o1heap flavor
2025-11-01 17:08:42 +00:00
Sergio R. Caprile
340f0dbf89
Merge pull request #3329 from cesanta/updtst
...
update cesanta.com CA cert
2025-10-30 14:50:17 -03:00
Sergio R. Caprile
d90b62d911
update cesanta.com CA cert
2025-10-30 14:45:20 -03:00
Sergio R. Caprile
d84aff6420
Add memory management example, o1heap flavor
2025-10-29 15:51:42 -03:00
Sergio R. Caprile
b3b73f4751
Merge pull request #3327 from cesanta/printoom
...
close connection on OOM when printing
2025-10-29 15:48:57 -03:00
Sergio R. Caprile
3c7b2dcd6d
close connection on OOM when printing
2025-10-29 15:41:00 -03:00
Sergio R. Caprile
49470f9bd2
Merge pull request #3326 from cesanta/ethram
...
Be less intrusive with non-ld-savvy users
2025-10-28 11:06:55 -03:00
Sergio R. Caprile
f7cf4f60ef
Be less intrusive with non-ld-savvy users
2025-10-28 11:03:58 -03:00
novlean
7e0d06689e
Merge pull request #3323 from cesanta/novlean-patch-1
...
Added new article
2025-10-27 17:53:28 +00:00
novlean
b843957bd2
Add link for limiting TCP/IP RAM usage on STM32
2025-10-27 17:53:07 +00:00
Sergio R. Caprile
1a0167eb6d
Merge pull request #3322 from cesanta/tests
...
fix error logs not uploading on test failure
2025-10-27 13:53:17 -03:00
Sergio R. Caprile
6ea3b98941
fix error logs not uploading on test failure
2025-10-27 13:49:35 -03:00
Sergio R. Caprile
4b0b93d4f3
Merge pull request #3307 from cesanta/openssl
...
improve resiliency
2025-10-13 10:55:42 -03:00
Sergio R. Caprile
64abf061bf
improve resiliency
2025-10-13 10:43:45 -03:00
Sergio R. Caprile
05d5c68982
Merge pull request #3304 from cesanta/uniram
...
uniformize memory attributes
2025-10-13 09:41:52 -03:00
Sergio R. Caprile
235dafe646
Merge pull request #3305 from cesanta/chacha
...
improve error handling with ChaCha
2025-10-10 14:00:02 -03:00
Sergio R. Caprile
0cc40b0c70
improve error handling with ChaCha
2025-10-10 13:58:53 -03:00
Sergio R. Caprile
07a0d1265b
uniformize memory attributes
2025-10-10 11:07:31 -03:00
Sergio R. Caprile
967d746574
fix Espressif deprecating ESP_IF_WIFI_STA and replacing it with WIFI_IF_STA
2025-10-09 11:43:01 -03:00
Sergey Lyubka
bd12cb1b87
Merge pull request #3302 from cesanta/stm32h
...
Allow STM32H driver DMA bufs be placed elsewhere
2025-10-09 14:15:45 +01:00
cpq
a21ca5d40b
Allow STM32H driver DMA bufs be placed elsewhere
2025-10-09 13:16:50 +01:00
Sergio R. Caprile
2d399107fb
Merge pull request #3299 from cesanta/tests
...
fix Espressif deprecating ESP_IF_WIFI_STA and replacing it with WIFI_…
2025-10-08 10:44:06 -03:00
Sergio R. Caprile
03bfa3806b
fix Espressif deprecating ESP_IF_WIFI_STA and replacing it with WIFI_IF_STA (ugly)
2025-10-08 10:32:32 -03:00
Sergio R. Caprile
6536ae9bcc
remove corpus
2025-10-08 09:38:27 -03:00
robertc2000
e8fc817a0c
Merge pull request #3295 from cesanta/mcxe247
...
Add NXP MCXE driver support
2025-10-06 11:16:02 +03:00
robert
e621ade392
Add NXP MCXE driver support
2025-10-06 04:07:51 -04:00
Sergio R. Caprile
3273c20ca9
Merge pull request #3293 from cesanta/tests
...
fix for non-64-bit test platforms
2025-10-01 17:25:01 -03:00
Sergio R. Caprile
a6b2124fd5
fix for non-64-bit test platforms
2025-10-01 17:06:39 -03:00
Sergio R. Caprile
5a1ff125d7
Merge pull request #3292 from cesanta/tests
...
fixes for C89 (remove mg_queue_vprintf())
2025-10-01 14:04:54 -03:00
Sergio R. Caprile
ad58a48144
fixes for C89
2025-10-01 13:51:37 -03:00
Sergio R. Caprile
a205fd7877
Merge pull request #3291 from cesanta/tests
...
fix fuzzers for IPv6
2025-10-01 11:55:44 -03:00
Sergio R. Caprile
776360ca93
fix fuzzers for IPv6
2025-10-01 11:39:21 -03:00
cpq
af7602497d
Squash warning
2025-09-30 16:43:41 +01:00
Sergio R. Caprile
0f83c2a6e5
Merge pull request #3290 from cesanta/stm32n6
...
Add STM32N driver support
2025-09-30 08:20:15 -03:00
robert
0d58748e63
Add STM32N driver support
2025-09-30 03:48:42 -04:00
Sergio R. Caprile
01902bb8b9
Merge pull request #3289 from hgarrereyn/master
...
fix wrong call and undefined use of va_args in mg_queue_vprintf
2025-09-29 14:08:57 -03:00
Sergey Lyubka
e28e9aa1d7
Merge pull request #3287 from cesanta/2way
...
Fix 2-way auth, fix skip hostname validation
2025-09-29 11:49:18 +01:00
hgarrereyn
587e79dc05
fix use of va_args in mg_queue_vprintf, fixes #3285
2025-09-26 14:28:10 -04:00
Sergio R. Caprile
acd65f2340
Merge pull request #3288 from cesanta/iobuf
...
fix iobuf shrink to less than current len
2025-09-26 14:37:34 -03:00
Sergio R. Caprile
d55fb80746
fix iobuf shrink to less than current len
2025-09-26 14:34:17 -03:00
Sergio R. Caprile
4536694f20
Fix 2-way auth, fix skip hostname validation
2025-09-26 13:40:15 -03:00
Sergio R. Caprile
2c5a6d4df6
update tests
2025-09-23 13:32:06 -03:00
Sergio R. Caprile
4c8e219643
Merge pull request #3281 from cesanta/tls36retro
...
add call to mbedtls_psa_free()for MbedTLS >= 3, defaulting to TLS 1.3…
2025-09-23 13:25:34 -03:00
Sergio R. Caprile
daeca8128b
add call to mbedtls_psa_free()for MbedTLS >= 3, defaulting to TLS 1.3, retroactively documented in 3.6.1
2025-09-23 11:31:10 -03:00
Sergey Lyubka
fe6d357858
Merge pull request #3273 from cesanta/dhcpname
...
Make DHCP name size configurable
2025-09-20 16:43:36 +01:00
Sergio R. Caprile
a99cc3dbaf
fix statechange test
2025-09-17 10:45:28 -03:00
Sergio R. Caprile
3c4c04199a
fix statechange test
2025-09-17 10:29:06 -03:00
Sergio R. Caprile
8ca692100f
tests
2025-09-17 10:18:01 -03:00
Sergio R. Caprile
0b9f28b8e3
Make DHCP name size configurable
2025-09-15 09:40:43 -03:00
Sergio R. Caprile
1dff394b63
unbreak ARP
2025-09-12 11:11:00 -03:00
Sergio R. Caprile
f4c35d1036
Merge pull request #3269 from cesanta/wifi612
...
add support for NXP Wifi in RW612, in an example
2025-09-11 17:51:54 -03:00
Sergio R. Caprile
81c166ad74
add support for NXP Wifi in RW612, in an example
2025-09-11 09:36:04 -03:00
Sergio R. Caprile
1f56776050
compiler nits
2025-09-10 19:27:17 -03:00
Sergio R. Caprile
b3a0e7b884
fix extension header traversal
2025-09-10 18:57:15 -03:00
Sergio R. Caprile
8594507b5b
Merge pull request #3267 from cesanta/wifi
...
move debugging logs
2025-09-09 16:24:16 -03:00
Sergio R. Caprile
fa811ce12b
move debugging logs
2025-09-09 16:20:54 -03:00
Sergio R. Caprile
c1ef477ff3
Merge pull request #3266 from cesanta/wifi
...
Move interface stuff out of user handlers
2025-09-09 14:29:29 -03:00
Sergio R. Caprile
4be3a96987
Merge pull request #3265 from cesanta/alip
...
align mg_addr to 32- and 64-bits
2025-09-09 10:19:58 -03:00
Sergio R. Caprile
387f875aa1
Move interface stuff out of user handlers
2025-09-08 16:00:44 -03:00
Sergio R. Caprile
cc069e7e5d
align mg_addr to 32- and 64-bits
2025-09-08 11:43:28 -03:00
Sergey Lyubka
df994df611
Merge pull request #3264 from cesanta/opts
...
Fix IP opts
2025-09-07 15:53:34 +01:00
Sergio R. Caprile
8f77fd3940
fixes for Keil
2025-09-04 19:45:18 -03:00
Sergio R. Caprile
7530062e4b
fixes for Keil
2025-09-04 19:43:17 -03:00
Sergio R. Caprile
0e63510708
Fix IP opts
...
Refactor payload handling
Refactor UDP port unreachable
Add UDP unit tests
Introduce basic IPv6 handling
2025-09-02 15:58:02 -03:00
Sergio R. Caprile
26260a1d88
Merge pull request #3263 from cesanta/tests
...
building health dashboard
2025-09-02 10:36:31 -03:00
Sergio R. Caprile
9e82844f10
building health dashboard
2025-09-02 10:35:44 -03:00
Sergio R. Caprile
0568b5a75b
Merge pull request #3262 from cesanta/tests
...
Push test results for health dashboard
2025-09-01 15:17:15 -03:00
Sergio R. Caprile
3baabebb34
Push test results for health dashboard
2025-09-01 14:52:37 -03:00
Sergio R. Caprile
bf4dd15317
Merge pull request #3261 from cesanta/tests
...
Start pushing test results for health dashboard
2025-08-29 14:29:50 -03:00
Sergio R. Caprile
b0f2f9621a
Start pushing test results for health dashboard
2025-08-29 14:28:44 -03:00
Sergey Lyubka
04d6d05e9e
Merge pull request #3258 from cesanta/tcput
...
Fix TCP error handling
2025-08-29 15:18:52 +01:00
Sergio R. Caprile
7339c7dfe7
Fix TCP error handling
...
Add unit tests for TCP error handling
Account for options in TCP header for payload start address calculation
Take UDP payload length from UDP header
2025-08-29 10:34:17 -03:00
Sergio R. Caprile
c1152f5eeb
Merge pull request #3255 from cesanta/tests
...
add support for health dashboard
2025-08-28 14:54:28 -03:00
Sergio R. Caprile
024922d566
add support for health dashboard
2025-08-27 13:35:38 -03:00
Sergio R. Caprile
6f64c8c0de
Merge pull request #3254 from cesanta/upwiz
...
update to new wizard backend API
2025-08-27 08:59:55 -03:00
Sergio R. Caprile
2a5ac3c2e5
update to new wizard backend API
2025-08-26 19:04:10 -03:00
Sergey Lyubka
7b0120f0c2
Merge pull request #3251 from cesanta/backlog
...
add TCP backlog to handle client MSS
2025-08-23 21:06:12 +01:00
Sergio R. Caprile
7ee1f14a6d
add TCP backlog to handle client MSS
2025-08-22 11:42:41 -03:00
Sergio R. Caprile
3aaf7d0da7
Merge pull request #3252 from cesanta/idfbrokeit
...
handle IDF breaking UART API
2025-08-21 18:21:30 -03:00
Sergio R. Caprile
434f3f8415
handle IDF breaking UART API
2025-08-21 18:15:21 -03:00
Sergio R. Caprile
739d78a45a
update version
2025-08-21 13:13:25 -03:00
Sergio R. Caprile
8a62633b2f
keep, linked by other examples
2025-08-14 11:38:48 -03:00
Sergio R. Caprile
aae1a687a9
Merge pull request #3235 from cesanta/client
...
Refactor HTTP client
2025-08-14 11:00:23 -03:00
Sergio R. Caprile
61285ec418
cleanup
2025-08-14 10:59:07 -03:00
Sergio R. Caprile
a00b3f1c6c
Merge pull request #3241 from cesanta/mingw
...
Fixed mingw build error
2025-08-13 10:48:53 -03:00
robert
2c813f3e72
Fixed mingw build error
2025-08-13 05:17:34 -04:00
Sergio R. Caprile
ea68d7a705
Merge pull request #3240 from cesanta/ppp
...
fix ppp driver
2025-08-12 17:51:40 -03:00
Sergio R. Caprile
654f401038
fix ppp driver
2025-08-12 17:21:36 -03:00
Sergio R. Caprile
ad89122a06
Merge pull request #3237 from cesanta/tests
...
Fix built-in TLS CA bundle, cleanup
2025-08-12 16:34:51 -03:00
Sergio R. Caprile
73ed158e76
Fix built-in TLS CA bundle, cleanup
2025-08-12 16:10:12 -03:00
Sergio R. Caprile
548c3dc77f
fix #9f76ea8 breaking bigendian
2025-08-12 15:57:26 -03:00
Sergio R. Caprile
c1fa067a1f
Merge pull request #3236 from cesanta/tls
...
Verify host against CN, too
2025-08-12 12:09:23 -03:00
Sergey Lyubka
9fd87060f9
Verify host against CN, too
2025-08-12 15:49:08 +01:00
Sergey Lyubka
de0a3b035a
Refactor HTTP client
2025-08-12 09:21:38 +01:00
Sergey Lyubka
9f76ea8030
CHACHA20 -> MG_ENABLE_CHACHA20
2025-08-12 08:42:20 +01:00
Sergio R. Caprile
76b7356873
Zephyr wants _DEBUG to provide mbedtls_strerror()
2025-08-11 13:23:51 -03:00
novlean
c24d5aabd8
Merge pull request #3231 from cesanta/novlean-patch-2
...
Update README.md
2025-08-06 14:38:25 +01:00
novlean
0df6645b90
Update README.md
2025-08-06 14:38:11 +01:00
Sergey Lyubka
b19cf8654f
Merge pull request #3203 from cesanta/dns
...
Built-in TCP/IP (re-)starts DNS connection on DHCP link up
2025-08-01 12:13:39 +01:00
Sergey Lyubka
19933a4673
Merge pull request #3222 from cesanta/mbedrbose
...
Add verbose MbedTLS errors
2025-08-01 12:10:20 +01:00
Sergio R. Caprile
76963f7d01
Merge pull request #3229 from cesanta/tests
...
fix possible overflow, improve tests
2025-07-31 13:50:42 -03:00
Sergio R. Caprile
e670ea3d61
fix possible overflow, improve tests
2025-07-31 13:43:18 -03:00
Sergio R. Caprile
fa33b57e4f
Merge pull request #3228 from cesanta/tests
...
mask built-in TCP/IP with WolfSSL test
2025-07-30 17:10:16 -03:00
Sergio R. Caprile
77e369bc79
mask built-in TCP/IP with WolfSSL test
2025-07-30 17:09:42 -03:00
Sergio R. Caprile
94ad9767d3
Merge pull request #3225 from cesanta/tests
...
ChaCha20 not working in S390 (bigendian)
2025-07-30 16:15:40 -03:00
Sergio R. Caprile
aa76f5673b
ChaCha20 not working in S390 (bigendian)
2025-07-30 16:13:34 -03:00
Sergio R. Caprile
81a699c801
Merge pull request #3224 from cesanta/tests
...
Fix tests
2025-07-29 17:26:07 -03:00
Sergio R. Caprile
bd15c456b2
Fix tests
...
Fix Ubuntu starting Mosquitto right after install
Skip TLS on localhost on MacOS with MbedTLS
fix MQTT_LOCALHOST for built-in TCP/IP tests
2025-07-29 17:17:03 -03:00
Sergio R. Caprile
10d9e1e9ae
Merge pull request #3223 from cesanta/zephyr
...
Improve 4.2 test time
2025-07-29 11:22:56 -03:00
Sergio R. Caprile
6a3813f633
Improve 4.2 test time
...
fix for intermediate releases
2025-07-29 11:19:16 -03:00
Sergio R. Caprile
51fe22a95f
Add verbose MbedTLS errors
2025-07-28 16:18:53 -03:00
Sergio R. Caprile
105762416f
Merge pull request #3221 from cesanta/tests
...
add tests for Zephyr 4.2.0
2025-07-28 15:07:50 -03:00
Sergio R. Caprile
db7087f455
add tests for Zephyr 4.2.0
2025-07-28 14:43:09 -03:00
Sergio R. Caprile
c5693503cb
Merge pull request #3220 from cesanta/zephyr
...
update to Zephyr 4.2.0
2025-07-28 11:26:03 -03:00
Sergio R. Caprile
b74590a4a5
update to Zephyr 4.2.0
2025-07-28 11:25:02 -03:00
Sergio R. Caprile
d5eeed48eb
Merge pull request #3219 from cesanta/tests
...
workaround GH storage
2025-07-28 10:44:53 -03:00
Sergio R. Caprile
fc5c0d0964
workaround GH storage
2025-07-28 10:28:18 -03:00
robert
aa2647c0bc
clang format
2025-07-28 04:11:22 -04:00
robertc2000
cef0acdb40
Merge pull request #3218 from cesanta/same54-driver-update
...
Update same54 driver
2025-07-28 11:07:47 +03:00
robert
2140656acc
Update same54 driver
2025-07-28 03:55:00 -04:00
Sergio R. Caprile
fd0c969f16
Merge pull request #3217 from cesanta/tests
...
move Zephyr tests to their own script
2025-07-25 17:08:19 -03:00
Sergio R. Caprile
dfeb929e0e
move Zephyr tests to their own script
2025-07-25 17:07:06 -03:00
Sergio R. Caprile
d3e67733a6
Merge pull request #3216 from cesanta/tests
...
Tests
2025-07-25 11:44:36 -03:00
Sergio R. Caprile
eff74fdc9d
Zephyr: only clean if there's a build
2025-07-25 11:38:30 -03:00
Sergio R. Caprile
5e4c40ad09
remove tailwindcss dependency
2025-07-25 11:33:49 -03:00
Sergio R. Caprile
087e6d3142
Merge pull request #3215 from cesanta/tests
...
fix mingw[++] tests, add local MQTTS
2025-07-24 18:43:57 -03:00
Sergio R. Caprile
587b074822
fix mingw[++] tests, add local MQTTS
2025-07-24 18:42:14 -03:00
Sergio R. Caprile
6aa8c01ac7
fix TLS text
2025-07-24 17:11:19 -03:00
Sergio R. Caprile
3bbcd5df3e
Merge pull request #3214 from cesanta/tests
...
introduce local MQTT server, fix container calling, fill prerequisites
2025-07-24 16:10:08 -03:00
Sergio R. Caprile
af512c57ef
introduce local MQTT server, fix container calling, fill prerequisites
2025-07-24 15:54:58 -03:00
Sergio R. Caprile
58297a7871
remove obsolete example
2025-07-24 11:25:11 -03:00
Sergio R. Caprile
18a530048c
Increase MQTT connect expected time
2025-07-24 10:15:09 -03:00
Sergio R. Caprile
f9ed75d6b3
attempt to get reasons
2025-07-23 10:53:00 -03:00
Sergio R. Caprile
3c1f41e575
disable scheduled run
2025-07-23 10:33:51 -03:00
Sergio R. Caprile
c772936dd1
enable manual run
2025-07-23 10:31:07 -03:00
Sergio R. Caprile
253696be45
Merge pull request #3213 from cesanta/tests
...
disable hw tests on quick test
2025-07-23 10:27:12 -03:00
Sergio R. Caprile
79b7accc55
disable hw tests on quick test
2025-07-23 10:26:34 -03:00
Sergio R. Caprile
7a1e846c73
Merge pull request #3211 from cesanta/ooofin
...
Fix ignoring SEQ on FIN
2025-07-23 08:34:05 -03:00
Sergio R. Caprile
ce59ff89c3
Merge pull request #3212 from cesanta/tests
...
fix sh not being bash
2025-07-22 18:03:00 -03:00
Sergio R. Caprile
d31d064d5e
fix sh not being bash
2025-07-22 17:01:01 -03:00
Sergio R. Caprile
467fbf4bb4
Fix ignoring SEQ on FIN
2025-07-22 14:16:35 -03:00
Sergey Lyubka
6769223ce1
Nitpick: rename fn -> mqtt_ev_handler
2025-07-22 10:11:20 +01:00
Sergey Lyubka
294e483885
Nitpick: rename s_conn -> s_mqtt_conn
2025-07-22 10:10:14 +01:00
Sergey Lyubka
43513e2d56
Update MQTT client: enable keep alive, use rx/tx topics
2025-07-22 09:44:43 +01:00
Sergey Lyubka
d1b7687e98
Fix comments
2025-07-21 23:01:43 +01:00
Sergey Lyubka
9ac09da1d2
Remove mg_http_run_simple_server - move to docs
2025-07-21 14:03:12 +01:00
Sergey Lyubka
24a330c750
Nits
2025-07-20 12:49:58 +01:00
Sergey Lyubka
13a9c773f2
mg_hello -> mg_http_run_simple_server()
2025-07-20 09:36:34 +01:00
Sergey Lyubka
3cd166d065
MG_ARCH_CUBE nitpicks
2025-07-19 08:33:48 +01:00
Sergio R. Caprile
490066fd17
Merge pull request #3209 from cesanta/tests
...
Fix misc warnings and nits
2025-07-18 17:40:53 -03:00
Sergio R. Caprile
94fce72ade
Fix misc warnings and nits
2025-07-18 17:08:32 -03:00
Sergio R. Caprile
eacc64bdd1
fix missing def
2025-07-18 16:44:38 -03:00
Sergio R. Caprile
7b037f4957
Merge pull request #3208 from cesanta/cube
...
Introduce MG_ARCH_CUBE, autodetect everything
2025-07-18 11:22:17 -03:00
Sergio R. Caprile
fa841916c1
assorted nit picks
2025-07-18 11:19:58 -03:00
Sergey Lyubka
75c11436ff
Introduce MG_ARCH_CUBE, autodetect everything
2025-07-17 17:29:48 +01:00
Sergio R. Caprile
e07a8283ec
Merge pull request #3207 from cesanta/hal
...
Autodetect STM32 in mg_millis()
2025-07-16 10:27:37 -03:00
Sergey Lyubka
2a174b0d3b
Autodetect STM32 in mg_millis()
2025-07-16 07:38:29 +01:00
Sergey Lyubka
013993abae
example configs
2025-07-16 07:37:25 +01:00
Sergey Lyubka
dccc153c68
example configs
2025-07-16 07:37:07 +01:00
Sergio R. Caprile
db0867f435
Merge pull request #3206 from cesanta/restrict
...
Avoid trashing VC++'s own proprietary restrict-like keyword
2025-07-15 16:55:52 -03:00
Sergio R. Caprile
7234121835
Avoid trashing VC++'s own propropietary restrict-like keyword
2025-07-15 16:47:06 -03:00
Sergio R. Caprile
3aafc073d8
unbreak after #8a9b1d9
2025-07-15 13:42:48 -03:00
Sergio R. Caprile
b527ed313c
Merge pull request #3204 from cesanta/tests
...
Moving tests from GH yaml to bash scripts and Makefiles
2025-07-15 11:27:24 -03:00
Sergio R. Caprile
cd86559685
Move tests to bash scripts and Makefiles
2025-07-15 11:24:09 -03:00
Sergio R. Caprile
f67e843be6
fix tests
2025-07-15 11:24:09 -03:00
Sergio R. Caprile
4f9ebd8092
Merge pull request #3202 from cesanta/gcc
...
Rename MG_ARCH_NEWLIB -> MG_ARCH_ARMGCC
2025-07-15 09:08:13 -03:00
Sergey Lyubka
6c044d6aeb
Rename MG_ARCH_NEWLIB -> MG_ARCH_ARM_GCC
2025-07-15 11:22:17 +01:00
Sergio R. Caprile
c6ee909aa4
uint16_t always >= 0
2025-07-14 15:12:50 -03:00
Sergio R. Caprile
393063428e
Built-in TCP/IP (re-)starts DNS connection on link up
2025-07-14 15:06:31 -03:00
Sergio R. Caprile
1494f5e831
Merge pull request #3201 from cesanta/sntp
...
fix SNTP through proper protocol handler setup
2025-07-14 10:09:47 -03:00
Sergey Lyubka
8bfd0c2ca3
add config template
2025-07-13 07:34:48 +01:00
Sergey Lyubka
e9de2f3eb1
Remove gurubase link - useless
2025-07-12 06:50:27 +01:00
Sergio R. Caprile
8bf9d09d96
fix SNTP through proper protocol handler setup
2025-07-11 16:56:12 -03:00
Sergio R. Caprile
67255ce8f5
fix broken links
2025-07-10 09:48:53 -03:00
Sergey Lyubka
5db89aa264
Update help message
2025-07-09 12:58:15 +01:00
Sergey Lyubka
8a9b1d9873
Simplify dashboard
2025-07-09 00:21:31 +01:00
Sergio R. Caprile
c08c1afb1e
Merge pull request #3198 from cesanta/c89
...
make it C89-friendly
2025-07-08 14:10:58 -03:00
Sergio R. Caprile
2c7f58aed2
test checksum primitives, enforce rx frag test
2025-07-08 13:57:03 -03:00
Sergio R. Caprile
b3ee71acbe
make TCP/IP C89-friendly
2025-07-08 11:15:32 -03:00
Sergio R. Caprile
52ab6bc499
make it C89-friendly
2025-07-07 15:15:31 -03:00
Sergio R. Caprile
bf059ad42f
Merge pull request #3197 from cesanta/select
...
select() minimum wait is now 1ms
2025-07-07 14:43:52 -03:00
Sergio R. Caprile
85df6a6131
select() minimum wait is now 1ms
2025-07-07 14:40:18 -03:00
Sergio R. Caprile
d840b4a4ee
Merge pull request #3196 from cesanta/tests
...
fix tests
2025-07-07 11:33:25 -03:00
Sergio R. Caprile
a8c2ce544e
fix tests
2025-07-07 11:32:31 -03:00
Sergio R. Caprile
b95022a3b3
Merge pull request #3195 from cesanta/sanasan
...
remove false positive
2025-07-03 11:49:01 -03:00
Sergio R. Caprile
8c45a9d2c9
remove false positive
2025-07-03 10:53:59 -03:00
Sergio R. Caprile
0fe64fbff9
Merge pull request #3194 from cesanta/udpret
...
mg_send and mg_io_send now honor UDP failures
2025-07-02 17:00:50 -03:00
Sergio R. Caprile
64e806628b
Merge pull request #3188 from cesanta/wintls
...
Fix incorrect reference to a Windows compiler
Fix memory leaks in RSA signature verificator
2025-07-02 16:49:32 -03:00
Sergio R. Caprile
ccd2b2699f
fix memory leaks in RSA verification function
2025-07-02 16:40:36 -03:00
Sergio R. Caprile
0b5c0c9889
mg_send now honors UDP failures
2025-07-02 10:04:24 -03:00
robertc2000
6293e7dbec
Merge pull request #3193 from cesanta/driver-macro
...
Removed MG_DRIVER_* macros
2025-07-02 13:08:39 +03:00
robert
87325ece82
Removed MG_DRIVER_* macros
2025-07-02 05:03:32 -04:00
Sergio R. Caprile
6cbd9b3067
Merge pull request #3192 from cesanta/freeunix
...
fix unix detection in wrong place
2025-07-01 16:32:20 -03:00
Sergio R. Caprile
aa27fde9d0
fix unix detection in wrong place
2025-07-01 16:28:13 -03:00
Sergio R. Caprile
e854585802
Improve Zephyr support
2025-06-30 10:35:53 -03:00
Sergio R. Caprile
2c5aba24cc
Merge pull request #3189 from cesanta/zephyrotahack
...
Improve Zephyr support
2025-06-27 14:13:17 -03:00
Sergio R. Caprile
806ee0f2cb
Improve Zephyr support
2025-06-27 14:11:04 -03:00
Sergey Lyubka
e72b95fb1c
Fix tutorials/http/http-server build with windows gcc
2025-06-27 14:33:44 +01:00
Sergey Lyubka
471e7ff61a
Left-align tables
2025-06-26 10:42:47 +01:00
Sergey Lyubka
3d2de154d1
Add support matrix
2025-06-26 10:40:15 +01:00
Sergio R. Caprile
fc551ec2e9
Merge pull request #3182 from cesanta/calloc
...
Introduce mg_calloc and MG_ENABLE_CUSTOM_CALLOC
2025-06-24 16:32:28 -03:00
Sergio R. Caprile
f5e2c68c8b
update examples
2025-06-24 16:26:31 -03:00
Sergey Lyubka
074ef5197b
Introduce mg_calloc
2025-06-24 10:52:44 +01:00
Sergey Lyubka
5f1f4a0df8
malloc -> calloc
2025-06-24 09:12:38 +01:00
Sergey Lyubka
86334e9040
Keep only one listener
2025-06-24 08:57:49 +01:00
Sergey Lyubka
f71cc3ebc3
Merge pull request #3173 from cesanta/chachaleak
...
Avoid chacha20 header leaking its redefinitions
2025-06-18 10:47:19 +01:00
Sergio R. Caprile
00910462e7
Merge pull request #3174 from cesanta/wka
...
Allow KA from erroneous implementations
2025-06-17 15:17:29 -03:00
Sergio R. Caprile
2fc56dd1d0
Allow KA from erroneous implementations
2025-06-17 15:14:30 -03:00
Sergio R. Caprile
a5ebe71394
Avoid chacha20 header leaking its redefinitions
2025-06-17 12:12:48 -03:00
Sergio R. Caprile
0eb8bf6b51
Merge pull request #3167 from cesanta/threadx
...
Add MG_ARCH_TREADX
2025-06-16 10:51:16 -03:00
Sergey Lyubka
3a0fe5288c
Add MG_ARCH_TREADX
2025-06-16 11:09:41 +01:00
Sergey Lyubka
bfca233160
Merge pull request #3170 from cesanta/keepack
...
Add Keep-Alive ACK
2025-06-12 08:37:00 +01:00
Sergio R. Caprile
acf217601b
Add Keep-Alive ACK
2025-06-11 14:25:05 -03:00
Sergio R. Caprile
b0d0fbfd9f
clarify bridging for Wi-Fi
2025-06-11 09:31:24 -03:00
Sergio R. Caprile
9411f1c7b6
Merge pull request #3165 from cesanta/wifi612
...
Add Wi-Fi example for RW-612
2025-06-06 18:39:35 -03:00
Sergio R. Caprile
d7d7ebf99a
Add Wi-Fi example for RW-612
2025-06-06 18:26:27 -03:00
novlean
8072ae2057
Update README.md
2025-06-06 16:34:19 +01:00
Sergio R. Caprile
e529e644ab
Merge pull request #3164 from cesanta/asan
...
avoid ASAN reporting read overflows
2025-06-06 09:03:02 -03:00
Sergio R. Caprile
d6fdfe5b1b
avoid ASAN reporting read overflows
2025-06-05 17:26:56 -03:00
Sergio R. Caprile
50e15e574f
Merge pull request #3163 from cesanta/test
...
expand test coverage
2025-06-05 14:24:47 -03:00
Sergio R. Caprile
58f1533779
expand test coverage
2025-06-05 14:24:03 -03:00
Sergio R. Caprile
f4a49829ea
unbreak FreeRTOS ( #3158 )
2025-06-05 14:03:26 -03:00
Sergio R. Caprile
3efe6641eb
Merge pull request #3161 from cesanta/fix
...
Unbreak MbedTLS (#3148 ), rollback debugging leftovers
2025-06-04 09:08:32 -03:00
Sergio R. Caprile
0459d9e106
Unbreak MbedTLS ( #3148 ), rollback debugging leftovers
2025-06-04 09:05:27 -03:00
Sergio R. Caprile
305d69ee36
Merge pull request #3159 from cesanta/isacheese
...
fix error introduced in #3149
2025-06-03 15:41:13 -03:00
Sergio R. Caprile
98e744a9ad
fix error introduced in #3149
2025-06-03 15:29:28 -03:00
Sergey Lyubka
1d97f2e2b5
Enable POSIX_FS on ESP32
2025-06-03 08:23:05 +01:00
Sergio R. Caprile
c92bc4b4ac
Merge pull request #3158 from cesanta/posiz
...
Redefine mkdir only if MG_ENABLE_POSIX_FS==0
2025-06-02 11:06:09 -03:00
Sergey Lyubka
6a3e1e41c4
Redefine mkdir only if MG_ENABLE_POSIX_FS==0
2025-06-02 11:04:16 -03:00
Sergio R. Caprile
650caface3
fix duplicates
2025-05-30 10:03:01 -03:00
novlean
8b6e02e985
Merge pull request #3154 from cesanta/novlean-patch-2
...
Update README.md - stm32 websocket article
2025-05-29 17:01:52 +01:00
novlean
3ee6fe45f9
Update README.md
2025-05-29 17:01:05 +01:00
Sergio R. Caprile
e811afd397
Merge pull request #3152 from cesanta/fuzzer
...
fix memory leak in fuzz test itself
2025-05-28 14:36:07 -03:00
Sergio R. Caprile
b197a674e1
fix memory leak in fuzz test itself
2025-05-28 13:56:04 -03:00
Sergio R. Caprile
08f6b99b13
remove conditionals from CIfuzz
2025-05-28 11:57:27 -03:00
Sergio R. Caprile
b18d0301f3
Update README.md
2025-05-28 11:46:49 -03:00
Sergio R. Caprile
5596621420
Update README.md
2025-05-28 11:05:37 -03:00
Sergio R. Caprile
bd8a66eee7
Update README.md
...
GH changes in icon stuff
2025-05-28 11:02:07 -03:00
Sergio R. Caprile
b62ebb3c10
Update README.md
...
GH changes in build icon
2025-05-28 10:59:57 -03:00
Sergio R. Caprile
45d796fe5b
Merge pull request #3151 from cesanta/wonder
...
Add Portenta H7 STM32CubeIDE example
2025-05-27 17:27:43 -03:00
Sergio R. Caprile
d8a3b90cad
Add Portenta H7 STM32CubeIDE example
2025-05-27 17:26:26 -03:00
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
6b6acd3967
Merge pull request #3149 from cesanta/is_tls
...
set is_tls at mg_listen and mg_connect level
2025-05-26 10:06:38 -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
51f54f9b7e
Merge pull request #3147 from cesanta/ra8-eth
...
RA8 eth and phy support
2025-05-23 14:23:52 -03: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
5726e680ec
Merge pull request #3143 from cesanta/fairplay
...
Make built-in TLS play fair to TCP
2025-05-23 10:22:56 -03: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
novlean
a321c2d096
Merge pull request #3146 from cesanta/novlean-patch-2
...
Update README.md
2025-05-22 17:59:06 +01:00
novlean
bbb07bf6f7
Update README.md
2025-05-22 17:58:42 +01: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
662cc27f4f
Merge pull request #3140 from dag10/master
...
Fix URIs or header values containing tildes being unparsable.
2025-05-21 09:58:30 -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
Drew Gottlieb
d01aa01a51
Fix URIs or header values containing tildes being unparsable.
2025-05-15 17:13:15 -07:00
Sergio R. Caprile
39392b3690
Merge pull request #3139 from cesanta/freewill
...
free ifp on mgr_free
2025-05-15 18:04:42 -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
34cdce750d
Merge pull request #3138 from cesanta/pedantic
...
make clang happy
2025-05-15 17:11:22 -03:00
Sergio R. Caprile
f3fafb6759
make clang happy
2025-05-15 17:09:29 -03:00
Sergio R. Caprile
0372c97ff5
add fuzz
2025-05-15 16:48:16 -03:00
Sergio R. Caprile
b46136a0af
Merge pull request #3137 from cesanta/testtls
...
add fuzz tests
2025-05-15 16:33:17 -03:00
Sergio R. Caprile
ac3d41fb79
add fuzz tests
2025-05-15 16:32:42 -03:00
Sergio R. Caprile
14be42c868
INFO -> VERBOSE
2025-05-15 15:50:36 -03:00
robertc2000
f0ec14543a
Merge pull request #3136 from cesanta/ra6-driver-init
...
RA6 driver init macro
2025-05-15 10:20:31 +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
Sergey Lyubka
f2905a5e10
Merge pull request #3135 from cesanta/mss
...
Handle (specific) TCP options
2025-05-13 22:25:52 +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
robertc2000
9922286c67
Merge pull request #3131 from cesanta/ws-offset
...
Websocket offset validation enhancement
2025-05-09 13:05:20 +03: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
robert
539d080346
check null pointer
2025-05-07 08:40:07 -04: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
novlean
08ad2c3145
Merge pull request #3113 from cesanta/novlean-patch-2
...
Update README.md
2025-04-24 17:40:00 +01:00
novlean
c64fd404d4
Update README.md
...
article
2025-04-24 17:39:51 +01:00
Sergio R. Caprile
143b0ac126
fix
2025-04-24 11:04:43 -03:00
Sergio R. Caprile
c2e2432010
Merge pull request #3093 from cesanta/mdns-multicast
...
Added MDNS and driver support for multicast
2025-04-22 14:01:34 -03:00
Sergio R. Caprile
1d2a768184
refactor the rest of the drivers
2025-04-22 13:59:03 -03:00
novlean
fb099641bc
Merge pull request #3111 from cesanta/novlean-patch-2
...
Update README.md
2025-04-22 17:48:28 +01:00
novlean
6da9afbf29
Update README.md
2025-04-22 17:48:12 +01: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
b44193780e
Merge pull request #3110 from cesanta/tlsfindata
...
Fix not reading last TLS small record with fast closure
2025-04-22 10:03:40 -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
5cf1523a13
Merge pull request #3101 from cesanta/tlszero
...
workaround causing TLS libs to return zero
2025-04-14 10:40:36 -03:00
Sergio R. Caprile
f2fe47e9f7
workaround causing TLS libs to return zero
2025-04-11 14:42:15 -03:00
Sergio R. Caprile
2557ab2e60
Merge pull request #3086 from cesanta/cywst
...
Add support for RM2 with STM32F (429, 746)
2025-04-11 09:28:25 -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
169cbc044f
Merge pull request #3095 from cesanta/noVLA
...
no VLA
2025-04-09 13:28:21 -03: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
578e52618d
Merge pull request #3092 from cesanta/picofix
...
unbreak pico[2]W auto init
2025-04-07 16:00:33 -03:00
Sergio R. Caprile
ec0fe66a17
unbreak pico[2]W auto init
2025-04-07 15:56:11 -03:00
novlean
8fee24291a
Merge pull request #3091 from cesanta/novlean-patch-2
...
Update README.md
2025-04-07 17:53:34 +01:00
novlean
05bba2958d
Update README.md
...
Articles
2025-04-07 17:53:22 +01: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
e2ee356a87
Merge pull request #3084 from cesanta/2ap
...
Add support for AP in Pico 2 W (valid for Pico W)
2025-03-28 09:51:15 -03:00
Sergio R. Caprile
189bef61d3
Add support for AP in Pico 2 W (valid for Pico W)
2025-03-24 17:49:40 -03:00
Sergio R. Caprile
7d94f9f61b
Add Pico + RM2 Wi-Fi example
2025-03-24 17:41:12 -03:00
Sergio R. Caprile
e37a0b9056
Add CYW driver
2025-03-24 17:03:05 -03:00
Sergio R. Caprile
0b57b23951
Add support for Wi-Fi chip drivers
2025-03-24 17:02:50 -03:00
Sergey Lyubka
c84826e84e
Merge pull request #3081 from cesanta/dhcp
...
Allow user to set custom DHCP name
2025-03-24 08:01:43 +00:00
Sergey Lyubka
064fc6ff7b
Allow user to set custom DHCP name
2025-03-22 16:30:02 +00:00
Sergio R. Caprile
042ea53478
Merge pull request #3076 from cesanta/mondirw
...
keep up with Wizard dir structure
2025-03-12 17:14:30 -03:00
Sergio R. Caprile
900b0acf7a
keep up with Wizard dir structure
2025-03-12 17:08:36 -03:00
Sergio R. Caprile
dc5f2e295a
Merge pull request #3074 from cesanta/wait
...
fix IO_WAIT on send for builtin TLS and MbedTLS
2025-03-11 16:21:32 -03: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
b30cf6587c
Merge pull request #3072 from cesanta/rw612-wifi-xpresso
...
RW612 MCUXpresso WiFi example with FreeRTOS and LWIP
2025-03-08 14:56:29 -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
Sergio R. Caprile
bc8c839342
Merge pull request #3033 from cesanta/wifi
...
Change driver API: up(ifp) -> poll(ifp, 1second)
2025-03-08 11:40:39 -03:00
Sergio R. Caprile
90a23fe230
Add support for Wi-Fi chip drivers
2025-03-07 16:41:33 -03:00
Sergio R. Caprile
065027843e
Change driver API: up(ifp) -> poll(ifp, 1second)
...
Add misc extras required by Wi-Fi drivers (in progress)
2025-03-07 14:14:16 -03:00
Sergio R. Caprile
8906b1ac0f
Merge pull request #3025 from cesanta/ub
...
fix UB and possible exception trigger
2025-03-07 13:49:37 -03:00
robert
05f9e61a41
RW612 MCUXpresso WiFi example with FreeRTOS and LWIP
2025-03-07 11:12:30 -05:00
Sergio R. Caprile
782896b5d3
remove memcpy from htons/l
2025-03-05 17:20:35 -03:00
Sergio R. Caprile
4258f62560
Merge pull request #3069 from cesanta/beduino
...
add test for ESP32
2025-03-05 14:23:05 -03:00
Sergio R. Caprile
537ba64a54
add test for ESP32
2025-03-05 12:34:22 -03:00
Sergey Lyubka
25d20b7354
Add mg_tcpip_driver_w5100 to the header
2025-03-05 06:54:20 +00:00
Sergio R. Caprile
04d8362905
Merge pull request #3068 from cesanta/arduino
...
fix Arduino tests
2025-03-04 16:31:57 -03:00
Sergio R. Caprile
21266e9a45
fix Arduino tests
2025-03-04 16:20:18 -03:00
Sergio R. Caprile
7304e2171d
Merge pull request #3065 from cesanta/reduino
...
Rename conflictive macros, add and refactor crypto tests
2025-03-04 12:11:45 -03:00
Sergio R. Caprile
61fc480850
Rename conflictive macros, refactor crypto tests
2025-03-04 11:55:57 -03:00
robertc2000
562e82f5ac
Merge pull request #3059 from cesanta/ota-rt1050
...
OTA on RT1050
2025-03-03 10:09:27 +02:00
robert
d7ff85bb48
OTA on RT1050
2025-03-03 03:03:28 -05:00
Sergio R. Caprile
55bc6105e1
Merge pull request #3058 from cesanta/move
...
move examples -> tutorials
2025-02-28 14:00:06 -03:00
Sergio R. Caprile
306c0b6096
move examples -> tutorials
2025-02-28 13:55:57 -03:00
Sergio R. Caprile
024078ae33
Merge pull request #3057 from cesanta/move
...
move vendors -> tutorials
2025-02-28 10:10:07 -03:00
Sergio R. Caprile
b5a9ba8390
move vendors -> tutorials
2025-02-28 10:01:51 -03:00
Sergey Lyubka
93f36927ca
Add .mjs mime type
2025-02-27 16:50:04 +00:00
Sergio R. Caprile
1db90cafd1
Merge pull request #3056 from cesanta/move
...
move Zephyr -> tutorials
2025-02-27 12:02:48 -03:00
Sergio R. Caprile
bf23a0def7
move Zephyr -> tutorials
2025-02-27 10:57:08 -03:00
Sergio R. Caprile
ea1cbeea9d
Merge pull request #3054 from cesanta/move
...
move UART bridge -> tutorials
2025-02-26 15:11:27 -03:00
Sergio R. Caprile
aeda7e5520
move UART bridge -> tutorials
2025-02-26 15:08:06 -03:00
Sergio R. Caprile
a7899af8b8
Merge pull request #3053 from cesanta/move
...
move ESP32 device dashboard -> tutorials
2025-02-26 14:17:06 -03:00
Sergio R. Caprile
b0385f47af
move ESP32 device dashboard -> tutorials
2025-02-26 14:14:08 -03:00
Sergio R. Caprile
86c384657c
Merge pull request #3052 from cesanta/move
...
integrate reference-projects into existing tutorials
2025-02-26 12:05:14 -03:00
Sergio R. Caprile
6e569110d2
integrate reference-projects intto existing tutorials
2025-02-26 12:00:46 -03:00
Sergio R. Caprile
3b1024b13c
Merge pull request #3051 from cesanta/move
...
move MicroPython and dashboards -> tutorials
2025-02-26 11:43:14 -03:00
Sergio R. Caprile
b3f5d11275
move MicroPython and dashboards -> tutorials
2025-02-26 11:31:01 -03:00
Sergio R. Caprile
1078ba0a92
Merge pull request #3050 from cesanta/move
...
move file-transfer -> tutorials
2025-02-25 16:54:25 -03:00
Sergio R. Caprile
005c8170d4
move file-transfer -> tutorials
2025-02-25 16:52:16 -03:00
Sergio R. Caprile
b8d1d7a10b
Merge pull request #3049 from cesanta/move
...
move ESP8266 -> tutorials
2025-02-25 16:11:30 -03:00
Sergio R. Caprile
76769fb4d5
move ESP8266 -> tutorials
2025-02-25 16:10:28 -03:00
Sergio R. Caprile
6ff6f0a4c6
Merge pull request #3048 from cesanta/move
...
move Arduino examples -> tutorials
2025-02-25 15:52:12 -03:00
Sergio R. Caprile
72a45d2f6a
move Arduino examples -> tutorials
2025-02-25 15:48:09 -03:00
Sergio R. Caprile
2fe7c8a410
Merge pull request #3044 from cesanta/eth-drivers-rx
...
ETH driver: use the same scheme for RX
2025-02-19 14:12:49 -03:00
robert
5269eb9c39
ETH driver: use the same scheme for RX
2025-02-19 10:01:54 -05:00
Sergio R. Caprile
0a86bc0af2
update version
2025-02-19 10:21:27 -03:00
Sergio R. Caprile
bc9f6ba0b0
Merge pull request #3043 from cesanta/loserst
...
add TLS support
2025-02-18 16:22:48 -03:00
Sergio R. Caprile
9e16a0ae42
add TLS support
2025-02-18 16:20:39 -03:00
Sergio R. Caprile
9ccbb49aef
Merge pull request #3042 from cesanta/loserst
...
Fix Windows returning IO_RESET
2025-02-18 16:08:24 -03:00
Sergio R. Caprile
d59f84fbbc
Fix Windows returning IO_RESET
2025-02-18 16:04:13 -03:00
Sergio R. Caprile
4bbb5008b1
Merge pull request #3039 from cesanta/rw612-eth-driver
...
RW612 ETH driver
2025-02-18 09:28:16 -03:00
Sergio R. Caprile
49ce25511e
Merge pull request #3041 from cesanta/atomillis
...
no LDRD in v6-M
2025-02-17 13:59:14 -03:00
Sergio R. Caprile
985276665d
no LDRD in v6-M
2025-02-17 10:18:51 -03:00
robert
91f553c45f
RW612 ETH driver
2025-02-17 03:47:41 -05:00
Sergey Lyubka
38ede8ec58
2024 -> 2025
2025-02-12 13:28:24 +00:00
Sergey Lyubka
997f6543ce
Merge pull request #3037 from cesanta/tls2
...
TLS verification
2025-02-10 15:42:18 +00:00
Sergey Lyubka
b50081a83b
TLS verification
2025-02-10 15:36:29 +00:00
Sergio R. Caprile
34f512d244
Merge pull request #3034 from cesanta/picosdk
...
Fix Pico-SDK aggressive optimization breaking OTA
2025-02-06 10:31:09 -03:00
Sergio R. Caprile
eb5752f41b
Fix Pico-SDK aggressive optimization breaking OTA
2025-02-06 10:27:13 -03:00
Sergio R. Caprile
ef8e7419fa
...
2025-02-02 19:41:54 -03:00
Sergio R. Caprile
cfcdd15b89
...
2025-02-02 19:28:54 -03:00
Sergio R. Caprile
b26debaebc
...
2025-02-02 19:25:35 -03:00
Sergio R. Caprile
6deb061b12
...
2025-02-02 19:20:30 -03:00
novlean
4c6745670c
Merge pull request #3029 from cesanta/novlean-patch-1
...
Update LICENSE
2025-01-30 12:10:39 +00:00
novlean
01c662b7de
Update LICENSE
...
2025
2025-01-30 12:10:26 +00:00
Sergio R. Caprile
179fe652c2
Merge pull request #3028 from cesanta/ota2350
...
Use BootROM reset for RP2350
2025-01-29 15:20:37 -03:00
Sergio R. Caprile
394bc3260d
Use BootROM reset for RP2350
2025-01-29 15:17:04 -03:00
Sergio R. Caprile
ce1a70e2dc
fix error msg
2025-01-29 10:15:45 -03:00
Sergio R. Caprile
99022896f6
Merge pull request #3026 from cesanta/tst
...
misc fixes
2025-01-28 15:29:43 -03:00
Sergio R. Caprile
446b400667
misc fixes
2025-01-28 15:27:13 -03:00
Sergio R. Caprile
a0d9b6a7e0
fix UB and possible HF trigger
2025-01-28 10:24:59 -03:00
Sergio R. Caprile
7d53c21efe
fix for no TLS
2025-01-27 18:52:20 -03:00
Sergio R. Caprile
b78efbac36
Merge pull request #3024 from cesanta/test
...
fix failing tests
2025-01-27 16:52:06 -03:00
Sergio R. Caprile
9be9dcec46
misc
2025-01-27 16:50:46 -03:00
Sergio R. Caprile
3766ab802b
update SDK (no pico_rand)
2025-01-27 16:49:32 -03:00
Sergio R. Caprile
b9141925a3
fix #2997
2025-01-27 16:15:03 -03:00
Sergio R. Caprile
ed79fe86aa
fix SDK 1.5 not building in recent gcc (update to SDK 2.1)
2025-01-27 14:26:11 -03:00
Sergey Lyubka
2f0b0955a9
Merge pull request #3023 from cesanta/smtp
...
fix built-in TLS not calling MG_EV_TLS_HS; uniformize mg_tls_init()
2025-01-27 14:44:51 +00:00
Sergio R. Caprile
2f8e15a900
fix qemu package name
2025-01-27 11:13:38 -03:00
Sergio R. Caprile
b8b3a5c305
fix built-in TLS not calling MG_EV_TLS_HS; uniformize mg_tls_init()
2025-01-27 10:54:56 -03:00
Sergio R. Caprile
e7ea421c54
fix outdated mongoose.h
2025-01-27 10:54:29 -03:00
Sergio R. Caprile
8de9699390
fix TLS multiple-record-per-frame handling in bare metal
2025-01-24 12:05:17 -03:00
Sergio R. Caprile
bf592a22ae
Fix TLS tests failing with small(lots of) records
2025-01-23 19:15:40 -03:00
Sergio R. Caprile
8d4a619a15
minimize elusive ARP lookup failure
2025-01-23 14:33:28 -03:00
Sergio R. Caprile
1a3588624d
update mongoose.h
2025-01-21 16:50:14 -03:00
Sergio R. Caprile
74b3fd2efc
Merge pull request #3009 from cesanta/fin
...
Close connection fast if both sides sent FIN
2025-01-17 20:07:35 -03:00
Sergio R. Caprile
091356ed59
give TLS a chance
2025-01-17 19:51:12 -03:00
Sergey Lyubka
fc0e1ee311
Close connection fast if both sides sent FIN
2025-01-17 15:15:24 -03:00
Sergio R. Caprile
8dbfcbff58
Merge pull request #3014 from cesanta/test
...
improve TLS testing
2025-01-17 15:14:04 -03:00
Sergio R. Caprile
317591bc8a
improve TLS testing
2025-01-17 14:07:49 -03:00
Sergio R. Caprile
f71b3b91c0
Rollback
2025-01-16 21:04:12 -03:00
Sergio R. Caprile
9e255bcbce
fix undefined behaviour
2025-01-16 20:42:43 -03:00
Sergio R. Caprile
8af319b953
Merge pull request #3011 from cesanta/to512
...
Change default MG_IO_SIZE 256 -> 512
2025-01-15 16:13:15 -03:00
Sergey Lyubka
f90fd9cec4
Change default MG_IO_SIZE 256 -> 512
2025-01-15 19:10:10 +00:00
robert
d386b1c12d
XMC4 driver: added IDE compatibility
2025-01-13 03:34:25 -05:00
Sergey Lyubka
81551ec50d
Quiet clone
2025-01-06 17:47:50 +00:00
Sergio R. Caprile
8fafcf6eaa
Merge pull request #3001 from cesanta/towizard
...
move to Wizard
2025-01-03 11:54:36 -03:00
Sergio R. Caprile
f0df6c61c9
move to Wizard
2025-01-03 11:53:11 -03:00
Sergey Lyubka
6cf36b5771
Add esp32-mqtt
2024-12-30 22:58:33 +00:00
Sergio R. Caprile
54799187e9
Merge pull request #2996 from cesanta/test
...
improve tests and debuggability
2024-12-30 13:41:02 -03:00
Sergio R. Caprile
6d0320be06
improve tests and debuggability
2024-12-30 12:25:27 -03:00
Sergey Lyubka
317a1527ad
Add HTTPS
2024-12-29 14:03:39 +00:00
Sergey Lyubka
490eb0f57f
Squash warning
2024-12-29 11:29:09 +00:00
Sergio R. Caprile
f95283e341
Merge pull request #2995 from cesanta/update
...
misc fixes and updates
2024-12-27 11:21:50 -03:00
Sergio R. Caprile
837da0e458
misc fixes and updates
2024-12-27 11:16:10 -03:00
Sergio R. Caprile
8ce82a100e
Merge pull request #2972 from cesanta/imxrt
...
move to Wizard
2024-12-27 09:17:43 -03:00
Sergio R. Caprile
9ece98c101
Merge pull request #2994 from cesanta/pico2w
...
Add Pico 2 W examples
2024-12-23 15:19:30 -03:00
Sergio R. Caprile
6a83147b33
Add Pico 2 W examples
2024-12-23 15:11:29 -03:00
Sergio R. Caprile
90e4228e1d
keep TLS options as per the TLS tutorial. Default to built-in TLS while allowing to use other stacks, as tutorials show
2024-12-23 11:40:36 -03:00
Sergey Lyubka
553aeeef77
Add TLS support
2024-12-20 06:47:31 +00:00
Sergey Lyubka
6147e865f8
Update README
2024-12-19 12:38:20 +00:00
Sergey Lyubka
7b296fabb0
Merge pull request #2991 from cesanta/unpacked_crash
...
Fix mg_unpacked() crash
2024-12-18 11:07:27 +00:00
Sergey Lyubka
00c8f8acd0
Fix mg_unpacked() crash
2024-12-18 09:57:18 +00:00
Sergey Lyubka
1e1efa2c5e
Merge pull request #2988 from cesanta/tlspoll
...
fix mg_tls_pending
2024-12-17 14:24:13 +00:00
robertc2000
b0b0dd9f0b
Merge pull request #2990 from cesanta/w5100
...
Add W5100 driver
2024-12-17 15:34:54 +02:00
robert
30bb1c52d0
Add W5100 driver
2024-12-17 06:35:21 -05:00
Sergio R. Caprile
7fc96a61ad
fix mg_tls_pending
2024-12-16 16:03:36 -03:00
Sergio R. Caprile
4a164c39b4
Merge pull request #2987 from cesanta/ifp
...
mgr::priv -> mgr::ifp, use explicit type
2024-12-16 11:36:36 -03:00
Sergey Lyubka
b0e4069bb7
mgr::priv -> mgr::ifp, use explicit type
2024-12-16 14:22:13 +00:00
Sergey Lyubka
19cbb27b4c
Fix TLS handling in net_builtin
2024-12-15 13:32:19 +00:00
Sergey Lyubka
d44c864387
Add arduino/esp32-http example
2024-12-10 15:27:09 +00:00
Sergio R. Caprile
36e21e53e0
Merge pull request #2982 from cesanta/picowsdk
...
Add auto init for Pico-W driver
2024-12-05 14:59:21 -03:00
Sergio R. Caprile
b7598cc354
Add auto init for Pico-W driver
2024-12-05 14:57:21 -03:00
Sergio R. Caprile
0a4f322d49
Merge pull request #2981 from cesanta/picowsdk
...
Add Pico-W driver in src/drivers
2024-12-05 12:21:41 -03:00
Sergio R. Caprile
bf013fcdae
Add Pico-W driver in src/drivedrivers
2024-12-05 12:11:14 -03:00
Sergey Lyubka
fd52fccc15
Merge pull request #2976 from cesanta/http-invalid-versions
...
Validate HTTP version
2024-12-04 14:04:39 +00:00
robert
c493d3a4ce
Validate HTTP version
2024-12-04 06:34:24 -05:00
Sergio R. Caprile
aeceb2b9e7
Merge pull request #2979 from cesanta/sdk2
...
update to Pico-SDK 2.0.0
2024-12-03 17:10:01 -03:00
Sergio R. Caprile
cb5f833dd2
update to Pico-SDK 2.0.0
2024-12-02 14:19:49 -03:00
Sergio R. Caprile
0740ccd9f7
Merge pull request #2978 from cesanta/sdk2
...
update to Pico-SDK 2.0.0
2024-12-02 11:19:14 -03:00
Sergio R. Caprile
716c84c896
update to Pico-SDK 2.0.0
2024-12-02 11:15:33 -03:00
Sergey Lyubka
c5fda07d1e
Update Arduino sketches
2024-12-01 22:04:57 +00:00
Sergey Lyubka
7fffe0abaa
Add simple RAM profiler
2024-11-28 13:11:04 +00:00
Sergey Lyubka
8a42325c23
Back to plain MQTT URL
2024-11-28 08:50:32 +00:00
Sergey Lyubka
78900304bf
More PPP nitpicks
2024-11-28 08:46:32 +00:00
Sergey Lyubka
fb6dfbcd3c
PPP nitpicks
2024-11-28 08:31:43 +00:00
Sergey Lyubka
3dd4c7da2a
Add PPP driver
2024-11-27 22:00:30 +00:00
Sergey Lyubka
03c955410c
Update HTTP server Arduino example
2024-11-26 20:53:21 +00:00
Sergio R. Caprile
74f77c9ded
Merge pull request #2975 from cesanta/ipsum
...
Fix IP csum calculation on 8-bit platforms
2024-11-26 17:36:43 -03:00
Sergey Lyubka
3caca03e8a
Simplify MQTT example
2024-11-26 20:30:57 +00:00
Sergey Lyubka
49469840ab
Fix IP csum calculation on 8-bit platforms
2024-11-26 20:23:12 +00:00
Sergio R. Caprile
85613ab02d
Merge pull request #2974 from cesanta/noclash
...
avoid name clashing in OTA
2024-11-26 14:18:58 -03:00
Sergio R. Caprile
6e4ce85c87
avoid name clashing in OTA
2024-11-26 14:15:56 -03:00
Sergio R. Caprile
2a093dc183
remove is_io_err (unused)
2024-11-26 14:09:34 -03:00
Sergey Lyubka
01eeadbaf4
Merge pull request #2970 from kursataktas/mongoose-guru
...
Introducing Mongoose Guru on Gurubase.io
2024-11-23 08:22:57 +00:00
Sergio R. Caprile
851b3a7cfb
move to Wizard
2024-11-22 17:38:26 -03:00
Sergio R. Caprile
b6dc830bcb
Merge pull request #2964 from cesanta/http-cookie
...
Use separate cookies for HTTP and HTTPS connections
2024-11-22 16:39:08 -03:00
Sergio R. Caprile
8ef02aae41
Merge pull request #2971 from cesanta/411
...
Fix issuing 411 responses as a client
2024-11-22 16:37:19 -03:00
Sergio R. Caprile
423dbd58a1
Merge pull request #2929 from cesanta/xmc7200
...
move to Wizard
2024-11-22 16:36:12 -03:00
Sergio R. Caprile
5582db615a
Merge pull request #2923 from cesanta/1170
...
move to Wizard
2024-11-22 14:05:59 -03:00
Sergio R. Caprile
1479ebfb5d
move to Wizard
2024-11-22 14:01:32 -03:00
Sergio R. Caprile
4389ef1e77
Merge pull request #2927 from cesanta/mcxn
...
move to Wizard
2024-11-22 12:21:36 -03:00
Sergio R. Caprile
5c305e7fa8
Fix issuing 411 responses as a client
...
15.5.12. 411 Length Required
The 411 (Length Required) status code indicates that the server refuses to accept the request without a defined Content-Length (Section 8.6). The client MAY repeat the request if it adds a valid Content-Length header field containing the length of the request content.
fixes #2969
2024-11-21 18:55:16 -03:00
Kursat Aktas
0427908eae
Introducing Mongoose Guru on Gurubase.io
...
Signed-off-by: Kursat Aktas <kursat.ce@gmail.com >
2024-11-21 19:23:44 +03:00
Sergio R. Caprile
2df53c3d27
update version
2024-11-20 10:02:24 -03:00
Sergio R. Caprile
53ec9adb1b
Merge pull request #2954 from cesanta/dbl
...
Fix dbl printing
2024-11-19 16:20:30 -03:00
Sergio R. Caprile
8b95a22e75
Merge pull request #2966 from cesanta/ota-h7-dual-core
...
H7 dual core OTA fix
2024-11-14 14:23:17 -03:00
robert
665298a04b
H7 dual core OTA compatibility
2024-11-14 10:22:36 -05:00
Sergio R. Caprile
7e668df1fe
default to built-in TLS without preventing other choices
2024-11-13 17:29:44 -03:00
Sergey Lyubka
85414cfec2
Add extra step
2024-11-12 08:55:53 +00:00
robert
b973187960
Use separate cookies for HTTP and HTTPS connections
2024-11-12 03:46:11 -05:00
Sergio R. Caprile
991080e613
Merge pull request #2963 from cesanta/uaws
...
unbreak AWS example and associated tests
2024-11-11 17:30:22 -03:00
Sergio R. Caprile
72bf199577
unbreak AWS example and associated tests
2024-11-11 17:27:59 -03:00
Sergio R. Caprile
7bda43a6ec
Merge pull request #2962 from cesanta/picosdk
...
Pico-SDK support fixes and cleanups
2024-11-11 15:08:06 -03:00
Sergio R. Caprile
2b8b0ebe95
Pico-SDK support fixes and cleanups
2024-11-11 14:52:28 -03:00
Sergey Lyubka
0aa61ce58f
Update build, use EC certs
2024-11-10 08:45:34 +00:00
Sergey Lyubka
51a5dc78d7
zip only web_root files
2024-11-09 08:09:50 +00:00
Sergio R. Caprile
232bd9a22b
Merge pull request #2959 from cesanta/picosdk
...
Move ARCH_RP2040 --> ARCH_PICOSDK
2024-11-08 14:38:56 -03:00
Sergio R. Caprile
58327a1753
Move ARCH_RP2040 --> ARCH_PICOSDK
2024-11-08 14:34:33 -03:00
Sergio R. Caprile
7844d84798
Merge pull request #2956 from cesanta/ota-rt1170
...
OTA RT1170
2024-11-07 13:45:28 -03:00
Sergio R. Caprile
7a30a42797
Merge pull request #2957 from cesanta/picornd
...
Use Pico-SDK RNG
2024-11-07 11:59:47 -03:00
Sergio R. Caprile
094202ff16
Use Pico-SDK RNG
2024-11-07 11:57:08 -03:00
robert
9c4523f4fa
OTA RT1170
2024-11-07 08:39:28 -05:00
Sergio R. Caprile
69859c61e0
Merge pull request #2955 from cesanta/ota-rt10xx
...
IMXRT OTA: support included for 1024, 1040, 1064
2024-11-07 09:32:05 -03:00
robert
9878518e29
IMXRT OTA: support included for 1024, 1040, 1064
2024-11-07 03:11:57 -05:00
robert
cde270728f
Fixed tms570 driver definition not being added to net_builtin
2024-11-07 03:09:18 -05:00
Sergio R. Caprile
5559d0fa68
Merge pull request #2953 from cesanta/otapico
...
Add OTA for Pico-SDK (RP2040)
2024-11-06 16:36:14 -03:00
Sergio R. Caprile
8feff78526
add tests
2024-11-06 11:40:57 -03:00
Sergey Lyubka
226a3de55d
Fix dbl printing
2024-11-06 06:14:38 +00:00
Sergio R. Caprile
67d0f5f4ae
Add OTA for Pico-SDK (RP2040)
2024-11-05 17:17:22 -03:00
Sergio R. Caprile
192f5e563c
Merge pull request #2952 from cesanta/rt1020-ota-fix
...
RT1020 OTA: removed unnecessary compiler optimisation
2024-11-05 09:27:20 -03:00
robert
b6296e7a67
RT1020 OTA: removed unnecessary compiler optimisation
2024-11-05 03:48:26 -05:00
Sergio R. Caprile
67e17d3bc3
Merge pull request #2951 from cesanta/inline
...
MG_IRAM -> noinline
2024-11-01 16:26:05 -03:00
Sergio R. Caprile
64a6fef823
MG_IRAM -> noinline
2024-11-01 16:21:18 -03:00
robertc2000
e0c64cc4ff
Merge pull request #2949 from cesanta/ota-f7
...
STM32F OTA support
2024-10-30 16:57:21 +02:00
robert
3e55478b3b
STM32F OTA support
2024-10-30 10:55:05 -04:00
Sergey Lyubka
9aef821862
Merge pull request #2933 from cesanta/win_rng
...
Windows: added alternative to bcrypt lib
2024-10-29 15:44:05 +00:00
robert
f394df840e
Killed bcrypt, replaced with rand_s
2024-10-29 10:41:10 -04:00
Sergey Lyubka
7d33699173
Merge pull request #2935 from cesanta/tms570
...
TMS570 support
2024-10-26 11:14:26 +01:00
Sergey Lyubka
d3ffe8c647
Merge pull request #2947 from cesanta/ota
...
Simplify OTA API
2024-10-25 10:40:32 +01:00
Sergio R. Caprile
9b99f62311
Refactor OTA API
2024-10-24 19:08:06 -03:00
Sergey Lyubka
3319ce78d3
Simplify OTA API
2024-10-22 01:25:19 +01:00
Sergey Lyubka
8eabf43525
Failing tests
2024-10-16 12:58:25 +01:00
Sergio R. Caprile
adb12bb7be
nits
2024-10-11 14:12:46 -03:00
Sergio R. Caprile
3c10b36651
Merge pull request #2938 from cesanta/isresp
...
Honor c->is_resp with Connection:close
2024-10-10 19:47:59 -03:00
Sergio R. Caprile
d37c300d87
Honor c->is_resp with Connection:close
2024-10-10 19:44:09 -03:00
Sergio R. Caprile
9fc92e901e
Merge pull request #2936 from cesanta/test
...
Add/fix Zephyr tests (again)
2024-10-10 15:53:17 -03:00
Sergio R. Caprile
5b52529295
Add/fix Zephyr tests (again)
2024-10-10 15:49:53 -03:00
Sergio R. Caprile
f77a7ad623
Merge pull request #2926 from cesanta/arp
...
Fix gw ARP. Make ARP probe public. Add ARP event
2024-10-10 11:44:50 -03:00
Sergio R. Caprile
504ef9422e
fix gw ARP on startup
2024-10-10 11:42:38 -03:00
robert
cbbcec0895
TMS570 support
2024-10-10 03:23:51 -04:00
Sergio R. Caprile
32d90c38db
tweaks
2024-10-09 11:33:14 -03:00
Sergey Lyubka
e1f7f3d7bb
Make ARP probe public. Add ARP event
2024-10-09 11:33:14 -03:00
Sergio R. Caprile
244536ea72
Merge pull request #2934 from cesanta/test
...
Add test Makefiles for more IDEs
2024-10-08 18:58:32 -03:00
Sergio R. Caprile
fa24a3e09e
Add test Makefiles for more IDEs
...
Expand Wizard test script
2024-10-08 18:55:32 -03:00
robert
5ec26a5015
Windows: added alternative to bcrypt lib
2024-10-08 09:21:13 -04:00
Sergey Lyubka
8a8ff2aef0
Merge pull request #2908 from cesanta/convenience
...
avoid trashing other projs thinking redefining types is convenient
2024-10-05 08:49:17 +01:00
Sergio R. Caprile
069254be6a
Merge pull request #2932 from cesanta/test
...
Add test Makefiles for IDEs and Wizard test script
2024-10-04 17:37:19 -03:00
Sergio R. Caprile
f3cd74cb46
Add test Makefiles for IDEs
...
Add Wizard test script
2024-10-04 17:35:02 -03:00
Sergio R. Caprile
4be8aa0f91
Merge pull request #2919 from cesanta/frag
...
Fix IP fragmentation checks for big-endian CPUs
2024-10-04 14:02:14 -03:00
Sergey Lyubka
93dd7a85f6
Fix IP fragmentation checks for big-endian CPUs
2024-10-04 16:18:33 +01:00
Sergio R. Caprile
062596e3fb
move to Wizard
2024-10-04 11:55:24 -03:00
Sergio R. Caprile
5af2de635e
Merge pull request #2931 from cesanta/revert-2930-tw
...
Revert "test prod Wizard"
2024-10-04 11:50:55 -03:00
Sergio R. Caprile
a16df91fbb
Revert "test prod Wizard"
2024-10-04 11:50:41 -03:00
Sergio R. Caprile
44178b9103
Merge pull request #2930 from cesanta/tw
...
test prod Wizard
2024-10-03 17:10:31 -03:00
Sergio R. Caprile
b767f930ad
test prod Wizard
2024-10-03 17:09:16 -03:00
Sergio R. Caprile
ba61a6545a
move to Wizard
2024-10-03 16:50:00 -03:00
Sergio R. Caprile
23ada5c7a5
try to get abort texts from GH
2024-10-03 13:46:50 -03:00
Sergio R. Caprile
97c37efffe
fix removed linked files
2024-10-03 13:26:18 -03:00
Sergio R. Caprile
5db95be4fc
fix test file
2024-10-03 12:05:44 -03:00
Sergio R. Caprile
5897422c70
Merge pull request #2928 from cesanta/newskeleton
...
move to Wizard
2024-10-03 12:00:47 -03:00
Sergio R. Caprile
a7db0d3cc5
move to Wizard
2024-10-03 11:55:38 -03:00
Sergey Lyubka
c49036a713
Merge pull request #2921 from cesanta/dp83848
...
DP83848 has no clock setup
2024-10-03 11:44:26 +01:00
Sergio R. Caprile
03246997fa
Merge pull request #2922 from cesanta/newskeleton
...
move to Wizard
2024-10-02 14:51:57 -03:00
Sergio R. Caprile
f4eac6e4fc
move to Wizard
2024-10-02 13:42:14 -03:00
Sergio R. Caprile
48f695f3e6
DP83848 has no clock setup
2024-10-02 10:22:09 -03:00
Sergio R. Caprile
3525f044f5
Merge pull request #2890 from cesanta/tls
...
Fix multiple TLS records in buffer
2024-10-01 18:30:04 -03:00
Sergio R. Caprile
b58f8b9d7c
Fix multiple TLS records in buffer
2024-10-01 18:26:51 -03:00
Sergio R. Caprile
c00962e881
Merge pull request #2914 from cesanta/tests
...
fixes and improvements for tests
2024-09-27 18:50:51 -03:00
Sergio R. Caprile
9bcf1d662b
fix tests
2024-09-27 18:33:26 -03:00
Sergio R. Caprile
586e0721d8
Merge pull request #2911 from cesanta/testcube
...
add Wizard examples
2024-09-26 20:30:41 -03:00
Sergio R. Caprile
882dd1f3a7
add Wizard examples
2024-09-26 20:20:00 -03:00
Sergio R. Caprile
399291d783
Merge pull request #2910 from cesanta/newskeleton
...
move to Wizard
2024-09-26 17:14:24 -03:00
Sergio R. Caprile
46ac2e5252
move to Wizard
2024-09-26 17:11:57 -03:00
Sergio R. Caprile
a81818b2db
avoid trashing other projs thinking redefining types is convenient
2024-09-24 20:14:39 -03:00
Sergio R. Caprile
9b0d112176
Merge pull request #2907 from cesanta/armcgt
...
Add ARMCGT arch
2024-09-24 19:01:28 -03:00
Sergio R. Caprile
ac17df0c65
Add ARMCGT arch
2024-09-24 18:58:54 -03:00
Sergio R. Caprile
c4be4e7928
Merge pull request #2906 from cesanta/revert-2901-fpp
...
Revert "fix printf precision handling"
2024-09-24 18:02:49 -03:00
Sergio R. Caprile
877cbbd11d
Revert "fix printf precision handling"
2024-09-24 18:01:07 -03:00
Sergio R. Caprile
b2bb03310e
Merge pull request #2905 from cesanta/arpudp
...
Fix ARP handling with UDP
2024-09-24 14:22:52 -03:00
Sergio R. Caprile
5c8885ee5f
Fix ARP handling with UDP
2024-09-24 12:37:13 -03:00
Sergio R. Caprile
40ec6b263d
Merge pull request #2901 from cesanta/fpp
...
fix printf precision handling
2024-09-20 20:51:20 -03:00
Sergio R. Caprile
3742da8770
fix printf precision handling
2024-09-20 20:40:54 -03:00
Sergio R. Caprile
19b06418c5
Merge pull request #2899 from cesanta/examples
...
move to Wizard
2024-09-19 16:30:14 -03:00
Sergio R. Caprile
b7b8b9219d
move to Wizard
2024-09-19 16:25:36 -03:00
Sergio R. Caprile
949966964f
Merge pull request #2896 from cesanta/examplesh563
...
move to Wizard
2024-09-18 19:47:50 -03:00
Sergio R. Caprile
c0a0f9c1df
Merge pull request #2895 from cesanta/examples
...
move to Wizard
2024-09-18 19:43:19 -03:00
Sergio R. Caprile
7cff2fa8f1
Merge pull request #2897 from cesanta/detach
...
Detach HTTP handler if MG_EV_HTTP_HDRS changes c->recv
2024-09-18 09:44:15 -03:00
Sergey Lyubka
c1b703a039
Detach HTTP handler if MG_EV_HTTP_HDRS changes c->recv
2024-09-18 13:30:27 +01:00
Sergio R. Caprile
e0eff1d2bb
update CodeQL
2024-09-17 13:14:52 -03:00
Sergio R. Caprile
037ef76ad8
move to Wizard
2024-09-16 17:03:44 -03:00
Sergio R. Caprile
ae8025cd5c
move to Wizard
2024-09-16 16:52:37 -03:00
Sergio R. Caprile
1804cc3a09
fix CIFuxx
2024-09-16 14:34:40 -03:00
Sergio R. Caprile
2d8e6b45ec
fix CIFuxx
2024-09-16 14:31:26 -03:00
Sergio R. Caprile
3fa52d0d7d
fix outdated example
2024-09-16 11:06:08 -03:00
Sergey Lyubka
6a7129d7af
Merge pull request #2884 from cesanta/examples
...
pilot move to new skeleton in examples
2024-09-12 08:07:16 +01:00
Sergey Lyubka
f0e113a532
Merge pull request #2893 from cesanta/picow
...
Add Pico-W example
2024-09-12 07:53:10 +01:00
Sergio R. Caprile
8b3e415201
Add Pico-W example
2024-09-11 10:56:52 -03:00
Sergio R. Caprile
eb6a8afe8d
Merge pull request #2891 from cesanta/cflags
...
default to built-in TLS without preventing other choices
2024-09-09 14:07:37 -03:00
Sergio R. Caprile
a705a89e4a
default to built-in TLS without preventing other choices
2024-09-09 14:05:39 -03:00
Sergio R. Caprile
ea509c0a36
move to Wizard
2024-09-05 11:48:20 -03:00
Sergio R. Caprile
269600d875
pilot move
2024-09-04 17:13:19 -03:00
Sergio R. Caprile
95e3a8f3cc
Merge pull request #2882 from cesanta/phy
...
Add MG_TCPIP_PHY_CONF
2024-09-03 11:26:43 -03:00
Sergey Lyubka
ffeff3ab69
Add MG_TCPIP_PHY_CONF
2024-09-03 15:07:27 +01:00
Sergio R. Caprile
bdc009eb65
Merge pull request #2880 from cesanta/rng
...
Make mg_random() fallible. Abort TLS on weak RNG
2024-09-02 11:12:27 -03:00
Sergey Lyubka
683f65f8ac
Make mg_random() fallible. Abort TLS on weak RNG
2024-09-02 11:06:10 -03:00
Sergey Lyubka
a737698372
Merge pull request #2881 from cesanta/mime
...
Fix #2871 - accept `*` in mg_http_serve_opts::mime_types
2024-09-02 08:57:13 +01:00
Sergey Lyubka
eeecbbcff9
Fix #2871 - accept * in mg_http_serve_opts::mime_types
2024-09-02 06:12:02 +01:00
Sergio R. Caprile
44b3d60692
Merge pull request #2877 from cesanta/iosize
...
MG_IO_SIZE=256 on embedded platforms
2024-08-30 15:54:48 -03:00
Sergey Lyubka
641c7d1967
MG_IO_SIZE=256 on embedded platforms
2024-08-30 15:52:14 -03:00
Sergey Lyubka
7923d1e930
Merge pull request #2875 from cesanta/iface
...
add macro to access mif
2024-08-29 21:44:42 +01:00
Sergio R. Caprile
42e072a868
add macro to access mif
2024-08-29 17:11:25 -03:00
Sergio R. Caprile
97296934ab
update version
2024-08-21 09:33:12 -03:00
Sergey Lyubka
83dbe5fa3e
Windows friendly
2024-08-17 08:20:41 +01:00
Sergio R. Caprile
b566b8b45a
Merge pull request #2862 from cesanta/fs
...
Disable POSIX FS by default
2024-08-14 11:43:05 -03:00
Sergey Lyubka
ecdfda56c2
Disable POSIX FS by default
2024-08-14 05:26:08 +01:00
Sergio R. Caprile
166c4a244a
Merge pull request #2861 from cesanta/modusoperandi
...
Fix Microchip breaking standards (at least until they do it again)
2024-08-12 12:27:41 -03:00
Sergio R. Caprile
be7bfbac39
Fix Microchip breaking standards, as always
2024-08-12 12:20:21 -03:00
Sergio R. Caprile
3c8953672d
Merge pull request #2860 from cesanta/l2r
...
fix ARP resolution when remote host is the gw
2024-08-12 12:03:05 -03:00
Sergio R. Caprile
045b196eeb
fix ARP resolution when remote host is the gw
2024-08-12 11:55:57 -03:00
Sergio R. Caprile
d763fce8ed
Merge pull request #2851 from cesanta/tm4c
...
Update TM4C driver init + nits
2024-07-31 17:00:34 -03:00
Sergio R. Caprile
15c8ba5d3f
Update TM4C driver init + nits
2024-07-31 16:53:29 -03:00
Sergio R. Caprile
1b75017c3c
Merge pull request #2849 from cesanta/nit
...
improve close on TLS
2024-07-30 20:17:07 -03:00
Sergio R. Caprile
3ffe5e958f
improve close on TLS
2024-07-30 19:30:14 -03:00
Sergio R. Caprile
4f6a78cde8
Merge pull request #2848 from cesanta/patchnxpphy
...
Patch KSZ PHY for NXP
2024-07-30 14:43:23 -03:00
Sergio R. Caprile
3081d0766b
Patch KSZ PHY for NXP
2024-07-30 14:34:13 -03:00
Sergio R. Caprile
c1e34cb9b5
Merge pull request #2847 from cesanta/frtcp
...
make friends with FreeRTOS+TCP compatibility
2024-07-30 11:33:57 -03:00
Sergio R. Caprile
dedf67fb52
make friends with FreeRTOS+TCP compatibility
2024-07-30 10:58:10 -03:00
Sergey Lyubka
a74fb940aa
C89 compatibility for http-restful-server
2024-07-27 07:01:48 +01:00
Sergey Lyubka
09275ae4ca
C89 compatibility for http-restful-server
2024-07-27 07:00:51 +01:00
Sergey Lyubka
657717d0fb
Merge pull request #2846 from cesanta/tls
...
Move http-restful-server to builtin TLS, plus minor nits
2024-07-26 19:38:23 +01:00
Sergey Lyubka
4493d35d26
Move http-restful-server to builtin TLS, plus minor nits
2024-07-26 19:31:15 +01:00
Sergey Lyubka
0d26ce9bcc
Merge pull request #2843 from cesanta/tlsoffset
...
Refactor tls receive pointer scheme (fix read after free)
2024-07-26 19:26:13 +01:00
Sergio R. Caprile
fe77075996
Refactor tls receive pointer scheme
2024-07-26 12:15:05 -03:00
Sergio R. Caprile
4d6b126b9d
unbreak after incorrect cleanup
2024-07-26 12:14:33 -03:00
Sergio R. Caprile
7b1900d547
Merge pull request #2845 from cesanta/tls
...
Misc TLS cleanups
2024-07-25 19:42:56 -03:00
Sergio R. Caprile
5a8c56e784
Misc TLS cleanups
2024-07-25 19:01:35 -03:00
Sergio R. Caprile
8c4cfc8101
rework fetch
2024-07-24 18:30:08 -03:00
Sergey Lyubka
5f1f5ffffd
Add md5 endpoint for testing POST
2024-07-23 20:10:18 +01:00
Sergio R. Caprile
603c4b7672
Merge pull request #2842 from cesanta/pcap
...
Make net_builtin send client TLS HS
2024-07-23 15:04:41 -03:00
Sergey Lyubka
4b49c63344
Make net_builtin send client TLS HS
2024-07-23 18:47:48 +01:00
Sergio R. Caprile
9bdc910327
do proper connect
2024-07-23 14:35:32 -03:00
Sergio R. Caprile
730f50f770
Merge pull request #2839 from cesanta/miptst
...
improve MIP tests
2024-07-22 21:03:33 -03:00
Sergio R. Caprile
91606a9e3f
improve MIP tests
2024-07-22 20:22:29 -03:00
Sergio R. Caprile
22b52f831b
Merge pull request #2829 from cesanta/vli
...
allow building uECC with VLI
2024-07-10 12:17:10 -03:00
Sergio R. Caprile
071b3f558f
allow building uECC with VLI
2024-07-10 12:01:28 -03:00
Sergio R. Caprile
59cd4004ac
Merge pull request #2827 from cesanta/ws
...
handle possible memory trashing on mg_send() and mg_iobuf_add() failures
2024-07-09 15:01:36 -03:00
Sergio R. Caprile
7f7c1ff6c2
handle possible memory trashes on mg_send() and mg_iobuf_add() failures
2024-07-09 14:56:22 -03:00
Sergio R. Caprile
ad3acf355e
Merge pull request #2826 from cesanta/openwolf
...
SSLv23_ methods deprecated
2024-07-09 14:10:44 -03:00
Sergio R. Caprile
4dcc4e3308
SSL_CTX_new can fail
...
SSLv23_ methods deprecated
2024-07-09 14:08:55 -03:00
Sergio R. Caprile
a9902b55d8
Merge pull request #2823 from cesanta/c89
...
Fix warnings and allow building chacha with C89 compilers
2024-07-08 19:05:30 -03:00
Sergio R. Caprile
d46798c2a7
silence cast and c++ warnings)
2024-07-08 17:02:54 -03:00
Sergio R. Caprile
90623492b7
be more C89-friendly
2024-07-08 16:23:41 -03:00
Sergey Lyubka
ddf3ba8a15
Squash vc98 chacha warnings
2024-07-07 10:29:52 +01:00
Sergio R. Caprile
0c4d33d558
fix Keil AWS FreeRTOS-plus-TCP
2024-07-04 17:31:11 -03:00
Sergey Lyubka
1c3b6ad59b
Merge pull request #2817 from cesanta/chachachan
...
fix stack trashing
2024-07-04 05:57:06 +01:00
Sergio R. Caprile
473a12d700
Merge pull request #2807 from cesanta/tls
...
Fix raw TLS overflow for large uploads
2024-07-03 17:24:47 -03: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
Sergio R. Caprile
00862344f7
fix stack trashing
2024-07-03 14:44:51 -03:00
Sergio R. Caprile
5ad2b0531a
Merge pull request #2813 from cesanta/foureleven
...
fix 411 not draining header data
2024-07-01 14:50:13 -03:00
Sergio R. Caprile
be8dbb0dc7
fix 411 not draining header data
2024-07-01 14:38:27 -03:00
Sergio R. Caprile
bdfa0b302b
Merge pull request #2809 from cesanta/tls2
...
Enable builtin TLS by default
2024-06-27 08:53:10 -03:00
Sergey Lyubka
7541304a9a
Enable builtin TLS by default
2024-06-27 12:04:32 +01:00
Sergio R. Caprile
395a51eeca
silence CodeQL
2024-06-26 11:59:52 -03:00
Sergey Lyubka
17e2d49c43
Merge pull request #2806 from cesanta/pipelined
...
resume pipelined reqs after serving a file
2024-06-26 14:13:15 +01:00
Sergey Lyubka
ac71c320cd
Merge pull request #2800 from cesanta/zephyr
...
avoid redefinitions
2024-06-26 14:12:06 +01:00
Sergio R. Caprile
0356bf6092
resume pipelined reqs after serving a file
2024-06-25 18:30:14 -03:00
Sergio R. Caprile
8bc1edd027
add unit tests
2024-06-25 17:03:48 -03:00
Sergio R. Caprile
403f0dc8a5
add unit tests
2024-06-25 16:47:41 -03:00
Sergio R. Caprile
dffa198ebd
Add tests for recent embedded targets
2024-06-25 15:08:35 -03:00
Sergio R. Caprile
7028417d88
Merge pull request #2794 from cesanta/close
...
handle `Connection: close`
2024-06-25 15:07:07 -03:00
Sergio R. Caprile
2d4ebba3ed
Merge pull request #2805 from cesanta/plustcp
...
Update to latest FreeRTOS+TCP
2024-06-24 18:11:40 -03:00
Sergio R. Caprile
aa3fda9c33
Update to latest FreeRTOS+TCP
2024-06-24 16:54:07 -03:00
Sergio R. Caprile
0f9f0b545e
Merge pull request #2802 from cesanta/w5500
...
allow auto driver init
2024-06-21 18:53:41 -03:00
Sergio R. Caprile
9fcc398540
allow auto driver init
2024-06-21 17:12:07 -03:00
Sergio R. Caprile
61f4ab61cb
avoid redefinitions
2024-06-19 11:39:10 -03:00
Sergio R. Caprile
1f481cbe54
Merge pull request #2799 from cesanta/zephyr
...
update to latest (again)
2024-06-19 09:48:07 -03:00
Sergio R. Caprile
f4ee10a96a
update to latest (again)
2024-06-18 20:56:31 -03:00
Sergio R. Caprile
9974be3fdc
handle 'Connection: close'
2024-06-18 10:38:41 -03:00
Sergio R. Caprile
793171e9e0
Merge pull request #2793 from cesanta/tabs
...
Fix #2790 - allow tabs as the HTTP header whitespace
2024-06-17 11:41:18 -03:00
Sergio R. Caprile
cee7087d54
do check
2024-06-17 11:38:32 -03:00
Sergey Lyubka
f9bcffcbd5
Fix #2790 - allow tabs as the HTTP header whitespace
2024-06-17 12:01:32 +01:00
Sergey Lyubka
8fd7e87333
Merge pull request #2787 from cesanta/nicer
...
play nicer to intermediate OOMs in OpenSSL
2024-06-17 12:42:38 +02:00
Sergey Lyubka
c436194d43
Fix #2789 - rename local var to avoid clash with system include
2024-06-17 11:41:37 +01:00
Sergio R. Caprile
fcd160cc8c
play nicer to intermediate OOMs in OpenSSL
2024-06-14 19:13:01 -03:00
Sergio R. Caprile
5adbadc901
make tests pass
2024-06-14 19:11:37 -03:00
Sergio R. Caprile
5084279d81
Merge pull request #2784 from cesanta/mcxn
...
add MCUXpresso examples for MCXN947
2024-06-13 13:45:48 -03:00
Sergio R. Caprile
bd21d0d0cf
add MCUXpresso examples for MCXN947
2024-06-13 13:43:53 -03:00
Sergio R. Caprile
a3fd81540a
Merge pull request #2783 from cesanta/mcxn
...
Update MCXN947 FreeRTOS to CM33 port
2024-06-12 17:04:45 -03:00
Sergio R. Caprile
ba3f6a5e76
Update MCXN947 FreeRTOS to CM33 port
2024-06-12 17:00:10 -03:00
Sergio R. Caprile
25c56e86c9
Merge pull request #2780 from cesanta/sntp2
...
update example
2024-06-10 16:18:25 -03:00
Sergio R. Caprile
0897b0969d
update example
2024-06-10 16:12:38 -03:00
Sergio R. Caprile
6cb1c3c0e9
Merge pull request #2778 from cesanta/tls7
...
Add mtls and chacha20
2024-06-10 11:36:40 -03:00
Sergey Lyubka
df257a8e8a
Add mtls and chacha20
2024-06-09 17:43:49 +01:00
Sergey Lyubka
71abdc1bda
Merge pull request #2777 from cesanta/sntp
...
Add mg_now() to sntp.c
2024-06-09 08:50:36 +01:00
Sergey Lyubka
22de1dc0f2
Add mg_now() to sntp.c
2024-06-09 07:52:25 +01:00
Sergey Lyubka
6357b30712
More expressive variable names in SNTP
2024-06-08 09:00:08 +01:00
Sergio R. Caprile
b0e18d5e8a
Merge pull request #2775 from cesanta/dhcpdns
...
DNS and SNTP via DHCP
2024-06-05 14:41:57 -03:00
Sergio R. Caprile
be58d73a0a
DNS and SNTP via DHCP
2024-06-05 14:10:31 -03:00
Sergio R. Caprile
c1f630f5ed
Merge pull request #2772 from cesanta/strdup
...
bring mg_strdup() back
2024-05-31 18:05:59 -03:00
Sergio R. Caprile
ab75bfa6e7
bring mg_strdup() back
2024-05-31 17:45:53 -03:00
Sergio R. Caprile
a4e0225c69
Merge pull request #2771 from cesanta/mcxfr
...
Add FreeRTOS example
2024-05-30 20:08:38 -03:00
Sergio R. Caprile
6d3d6c3601
Add FreeRTOS example
2024-05-30 20:05:57 -03:00
Sergio R. Caprile
2872de75a0
Merge pull request #2770 from cesanta/1170fr
...
Add FreeRTOS example
2024-05-30 12:34:01 -03:00
Sergio R. Caprile
70936e3738
Add FreeRTOS example
2024-05-30 12:23:19 -03:00
Sergio R. Caprile
c272883ec1
Merge pull request #2769 from cesanta/xmc7
...
XMC7: Ethernet descriptors 8-byte alignment
2024-05-29 13:31:23 -03:00
robert
d9619a8fa4
XMC7: Ethernet descriptors 8-byte alignment
2024-05-29 10:48:53 -04:00
Sergey Lyubka
9ec2022447
Merge pull request #2767 from cesanta/frdm-n94
...
FRDM-MCXN947
2024-05-28 21:39:51 +01:00
Sergio R. Caprile
10f56c55e6
Add FRDM-MCXN947
2024-05-28 16:55:52 -03:00
robert
69682d6d97
Added N94 baremetal skeleton
2024-05-28 16:55:52 -03:00
Sergio R. Caprile
b61575eb2b
Merge pull request #2759 from cesanta/synpsys
...
Move stm32h driver to synopsys
2024-05-28 16:55:24 -03:00
Sergio R. Caprile
6942de4f57
Move stm32h driver to synopsys
2024-05-28 14:51:19 -03:00
Sergio R. Caprile
8085e21a05
Merge pull request #2766 from cesanta/xmc7
...
add 100/10M
2024-05-27 15:14:44 -03:00
Sergio R. Caprile
0061fe02e6
add 100/10M
2024-05-27 14:40:07 -03:00
Sergio R. Caprile
6bb40e6ec9
update version
2024-05-20 11:21:09 -03:00
Sergio R. Caprile
94efcc83a1
update version
2024-05-20 10:54:40 -03:00
Sergey Lyubka
03402cf359
Add pack.js
2024-05-19 15:45:03 +01:00
Sergey Lyubka
a473cf99b5
More complete MQTT example
2024-05-18 12:09:59 +01:00
Sergio R. Caprile
c26bd2ffe8
Merge pull request #2757 from cesanta/wolf
...
fix WolfSSL
2024-05-17 18:11:30 -03:00
Sergio R. Caprile
9dc3d09981
fix WolfSSL
2024-05-17 17:54:52 -03:00
Sergio R. Caprile
76b4c9a6ff
Merge pull request #2756 from cesanta/silwf
...
momentarily silence WolfSSL tests
2024-05-16 15:18:55 -03:00
Sergio R. Caprile
41add69294
momentarily silence WolfSSL tests
2024-05-16 15:17:19 -03:00
Sergio R. Caprile
c911c9ad19
Merge pull request #2752 from cesanta/strip
...
add mg_str_to_num
2024-05-16 10:58:54 -03:00
Sergio R. Caprile
dd883c0563
Merge pull request #2755 from cesanta/mbed
...
unbreak MbedTLS in Linux
2024-05-16 10:09:59 -03:00
Sergio R. Caprile
16a0c89d5f
unbreak MbedTLS in Linux
2024-05-16 09:55:01 -03:00
Sergey Lyubka
ac0e6f3377
Squash warnings on gcc 9.4
2024-05-16 11:13:21 +01:00
Sergey Lyubka
68f7be7a1a
Merge pull request #2745 from cesanta/tls
...
Fix mbedTLS binding for 3.x
2024-05-16 10:45:46 +01:00
Sergey Lyubka
b796e33ede
Fix mbedTLS binding for 3.x
2024-05-16 10:45:11 +01:00
Sergey Lyubka
1051ba77c0
Merge pull request #2753 from julek-wolfssl/wolfssl
...
Add wolfSSL support
2024-05-16 10:18:38 +01:00
Juliusz Sosinowicz
cb5b6b972a
Turn off hanging test
...
Signed-off-by: Juliusz Sosinowicz <juliusz@wolfssl.com >
2024-05-16 10:37:31 +02:00
Juliusz Sosinowicz
925f21aca4
Update nightly
...
Signed-off-by: Juliusz Sosinowicz <juliusz@wolfssl.com >
2024-05-16 10:37:31 +02:00
Juliusz Sosinowicz
dc09851ac8
Add wolfSSL support
...
- Added Makefile wolfSSL build option with `SSL=WOLFSSL`
- Fixed missing BIO symbol errors
- Rename `fe` to `mg_fe` as it collides with `fe` defined in `wolfssl/wolfcrypt/fe_operations.h`
- byte variable name shadows the wolfSSL byte type
Tested with `make test`
Signed-off-by: Juliusz Sosinowicz <juliusz@wolfssl.com >
2024-05-16 10:37:31 +02:00
Sergey Lyubka
323ba9d90c
Merge pull request #2754 from cesanta/s390
...
Fix endianness issues in X25519 code
2024-05-15 22:01:53 +01:00
Sergey Lyubka
c6ff8ab6dc
Fix endianness issues in X25519 code
2024-05-15 21:56:47 +01:00
Sergio R. Caprile
b5443f10c5
add mg_str_to_num
2024-05-15 16:46:31 -03:00
Sergio R. Caprile
3ae1a0f82a
Merge pull request #2750 from cesanta/gbephy
...
fix LAN87x
2024-05-13 16:29:17 -03:00
Sergio R. Caprile
81f0f8a7c2
fix LAN87x
2024-05-13 16:12:51 -03:00
Sergey Lyubka
50963df42f
Update mongoose.c
2024-05-11 13:29:40 +01:00
Sergio R. Caprile
b316989378
Merge pull request #2749 from cesanta/strip
...
silence fuzzer
2024-05-10 12:14:59 -03:00
Sergio R. Caprile
23c68e2677
silence fuzzer
2024-05-10 11:12:12 -03:00
Sergio R. Caprile
b46bee0540
Merge pull request #2737 from cesanta/strip
...
cleanup 'str' API
2024-05-09 14:43:39 -03:00
Sergio R. Caprile
4c6c27d8f6
fix 573f13c
2024-05-09 14:38:57 -03:00
Sergio R. Caprile
3c531897b6
cleanup 'str' API
2024-05-09 14:10:27 -03:00
Sergio R. Caprile
6c7672f4af
Merge pull request #2747 from cesanta/t2
...
Reduce stack usage in mg_tls_hexdump()
2024-05-09 11:54:55 -03:00
Sergey Lyubka
2def6e867d
Reduce stack usage in mg_tls_hexdump()
2024-05-09 15:48:55 +01:00
Sergey Lyubka
573f13c1ed
Add mg_now()
2024-05-08 14:23:17 +01:00
Sergey Lyubka
b7f9e5c947
Fix path
2024-05-08 14:07:20 +01:00
Sergey Lyubka
da85affe5c
Refactor OTA API
2024-05-08 05:38:13 +01:00
Sergio R. Caprile
3168a2aca0
Merge pull request #2743 from cesanta/warn
...
Squash warning
2024-05-07 17:08:07 -03:00
Sergio R. Caprile
1f5feaa103
Merge pull request #2744 from cesanta/certs
...
regenerate certs
2024-05-07 15:13:07 -03:00
Sergio R. Caprile
4be3dfd52b
Fix nomadic brew
2024-05-07 14:56:48 -03:00
Sergio R. Caprile
1e26983263
Merge pull request #2742 from cesanta/esp32ota
...
Add MG_OTA_ESP32
2024-05-07 14:31:14 -03:00
Sergey Lyubka
a620419b59
Add MG_OTA_ESP32
2024-05-07 18:15:32 +01:00
Sergey Lyubka
ffdc9b0d3a
Squash warning
2024-05-07 15:41:09 +01:00
Sergey Lyubka
379e047289
regenerate certs
2024-05-07 15:40:13 +01:00
Sergio R. Caprile
8e420406b9
Merge pull request #2740 from cesanta/newskeleton
...
move to new skeleton
2024-05-01 15:19:08 -03:00
Sergio R. Caprile
fc0364b321
move to new skeleton
2024-05-01 15:17:39 -03:00
Sergio R. Caprile
ea4986dec5
Merge pull request #2739 from cesanta/newskeleton
...
move to new skeleton
2024-05-01 14:44:15 -03:00
Sergio R. Caprile
2be30a3193
move to new skeleton
2024-05-01 14:42:21 -03:00
Sergio R. Caprile
81f90c7b51
Merge pull request #2738 from cesanta/newskeleton
...
move to new skeleton
2024-05-01 14:19:16 -03:00
Sergio R. Caprile
205a564482
move to new skeleton
2024-05-01 14:16:43 -03:00
Sergio R. Caprile
497df68de1
Merge pull request #2735 from cesanta/newskeleton
...
move to new skeleton
2024-04-29 13:47:14 -03:00
Sergio R. Caprile
eaf8e24d4c
move to new skeleton
2024-04-29 13:45:20 -03:00
Sergio R. Caprile
1721fb0484
Merge pull request #2734 from cesanta/newskeleton
...
move to new skeleton
2024-04-29 11:26:00 -03:00
Sergio R. Caprile
fe0b144b84
move to new skeleton
2024-04-29 11:23:00 -03:00
Sergio R. Caprile
d391bca2d3
Merge pull request #2733 from cesanta/newskeleton
...
move to new skeleton
2024-04-29 11:02:31 -03:00
Sergio R. Caprile
a0b6e70ff8
move to new skeleton
2024-04-29 10:58:43 -03:00
robert
4f15392440
Patched XMC7 eth
2024-04-29 07:18:52 -04:00
Sergey Lyubka
959fcfdf1d
Fix paths
2024-04-28 13:26:53 +01:00
Sergio R. Caprile
57f90d200d
Merge pull request #2731 from cesanta/newskeleton
...
move to new skeleton
2024-04-26 17:01:58 -03:00
Sergio R. Caprile
663c645cf1
move to new skeleton
2024-04-26 16:58:58 -03:00
Sergio R. Caprile
972b255a48
Merge pull request #2729 from cesanta/newskeleton
...
move to new skeleton
2024-04-26 13:47:39 -03:00
Sergio R. Caprile
8c5dfa4227
move to new skeleton
2024-04-26 13:46:18 -03:00
Sergio R. Caprile
290d48e1aa
Merge pull request #2727 from cesanta/newskeleton
...
move to new skeleton
2024-04-25 17:09:13 -03:00
Sergio R. Caprile
4eb3a1c978
move to new skeleton
2024-04-25 16:54:28 -03:00
Sergio R. Caprile
b4a36a8303
Merge pull request #2726 from cesanta/newskeleton
...
move to new skeleton
2024-04-25 15:21:35 -03:00
Sergio R. Caprile
d08ee4e63a
move to new skeleton
2024-04-25 15:18:59 -03:00
Sergio R. Caprile
42f5802e47
Merge pull request #2725 from cesanta/newskeleton
...
move to new skeleton
2024-04-25 14:46:57 -03:00
Sergio R. Caprile
120ffb0b1f
move to new skeleton
2024-04-25 14:45:28 -03:00
Sergey Lyubka
d3a3ba0a32
Linkify mongoose.{c,h}
2024-04-25 11:32:57 +01:00
Sergio R. Caprile
79eebc14bb
Merge pull request #2723 from cesanta/newskeleton
...
move to new skeleton
2024-04-24 17:12:17 -03:00
Sergey Lyubka
6fc41e2a3c
Merge pull request #2720 from cesanta/tlsblues
...
TLS corner cases
2024-04-24 20:44:57 +01:00
Sergio R. Caprile
4843323f87
move to new skeleton
2024-04-24 16:09:24 -03:00
Sergio R. Caprile
04c6f3e6ef
Merge pull request #2722 from cesanta/newskeleton
...
start moving to new skeleton
2024-04-24 12:03:10 -03:00
Sergio R. Caprile
5345c7260e
start moving to new skeleton
2024-04-24 11:57:53 -03:00
Sergio R. Caprile
71a48ccde0
Merge pull request #2721 from cesanta/leftovers
...
track recent changes
2024-04-23 16:31:30 -03:00
Sergio R. Caprile
41e24d7733
track recent changes
2024-04-23 15:12:40 -03:00
Sergio R. Caprile
f888b30863
TLS corner cases
2024-04-23 11:24:47 -03:00
Sergey Lyubka
10029d6a8d
Merge pull request #2718 from cesanta/pathissane
...
change mg_path_is_sane()
2024-04-22 20:58:02 +01:00
Sergio R. Caprile
6697a2cfaa
change mg_path_is_sane()
2024-04-22 11:27:22 -03:00
Sergey Lyubka
59020e0d5d
Merge pull request #2717 from cesanta/xmc7
...
XMC7 full working example
2024-04-22 09:42:42 +01:00
robert
70abd1f98d
XMC7 full working example
2024-04-22 03:15:10 -04:00
Sergey Lyubka
312ca8e978
Tiny nit - fix dependencies
2024-04-20 18:24:41 +01:00
Sergey Lyubka
e1ccdc0570
Merge pull request #2657 from cesanta/xmc-eth
...
Added ethernet driver for Infineon XMC4 boards
2024-04-20 14:58:12 +01:00
Sergey Lyubka
c7f9fe4a03
Merge pull request #2714 from cesanta/Makefly
...
move Makefile to test/
2024-04-20 08:12:23 +01:00
Sergio R. Caprile
89aaf1c30c
move Makefile to test/
2024-04-19 18:53:25 -03:00
Sergio R. Caprile
601af780c9
Merge pull request #2713 from cesanta/nodetemb
...
move Mongoose options to mongoose_config
2024-04-19 10:50:05 -03:00
Sergio R. Caprile
93477c8db4
move Mongoose options to mongoose_config
2024-04-19 10:47:16 -03:00
Sergey Lyubka
ec5531dbf4
Merge pull request #2711 from cesanta/nodetemb
...
remove arch autodetection for embedded
2024-04-19 06:04:27 +01:00
Sergio R. Caprile
157f87f01a
remove arch autodetection for embedded
2024-04-18 17:28:40 -03:00
Sergio R. Caprile
0f4ca8d010
Merge pull request #2710 from cesanta/2650plus
...
fix fuzzer
2024-04-18 10:15:00 -03:00
Sergio R. Caprile
0a168b6791
fix fuzzer
2024-04-18 10:05:41 -03:00
Sergey Lyubka
a025577b30
Merge pull request #2709 from cesanta/bye_http_match_uri
...
remove http_match_uri()
2024-04-17 21:52:54 +01:00
Sergio R. Caprile
ef61d6ea48
remove http_match_uri()
2024-04-17 16:13:10 -03:00
Sergey Lyubka
e6bf658271
Fix #2685 - squash warnings in tls_builtin
2024-04-17 07:32:51 +01:00
Sergio R. Caprile
9cccb9839b
Merge pull request #2691 from cesanta/mqtt12
...
add simple API support for app MQTT pub retries
2024-04-16 19:18:11 -03:00
Sergio R. Caprile
2bd188f3d6
add simple API support for app MQTT pub retries
2024-04-16 19:17:37 -03:00
Sergio R. Caprile
9fa840c1c7
Merge pull request #2650 from cesanta/str
...
Fix #2612 - struct mg_str::ptr -> buf
2024-04-16 19:12:03 -03:00
Sergey Lyubka
e0e599ffa1
Fix #2612 - struct mg_str::ptr -> buf
2024-04-16 22:42:45 +01:00
Sergey Lyubka
e93d18d200
Merge pull request #2707 from cesanta/mgcfg
...
Rename mongoose_custom as mongoose_config
2024-04-16 22:07:13 +01:00
Sergio R. Caprile
34150f3f71
Rename mongoose_custom as mongoose_config
2024-04-16 17:28:31 -03:00
Sergio R. Caprile
db6730c8a3
Merge pull request #2706 from cesanta/tlspoll
...
poll TLS to process outstanding data in receive buffer
2024-04-15 14:24:22 -03:00
Sergio R. Caprile
08cac802a4
poll TLS to process outstanding data in receive buffer
2024-04-15 12:13:31 -03:00
Sergio R. Caprile
af6a52e060
Merge pull request #2704 from cesanta/gbephy
...
Add support for DP83867
2024-04-15 11:58:47 -03:00
Sergio R. Caprile
1c63645254
Add support for DP83867
2024-04-12 17:11:10 -03:00
Sergey Lyubka
be5d8b1d4f
Merge pull request #2702 from cesanta/zlw
...
Allow zero-length 'last-will' messages
2024-04-12 08:12:28 +01:00
Sergio R. Caprile
2ac3552e6e
Allow zero-length 'last-will' messages
2024-04-11 11:20:46 -03:00
Sergio R. Caprile
3c3c775213
Merge pull request #2699 from cesanta/rewact
...
increase builtin TLS test coverage
2024-04-10 17:17:10 -03:00
Sergio R. Caprile
a24b7043ed
increase builtin TLS test coverage
2024-04-10 17:07:12 -03:00
Sergio R. Caprile
7b621d7b5b
Merge pull request #2697 from cesanta/ft
...
update to MG_EV_HTTP_HDRS
2024-04-10 14:38:15 -03:00
Sergio R. Caprile
8a335a8cea
update to MG_EV_HTTP_HDRS
2024-04-10 12:20:33 -03:00
Sergio R. Caprile
355c292dbf
Merge pull request #2696 from cesanta/rewact
...
fix missing install
2024-04-09 11:00:13 -03:00
Sergio R. Caprile
2511d747ae
fix missing install
2024-04-09 10:57:52 -03:00
Sergey Lyubka
03c326a04e
Add driver init for IMXRT
2024-04-09 12:07:36 +02:00
Sergio R. Caprile
b3312f3761
Merge pull request #2690 from cesanta/rewact
...
fix Valgrind dependencies
2024-04-05 15:59:14 -03:00
Sergio R. Caprile
2e250ee7aa
fix Valgrind dependencies
2024-04-05 15:56:50 -03:00
Sergey Lyubka
924984dde1
Merge pull request #2682 from sasha0552/patch-1
...
fix typo
2024-04-05 10:17:56 +01:00
Sergio R. Caprile
33b7bb91d9
Merge pull request #2688 from cesanta/rewact
...
improve test coverage and run time
2024-04-04 17:21:49 -03:00
Sergio R. Caprile
f68fe0fb5c
improve test coverage and run time
2024-04-04 17:16:38 -03:00
Sergio R. Caprile
e6663ec186
Merge pull request #2687 from cesanta/shh
...
Keepup with Zephyr project's enjoyment of changing headers
2024-04-04 12:55:01 -03:00
Sergio R. Caprile
6ff0f9ccd8
Keepup with Zephyr project's enjoyment of changing headers
2024-04-04 12:49:37 -03:00
sasha0552
48830aa9a9
fix typo
2024-04-03 22:14:47 +00:00
Sergio R. Caprile
9276f764e0
Merge pull request #2681 from cesanta/ub
...
keep embedded-friendly config API
2024-04-03 15:53:02 -03:00
Sergio R. Caprile
7876d464f2
keep embedded-friendly config API
2024-04-03 15:48:57 -03:00
Sergio R. Caprile
5d0d01c2c1
Merge pull request #2678 from cesanta/noscrsh
...
no screenshots
2024-04-02 18:12:31 -03:00
Sergio R. Caprile
393418d50d
no screenshots
2024-04-02 18:11:11 -03:00
Sergio R. Caprile
23bb912eb5
Merge pull request #2677 from cesanta/noscrsh
...
no screenshots
closes #2611
2024-04-02 16:38:16 -03:00
Sergio R. Caprile
1d5b5296da
no screenshots
2024-04-02 16:37:14 -03:00
Sergey Lyubka
655f5db996
Merge pull request #2675 from dvosully/esp32_device_dashboard_firmware_update
...
Implement firmware update in ESP32 device-dashboard example
2024-04-02 05:12:26 +01:00
dvosully
c20cc4ae09
Implement firmware update in ESP32 device-dashboard example using espressif OTA APIs
2024-03-31 19:40:44 +10:00
Sergey Lyubka
7581229bbf
Merge pull request #2669 from cesanta/tls
...
Squash warnings
2024-03-27 09:05:31 +00:00
Sergey Lyubka
d094e090ff
Squash warnings
2024-03-27 08:58:48 +00:00
robert
c7a13025e4
Added ethernet driver for Infineon XMC4 boards
2024-03-26 10:21:09 -04:00
Sergey Lyubka
e4cd6bd824
Cleanup debugging leftovers
2024-03-26 11:33:59 +00:00
Sergio R. Caprile
f3ad0572e2
Merge pull request #2667 from cesanta/rewact
...
code .remove MbedTLS from essentials. Add tests in full
2024-03-25 18:36:53 -03:00
Sergio R. Caprile
406d6cc305
remove MbedTLS from essentials. Add tests in full
2024-03-25 18:35:46 -03:00
Sergio R. Caprile
d042697b10
Merge pull request #2663 from cesanta/tls
...
TLS client implementation
2024-03-25 16:56:43 -03:00
Sergey Lyubka
ba678b9ad1
TLS client implementation
2024-03-25 19:20:40 +00:00
Sergio R. Caprile
7a5cf118e9
Merge pull request #2666 from cesanta/ra
...
silence pedantic new versions
2024-03-25 10:43:37 -03:00
Sergio R. Caprile
e9a2da61ef
silence pedantic new versions
2024-03-25 10:35:30 -03:00
Sergio R. Caprile
d3fe1ef681
Merge pull request #2665 from cesanta/rewact
...
add RA6 and RT1170 build tests
2024-03-25 09:48:49 -03:00
Sergio R. Caprile
9725bca966
add RA6 and RT1170 build tests
2024-03-25 09:47:27 -03:00
Sergio R. Caprile
1f627e4263
Merge pull request #2664 from cesanta/rewact
...
add RA6 and RT1170 build tests
2024-03-25 09:41:08 -03:00
Sergio R. Caprile
7ac0c5fc2a
add RA6 and RT1170 build tests
2024-03-25 09:34:56 -03:00
Sergey Lyubka
091ebd8a98
Update readme
2024-03-25 08:52:59 +00:00
Sergey Lyubka
d9a6e85b65
Merge pull request #2658 from cesanta/rt1170
...
RT1170
2024-03-23 05:33:46 +00:00
Sergio R. Caprile
7cc3d89980
Add RT1170 example
2024-03-22 13:44:01 -03:00
Sergio R. Caprile
f58b90f7ea
Merge pull request #2655 from cesanta/z
...
Zephyr fcntl
2024-03-21 14:03:03 -03:00
Sergio R. Caprile
fd84109c1d
Zephyr fcntl
2024-03-21 13:57:10 -03:00
Sergio R. Caprile
626f605835
Support RT11, fix RTL PHY, fix RA err cntr
2024-03-20 10:35:05 -03:00
Sergio R. Caprile
943a8a2708
fix references to RM
2024-03-20 10:35:05 -03:00
Sergio R. Caprile
d7b2b3f42e
Merge pull request #2648 from cesanta/autoinit
...
Refactor autoinit code
2024-03-17 14:22:25 -03:00
Sergey Lyubka
fafc5c8348
Refactor autoinit code
2024-03-15 20:23:37 +00:00
Sergio R. Caprile
15bd8b4fe9
Merge pull request #2647 from cesanta/phy
...
Split PHY code into phy.{c,h}
2024-03-15 11:04:45 -03:00
Sergio R. Caprile
928aed4342
Split PHY code into phy.{c,h}; add PHY config to STM32H driver
2024-03-15 10:37:54 -03:00
Sergey Lyubka
98782e44c2
Nit changes to the fleet dashboard
2024-03-13 13:41:22 +00:00
Sergio R. Caprile
65b23777b2
Merge pull request #2642 from cesanta/autoinit
...
Add driver init to mg_mgr_init()
2024-03-12 20:36:59 -03:00
Sergio R. Caprile
c8fd3d6d25
Add driver init to mg_mgr_init()
2024-03-12 15:55:35 -03:00
Sergey Lyubka
01e7cd5f13
Merge pull request #2646 from cesanta/tls
...
Fix #2619 - use mg_tls_pending() API to check for buffered TLS data
2024-03-12 08:49:32 +00: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
Sergio R. Caprile
9f498d2eea
Merge pull request #2645 from cesanta/mp
...
tie Micropython examples to a stable release
2024-03-11 11:09:39 -03:00
Sergio R. Caprile
2d2d9ad277
tie Micropython examples to a stable release
2024-03-11 11:07:18 -03:00
Sergey Lyubka
2cc18a8ea3
Snippets
2024-03-10 19:00:32 +00:00
Sergey Lyubka
25036d5f48
Link to mongoose.ws
2024-03-10 18:59:02 +00:00
Sergey Lyubka
defee39ef9
Link to mongoose.ws
2024-03-10 18:58:14 +00:00
Sergey Lyubka
c78afb12a3
Remove dead link
2024-03-10 18:53:02 +00:00
Sergey Lyubka
f72b0b5056
Merge pull request #2632 from cesanta/reorg
...
Reorg skeleton
2024-03-09 16:04:35 +00:00
Sergey Lyubka
d46e505a80
Reorg skeleton
2024-03-09 16:01:06 +00:00
Sergey Lyubka
4027bcf7ea
Update readme
2024-03-09 10:29:14 +00:00
Sergey Lyubka
2905392665
Update readme
2024-03-09 10:28:43 +00:00
Sergio R. Caprile
98db3360df
Merge pull request #2641 from cesanta/aes
...
prefix macros in tls_aes128
2024-03-06 12:06:09 -03:00
Sergio R. Caprile
f26c713482
prefix macros in tls_aes128
2024-03-06 11:59:12 -03:00
Sergey Lyubka
05e55334fc
Fix vc98 build
2024-03-06 00:57:31 +00:00
Sergey Lyubka
01fe61276e
Add unit test for semicolon in value
2024-03-06 00:49:55 +00:00
Sergey Lyubka
219253ad71
Merge pull request #2636 from cesanta/mg_http_upload
...
Increase local file buffer size in mg_http_upload()
2024-03-05 06:05:36 +00:00
Sergey Lyubka
7b125558cb
Merge pull request #2639 from cesanta/ack2
...
Better acks
2024-03-05 06:05:20 +00:00
Sergey Lyubka
02120e24b6
Better acks
2024-03-03 10:59:31 +00:00
Sergey Lyubka
91bc79c14c
Merge pull request #2638 from cesanta/ack
...
restart timer when acking
2024-03-02 20:59:04 +00:00
Sergio R. Caprile
5ca552cf1c
restart timer when acking
2024-03-02 15:25:02 -03:00
Sergio R. Caprile
2066304b14
Merge pull request #2637 from cesanta/ack
...
Sending ACK when about to exhaust TCP WIN1
2024-03-02 12:50:29 -03:00
Sergey Lyubka
1c6f8b95eb
Sending ACK when about to exhaust TCP WIN1
2024-03-02 15:44:08 +00:00
Sergio R. Caprile
5384591f5b
Merge pull request #2635 from cesanta/uploads
...
Enhance upload example - write uploaded file
2024-03-02 11:21:55 -03:00
Sergey Lyubka
309668ccbc
Increase local file buffer size in mg_http_upload()
2024-03-02 10:56:06 +00:00
Sergey Lyubka
06a9fb3f53
Enhance upload example
2024-03-02 10:12:43 +00:00
Sergio R. Caprile
00db56f7d7
Merge pull request #2634 from cesanta/MG_EV_HTTP_HDRS
...
Introduce MG_EV_HTTP_HDRS
2024-03-01 20:50:57 -03:00
Sergey Lyubka
cec06eb25c
Introduce MG_EV_HTTP_HDRS
2024-03-01 23:29:12 +00:00
Sergey Lyubka
73a3897e1b
Merge pull request #2630 from cesanta/2593-mongoose-closes-the-connection-without-responding-to-post-requests-that-dont-have-explicit-lengths
...
HTTP: respond to messages which have no explicit lengths
2024-02-28 19:21:06 +00:00
Sergey Lyubka
100c4c15ce
2024
2024-02-28 18:16:00 +00:00
robert
c59bf6613a
HTTP: respond to messages which have no explicit lengths
2024-02-28 04:01:39 -05:00
Sergio R. Caprile
ac435bcb91
Merge pull request #2629 from cesanta/z
...
Satisfy new Zephyr config
2024-02-27 11:51:45 -03:00
Sergio R. Caprile
5d0bfccbc7
Satisfy new Zephyr config
2024-02-27 11:32:16 -03:00
Sergio R. Caprile
813489dc2f
Merge pull request #2627 from cesanta/z
...
update
2024-02-26 16:59:16 -03:00
Sergio R. Caprile
828f31d5e6
update
2024-02-26 16:58:04 -03:00
Sergio R. Caprile
8130f7f25f
Merge pull request #2625 from cesanta/c89
...
Make net_builtin C89 friendly
2024-02-26 09:20:42 -03:00
Sergey Lyubka
943e1c5f77
Adopt arch_freertos.h for CCRH compiler
2024-02-26 12:05:35 +00:00
Sergey Lyubka
ecb3301bcb
Make net_builtin C89 friendly
2024-02-25 12:21:06 +00:00
Sergio R. Caprile
a0f33aebf7
Merge pull request #2624 from cesanta/2620
...
test returned content-type for custom 404
2024-02-23 09:15:45 -03:00
Sergio R. Caprile
6862981640
test returned content-type for user page404
2024-02-23 09:11:42 -03:00
Sergey Lyubka
f61f2d2e9f
Merge pull request #2620 from cesanta/2617
...
fix wrong MIME type for custom 404
2024-02-23 01:50:02 +00:00
Sergey Lyubka
1743e175cd
Merge pull request #2623 from cesanta/r2d2
...
Add support for RA6M4
2024-02-23 00:45:47 +00:00
Sergio R. Caprile
a027f58744
Add support for RA6M4
2024-02-22 20:51:01 -03:00
Sergio R. Caprile
c98886402b
Merge pull request #2621 from cesanta/ccrh
...
Adopt CCRH compiler
2024-02-22 20:18:15 -03:00
Sergey Lyubka
112a1e908a
Adopt CCRH compiler
2024-02-22 17:53:15 +00:00
Sergey Lyubka
01ae80ecd1
Fix fuzzer call for mg_span()
2024-02-22 08:36:25 +00:00
Sergio R. Caprile
52997c6c51
update version
2024-02-21 08:50:06 -03:00
Sergio R. Caprile
1c114a279e
fix wrong MIME type for custom 404
2024-02-20 19:08:07 -03:00
Sergey Lyubka
93148e3223
Merge pull request #2616 from cesanta/upload
...
Add file upload functionality to the http-server example
2024-02-20 12:07:19 +00:00
Sergey Lyubka
f01807ef17
Add file upload functionality to the http-server example
2024-02-20 11:39:28 +00:00
Sergio R. Caprile
a4ed740518
Merge pull request #2610 from cesanta/file_read
...
Change mg_file_read() signature: return mg_str
2024-02-16 09:48:08 -03:00
Sergey Lyubka
0e2f3de154
Change mg_file_read() signature: return mg_str
2024-02-16 12:07:35 +00:00
Sergey Lyubka
d128d2146a
Online status
2024-02-15 09:49:59 +00:00
Sergey Lyubka
c683e1e988
More style changes
2024-02-15 09:46:42 +00:00
Sergey Lyubka
0b7038d44d
Fixed layout
2024-02-15 09:38:32 +00:00
Sergey Lyubka
55698b91c0
Disable OTA for now..
2024-02-15 09:26:37 +00:00
Sergey Lyubka
eff54827b2
Fix config reporting
2024-02-14 23:46:43 +00:00
Sergio R. Caprile
2c2c7f6894
Merge pull request #2609 from cesanta/loc
...
Fill c->loc for outbound connections
2024-02-14 09:51:10 -03:00
Sergey Lyubka
5baa4d969e
Fill c->loc for outbound connections
2024-02-14 12:32:26 +00:00
Sergey Lyubka
d745c41d5b
Merge pull request #2608 from cesanta/mqtt-dash
...
Update mqtt-dashboard, adopt new UI, break OTA for now..
2024-02-14 12:18:17 +00:00
Sergey Lyubka
a86bde7b3f
Update mqtt-dashboard, adopt new UI, break OTA for now..
2024-02-14 12:14:17 +00:00
Sergio R. Caprile
4ab2309a5d
Merge pull request #2607 from cesanta/tls
...
Fix #2603 : TLS read path
2024-02-14 08:50:44 -03:00
Sergey Lyubka
9172f62970
Fix #2603 : TLS read path
2024-02-13 05:49:15 +00:00
Sergey Lyubka
daa47e8272
Merge pull request #2604 from cesanta/pipeline
...
Fix #2592 : do not close pipelined connection prematurely
2024-02-13 05:48:34 +00:00
Sergey Lyubka
2419f02766
Fix #2592 : do not close pipelined connection prematurely
2024-02-11 09:05:19 +00:00
Sergio R. Caprile
c8d45c9ff1
Merge pull request #2601 from cesanta/dns
...
cap # responses instead of rejecting
2024-02-09 12:35:15 -03:00
Sergio R. Caprile
0b667ca869
cap # responses instead of rejecting
2024-02-09 12:28:56 -03:00
Sergio R. Caprile
1a5ea930ab
Update fuzz.c for mg_commalist -> mg_span
2024-02-04 23:41:16 -03:00
Sergey Lyubka
e4bfb2b5b0
Merge pull request #2597 from cesanta/str
...
mg_split -> mg_span. Remove mg_commalist
2024-02-04 09:39:08 +00:00
Sergey Lyubka
936e7bbc88
mg_split -> mg_span. Remove mg_commalist
2024-02-04 09:26:42 +00:00
Sergey Lyubka
93b5063251
Merge pull request #2599 from cesanta/upload
...
Allow user specify file in mg_http_upload
2024-02-04 09:07:28 +00:00
Sergey Lyubka
e0668bc1c0
Allow user specify file in mg_http_upload
2024-02-04 08:56:32 +00:00
Sergey Lyubka
fa5aa308bc
Merge pull request #2596 from cesanta/ls
...
Add helper mg_fs_ls()
2024-02-01 18:25:05 +00:00
Sergey Lyubka
cbfa57a955
Add helper mg_fs_ls()
2024-02-01 18:24:37 +00:00
Sergey Lyubka
f8898b016e
More unit tests for mg_split()
2024-02-01 18:21:46 +00:00
Sergio R. Caprile
8a9630485f
fix sorting issues with locales
2024-02-01 10:22:30 -03:00
Sergio R. Caprile
066e4ac332
Merge pull request #2594 from cesanta/mg_json_get_tok
...
Add helper function mg_json_get_tok
2024-02-01 09:35:08 -03:00
Sergey Lyubka
f231760395
Add helper function mg_json_get_tok
2024-02-01 12:05:49 +00:00
Sergey Lyubka
ebfa5f0ba7
Add ek-ra6m4 example
2024-01-27 17:06:28 +00:00
Sergio R. Caprile
d7754516f0
no diff checks in nightly tests
2024-01-26 14:33:22 -03:00
Sergio R. Caprile
00fd1884ff
no diff checks in nightly tests
2024-01-26 12:54:07 -03:00
Sergio R. Caprile
b828be4873
no diff checks in nightly tests
2024-01-26 12:48:04 -03:00
Sergio R. Caprile
4045a541ef
Merge pull request #2590 from cesanta/rewact
...
Rework tests
2024-01-26 12:28:48 -03:00
Sergio R. Caprile
f7557c9e48
trigger
2024-01-26 12:27:04 -03:00
Sergio R. Caprile
7c62b5005e
work in progress
2024-01-26 12:15:48 -03:00
Sergey Lyubka
b804217501
Merge pull request #2581 from cesanta/2559
...
Fix #2559 : order of handlers: protocol first, user second
2024-01-26 14:03:54 +00:00
Sergio R. Caprile
c6128094b6
rebase and update file-transfer example
2024-01-26 10:40:59 -03:00
Sergey Lyubka
0fc0230364
Changed the order of handlers: protocol first, user second
2024-01-26 10:34:24 -03:00
Sergio R. Caprile
dd6458262d
Merge pull request #2588 from cesanta/ft
...
Add file transfer example
2024-01-25 15:12:49 -03:00
Sergio R. Caprile
eb68bb2ce1
Add file-transfer example
2024-01-25 15:05:48 -03:00
Sergio R. Caprile
8dc62c25ed
Merge pull request #2587 from cesanta/tls
...
Fix #2570 : close only when TLS buffers drained
2024-01-23 14:03:33 -03:00
Sergey Lyubka
d8fec13d2c
Fix #2570 : close only when TLS buffers drained
2024-01-23 11:10:15 +00:00
Sergey Lyubka
922d148ab5
Add misra target
2024-01-23 11:09:16 +00:00
Sergio R. Caprile
08f05d6f8c
Merge pull request #2585 from cesanta/fai
...
prefix PHY-related constants
2024-01-22 18:45:00 -03:00
Sergio R. Caprile
7bec3b4954
Merge pull request #2586 from cesanta/pos9
...
rename MG_ENABLE_FILE to MG_ENABLE_POSIX_FS
2024-01-22 16:48:17 -03:00
Sergio R. Caprile
4d3fba57d4
rename MG_ENABLE_FILE to MG_ENABLE_POSIX_FS
2024-01-22 16:21:57 -03:00
Sergio R. Caprile
1a8a144726
prefix PHY-related constants
2024-01-22 14:27:22 -03:00
Sergio R. Caprile
00ea3830a7
Merge pull request #2580 from cesanta/2552
...
Fix #2552 - reject requests with invalid/absent chunk length
2024-01-22 09:20:56 -03:00
Sergey Lyubka
3880300cd9
Add 256/64 build
2024-01-21 12:49:57 +00:00
Sergey Lyubka
6b0e4a425d
Fix #2552 - reject requests with invalid/absent chunk length
2024-01-20 09:35:01 +00:00
Sergey Lyubka
f883504d2d
Fix #2573 - GCC build warning in tls_builtin.c::mul()
2024-01-20 08:51:01 +00:00
robertc2000
a1c5995967
Merge pull request #2562 from cesanta/imxflash-2
...
RT1020 and RT1060 OTA
2024-01-19 15:55:35 +02:00
robert
8500afbbd4
RT1020 and RT1060 OTA
2024-01-19 02:47:23 -05:00
Sergio R. Caprile
13cb94cf2b
Merge pull request #2575 from cesanta/flexsdk
...
remove flexspi.h
2024-01-18 17:51:02 -03:00
Sergio R. Caprile
f26a79d75c
remove flexspi.h
2024-01-18 17:47:02 -03:00
Sergey Lyubka
68e2cd9b29
Fix WCH example
2024-01-17 18:07:25 +00:00
Sergio R. Caprile
6e44bab3d5
Merge pull request #2572 from cesanta/armccnodet
...
change mongoose_custom for Keil
2024-01-16 16:59:23 -03:00
Sergio R. Caprile
677fea7bfa
change mongoose_custom for Keil
2024-01-16 16:21:05 -03:00
Sergio R. Caprile
0d2ae10bd9
Merge pull request #2571 from cesanta/dhcpsidfb
...
Fallback to IP source address on DHCP servers not filling sid
2024-01-16 10:26:34 -03:00
Sergio R. Caprile
faa582040b
Fallback to IP source address on DHCP servers not filling sid
2024-01-16 09:56:05 -03:00
Sergey Lyubka
0ad4002569
Make TLS less verbose
2024-01-14 23:27:52 +00:00
Sergey Lyubka
dfc2e97d5e
Squash warning
2024-01-14 22:10:18 +00:00
Sergio R. Caprile
57159dc5c0
Merge pull request #2568 from cesanta/1020flash
...
default to flash 1020
2024-01-12 14:23:48 -03:00
Sergio R. Caprile
77ff1511ff
default to flash 1020
2024-01-12 14:20:46 -03:00
Sergio R. Caprile
124ab99995
Merge pull request #2554 from cesanta/1060flash
...
1060flash
2024-01-11 16:25:21 -03:00
Sergey Lyubka
8ea08306b8
Update year to 2024
2024-01-10 14:31:09 +00:00
Sergey Lyubka
3e0d20a335
Fix H573 example
2024-01-10 14:25:38 +00:00
Sergio R. Caprile
727b3d4f19
Merge pull request #2565 from cesanta/backlog
...
Set default listen backlog size back to 128
2024-01-10 08:45:33 -03:00
Sergey Lyubka
80782b289f
Set default listen backlog size back to 128
2024-01-10 11:10:43 +00:00
Sergey Lyubka
72127a4bed
README
2024-01-10 11:01:20 +00:00
Sergey Lyubka
d4a49e00e7
Add Usage section to README
2024-01-10 10:58:30 +00:00
Sergio R. Caprile
5826d0e41c
Merge pull request #2560 from cesanta/fn_data
...
remove fn_data from event handler signature
2024-01-09 15:40:46 -03:00
Sergio R. Caprile
68cb7ce8d9
cleanup
2024-01-09 14:55:04 -03:00
Sergio R. Caprile
514699fc41
cleanup
2024-01-09 14:54:19 -03:00
Sergio R. Caprile
deca1aaf46
remove fn_data from event handler signature
2024-01-09 14:51:19 -03:00
Sergey Lyubka
b8bfa5565b
Merge pull request #2556 from cesanta/mt12m
...
add multi-threaded one to many example
2024-01-07 19:04:53 +00:00
Sergio R. Caprile
50c7844031
Merge pull request #2557 from cesanta/xpresso
...
add RT1060 Xpresso example
2024-01-05 18:38:32 -03:00
Sergio R. Caprile
cba0d1b2f9
add RT1060 Xpresso example
2024-01-05 18:24:47 -03:00
Sergio R. Caprile
5735ee3269
default to flash 1060
...
workaround SysTick race condition in FreeRTOS example
2024-01-05 13:49:50 -03:00
Sergio R. Caprile
ee3593b887
add multi-threaded one to many example
2024-01-05 12:12:00 -03:00
Sergey Lyubka
9bebe7cf68
Update readme
2024-01-02 10:54:00 +00:00
Sergio R. Caprile
bd5e4dba26
Merge pull request #2551 from cesanta/mqttpayload
...
Avoid calling mg_send on no actual payload
2023-12-29 15:13:02 -03:00
Sergio R. Caprile
2427c40a4c
Avoid calling mg_send on no actual payload
2023-12-29 14:58:03 -03:00
Sergey Lyubka
744df7b244
Better checks in skip_chunk()
2023-12-29 11:59:02 +00:00
Sergey Lyubka
3965aecfd4
32/288, no TLS by default
2023-12-27 22:53:48 +00:00
Sergey Lyubka
93bcde0176
Enable TLS and 256/64 mode
2023-12-27 22:45:16 +00:00
Sergio R. Caprile
4b3884a49d
Update README.md
2023-12-27 18:34:59 -03:00
Sergey Lyubka
768908ae4a
Merge pull request #2547 from cesanta/opta
...
Add STM32H747I-DISCO example
2023-12-27 20:06:30 +00:00
Sergey Lyubka
1a965d5c43
Add STM32H747I-DISCO example
2023-12-27 20:04:53 +00:00
Sergey Lyubka
01b612cff5
WCH FW build fix. Introduce phy_addr for STM32F driver
2023-12-27 15:38:51 +00:00
Sergio R. Caprile
176db1aedb
remove some compiler warning
2023-12-23 19:02:05 -03:00
Sergey Lyubka
06f8238107
Fix TLS codepath for pending data. Reuse c->rtls
2023-12-22 16:17:06 +00:00
Sergio R. Caprile
97127a57da
Merge pull request #2542 from cesanta/pair
...
Add mg_wakeup()
2023-12-21 14:22:10 -03:00
Sergey Lyubka
61825b2390
Add mg_wakeup()
2023-12-21 14:03:33 -03:00
Sergio R. Caprile
669ffe2c74
Merge pull request #2543 from cesanta/gettimeofday
...
Remove gettimeofday implementation, to avoid clashes
2023-12-21 13:50:09 -03:00
Sergey Lyubka
a50b8ff5d7
Remove gettimeofday implementation, to avoid clashes
2023-12-21 15:05:07 +00:00
Sergey Lyubka
aae2954c14
Merge pull request #2541 from cesanta/multitls
...
default again to current doc defaults
2023-12-21 05:10:42 +00:00
Sergio R. Caprile
abab569778
default again to current doc defaults
2023-12-20 18:13:09 -03:00
Sergio R. Caprile
365a731574
Merge pull request #2540 from cesanta/reformat_comments
...
reformat comments
2023-12-20 16:58:56 -03:00
Sergio R. Caprile
285dc63c5c
reformat comments
2023-12-20 16:40:31 -03:00
Sergio R. Caprile
24d9fbffae
fix MQTT device
2023-12-20 14:49:25 -03:00
Sergey Lyubka
04178ad0f7
Merge pull request #2538 from cesanta/tls13
...
Add built-in TLS 1.3 stack: server side, EC support
2023-12-20 16:36:04 +00:00
Sergey Lyubka
a0e66fb9e6
Add built-in TLS 1.3 stack: server side, EC support
2023-12-20 11:04:31 +00:00
Sergio R. Caprile
df3c216315
Merge pull request #2535 from cesanta/hal
...
Move clock_init() to hal.h
2023-12-18 16:36:51 -03:00
Sergey Lyubka
e9a6bad751
Move clock_init() to hal.h
2023-12-18 19:21:12 +00:00
Sergio R. Caprile
4b7d871048
Merge pull request #2537 from cesanta/stm32driver
...
stm32 -> stm32f
2023-12-18 16:00:27 -03:00
Sergio R. Caprile
2528dd6425
stm32 -> stm32f
2023-12-18 14:33:49 -03:00
Sergey Lyubka
b3fcd9c420
Win32 build fixes
2023-12-17 10:14:08 +00:00
Sergey Lyubka
9270fc0b15
Allow to bypass CSS rebuild
2023-12-16 20:42:34 +00:00
Sergey Lyubka
33aa021e96
Allow to bypass CSS rebuild
2023-12-16 20:39:29 +00:00
Sergey Lyubka
1c78ed1fed
Prevent main.css rebuild
2023-12-16 20:19:21 +00:00
Sergey Lyubka
562c318648
Recreate packed fs
2023-12-16 20:11:59 +00:00
Sergey Lyubka
65cb894f0d
Change TLS port
2023-12-16 20:01:52 +00:00
Sergey Lyubka
bbd27a0a9c
MQTT dashboard nitpicks
2023-12-16 19:57:18 +00:00
Sergio R. Caprile
79e138ef28
Merge pull request #2534 from cesanta/stm32driver
...
stm32 -> stm32f
2023-12-15 22:19:20 -03:00
Sergio R. Caprile
387334c8c2
stm32 -> stm32f
2023-12-15 21:55:52 -03:00
Sergio R. Caprile
cd021daf79
Merge pull request #2531 from cesanta/mqttrndis
...
Add MQTT device through RNDIS example
2023-12-15 13:39:21 -03:00
Sergey Lyubka
536aa1fb62
Fix post-OTA status save
2023-12-15 11:32:46 +00:00
Sergio R. Caprile
a14a838dab
undo leftover from PR 2508
2023-12-14 11:52:19 -03:00
Sergio R. Caprile
ad57731ae1
Add MQTT device through RNDIS example
2023-12-13 17:24:52 -03:00
Sergio R. Caprile
ad90b0b7b1
fix for new IDF required version
2023-12-13 17:24:16 -03:00
Sergio R. Caprile
18325cb216
Merge pull request #2529 from cesanta/573
...
Add Discovery STM32H573I-DK examples
2023-12-13 11:45:43 -03:00
Sergio R. Caprile
8df70ba58b
Add Discovery STM32H573I-DK examples
2023-12-13 10:50:28 -03:00
Sergey Lyubka
ee43a5389f
Merge pull request #2522 from cesanta/mqttd
...
MQTT Dashboard fixes/updates
2023-12-13 11:53:59 +00:00
Sergio R. Caprile
6192573eb8
Merge pull request #2525 from cesanta/bquiet
...
Be less verbose on unkown eth types
2023-12-10 16:21:50 -03:00
Sergio R. Caprile
92ecef7bd3
Be less verbose on unkown eth types
2023-12-10 15:17:20 -03:00
Sergio R. Caprile
45d7f4ca7e
Merge pull request #2523 from cesanta/am
...
TLS layer: c->rtls to optimise recvd TLS data
2023-12-10 14:54:25 -03:00
cpq
144c2f443e
TLS layer: c->rtls to optimise recvd TLS data
2023-12-10 12:18:07 +00:00
Sergey Lyubka
98d877c5f0
Reenable UART logging to fix the test
2023-12-10 12:17:54 +00:00
Sergio R. Caprile
9de31ba816
updates
2023-12-08 18:36:59 -03:00
Sergio R. Caprile
560561c5b7
fixes
2023-12-08 16:35:03 -03:00
Sergey Lyubka
ed2d4c1c2b
Merge pull request #2519 from cesanta/prof
...
Add profiling capability
2023-12-08 18:43:14 +00:00
Sergio R. Caprile
e70628cbdc
Merge pull request #2518 from cesanta/tls
...
Move TLS API to tls.h, fix builtin handshake codepath
2023-12-08 14:54:50 -03:00
Sergio R. Caprile
161edec195
Merge pull request #2521 from cesanta/z
...
update to current TLS API
2023-12-08 14:49:45 -03:00
Sergio R. Caprile
2ba4a74762
update to current API
2023-12-08 14:41:10 -03:00
cpq
693316de44
Add profiling capability
2023-12-08 17:00:42 +00:00
cpq
6e68124405
Move TLS API to tls.h, fix builtin handshake codepath
2023-12-08 00:30:09 +00:00
Sergio R. Caprile
c8105cffba
Merge pull request #2517 from cesanta/mqttest
...
refactor matrix build tests, add mqtt-dashboard build tests for embed…
2023-12-07 11:44:41 -03:00
Sergio R. Caprile
21f6944fc7
refactor matrix build tests, add mqtt-dashboard build tests for embedded targets
2023-12-07 11:42:45 -03:00
Sergio R. Caprile
5adcba7ba1
Merge pull request #2515 from cesanta/imxflash
...
fix for flash boot (ROM changes defaults)
2023-12-06 17:52:49 -03:00
Sergio R. Caprile
fc8ba744dc
fix for flash boot (ROM changes defaults)
2023-12-06 17:45:22 -03:00
Sergey Lyubka
4fc43cfbf7
Merge pull request #2514 from cesanta/mqtt2
...
Mock LED settings
2023-12-06 09:43:02 +00:00
cpq
22837f93c8
Mock LED settings
2023-12-06 09:41:48 +00:00
cpq
b03ececbbb
Disable mbedtls, add flash target
2023-12-06 09:10:46 +00:00
Sergio R. Caprile
708908dce5
Merge pull request #2511 from cesanta/workflow
...
hw tests
2023-12-04 17:23:10 -03:00
Sergio R. Caprile
f33302acc9
hw tests
2023-12-04 17:21:48 -03:00
Sergio R. Caprile
7f8cdf1e79
fs ls
2023-12-01 20:43:39 -03:00
Sergey Lyubka
dbc7b5e70b
Merge pull request #2509 from cesanta/te
...
Fix #2460 - sanity check of the Transfer-Encoding: chunked header
2023-12-01 13:48:35 +00:00
cpq
4c445453d3
Fix #2460 - sanity check of the Transfer-Encoding: chunked header
2023-12-01 11:24:32 +00:00
cpq
4b8fb23def
Typo in v307 makefile
2023-12-01 08:36:18 +00:00
cpq
253bc64c9e
Add zip target
2023-12-01 00:03:31 +00:00
cpq
32d3fc6803
Add zip target
2023-12-01 00:02:48 +00:00
Sergey Lyubka
920875ecc9
Merge pull request #2508 from cesanta/v307
...
Use V307 flash
2023-12-01 00:01:20 +00:00
cpq
85d3e7f375
Use V307 flash
2023-11-30 23:51:34 +00:00
Sergio R. Caprile
4ceb50d485
more Mongoose-style
2023-11-30 12:16:56 -03:00
Sergey Lyubka
7d2fca9574
Merge pull request #2505 from cesanta/mqttdevice
...
more Mongoose-style
2023-11-30 11:15:39 +00:00
Sergey Lyubka
d88e60a525
Merge pull request #2501 from cesanta/opthwtst
...
test specific hw example
2023-11-30 11:14:43 +00:00
Sergio R. Caprile
4b4dcb20ca
more Mongoose-style
2023-11-29 16:14:09 -03:00
Sergio R. Caprile
d4ab0aa7fd
Merge pull request #2503 from cesanta/imxflash
...
Generate flash images for RT10xx
2023-11-29 11:04:38 -03:00
Sergio R. Caprile
c02c1130ed
Generate flash images
...
TODO(scaprile): check when and if following is needed
flash_init(); // setup pins and clocks to access board flash
2023-11-29 10:47:05 -03:00
Sergio R. Caprile
f9bbb37721
Merge pull request #2502 from cesanta/fixcubex
...
fix text
2023-11-28 20:13:28 -03:00
Sergio R. Caprile
57837f285f
fix text
2023-11-28 19:55:27 -03:00
Sergio R. Caprile
3379f11b23
test specific hw example
2023-11-28 19:34:05 -03:00
Sergey Lyubka
c74534cf5e
Merge pull request #2495 from cesanta/modbus
...
Add modbus dashboard
2023-11-27 21:31:37 +00:00
cpq
64ca1ad787
Add modbus dashboard
2023-11-27 21:26:19 +00:00
Sergey Lyubka
8022635c04
Merge pull request #2494 from cesanta/mqttws
...
make Mosquitto happy
2023-11-27 13:13:14 +00:00
Sergio R. Caprile
1f37595200
make Mosquitto happy
2023-11-26 15:38:28 -03:00
Sergio R. Caprile
30738f6638
Merge pull request #2493 from cesanta/wake
...
Fix #2456 - wake up mongoose thread
2023-11-25 09:27:52 -03:00
cpq
bd53e46873
Do not allow invalid UTF8 in method, uri, header names
2023-11-25 11:33:07 +00:00
cpq
122115dbea
Fix #2456 - wake up mongoose thread
2023-11-25 08:28:39 +00:00
Sergey Lyubka
28162f8034
Merge pull request #2492 from cesanta/xpro
...
Fix #2487 - correct GMAC_DCFGR, receive size -> full size
2023-11-25 08:05:52 +00:00
cpq
9cfd3124ef
Fix #2487 - correct GMAC_DCFGR, receive size -> full size
2023-11-25 08:04:38 +00:00
Sergey Lyubka
36748ee406
Merge pull request #2486 from cesanta/st_v307
...
Post-IRQ DMASR flags cleanup
2023-11-25 07:49:32 +00:00
Sergey Lyubka
2a25e449a2
Merge pull request #2476 from cesanta/mqtt-dashboard-part-2
...
Added MQTT Dashboard support for H723ZG
2023-11-24 10:45:49 +00:00
cpq
f2f60a7b3b
Post-IRQ DMASR flags cleanup
2023-11-24 10:43:56 +00:00
cpq
82916a1cef
Wrap dirty IRQ flag cleanup for v307 into a conditional
2023-11-22 15:41:45 +00:00
Sergey Lyubka
f86c14abb3
Merge pull request #2485 from cesanta/ch32v307
...
Add example for ch32v307
2023-11-22 10:23:48 +00:00
cpq
fa76312313
Add example for ch32v307
2023-11-22 10:22:10 +00:00
robert
46687f6fe3
Added MQTT Dashboard support for H723ZG
2023-11-20 02:08:07 -05:00
Sergio R. Caprile
6386cdff50
Merge pull request #2478 from cesanta/mg_bit
...
BIT -> MG_BIT in drivers
2023-11-16 17:32:49 -03:00
Sergio R. Caprile
7c25c0d6f3
BIT -> MG_BIT
2023-11-16 17:11:04 -03:00
Sergio R. Caprile
8ed57f57cb
Merge pull request #2475 from cesanta/rt
...
Rt
2023-11-15 19:28:36 -03:00
Sergio R. Caprile
c8f207c277
rename iMX-RT
2023-11-15 19:27:20 -03:00
Sergio R. Caprile
d70d9aff11
fix bits not being reset
2023-11-15 16:33:20 -03:00
cpq
1118c997b5
Nitpick - simple handler changed
2023-11-15 18:41:03 +00:00
Sergio R. Caprile
b999275550
fix Teensy PHY code in _up
2023-11-15 10:46:44 -03:00
Sergey Lyubka
f549646ddd
Merge pull request #2474 from cesanta/rtphy
...
update PHY code in _up
2023-11-15 08:27:38 +00:00
Sergey Lyubka
5ee8552e6c
Merge pull request #2472 from cesanta/mqtt-dashboard
...
Added MQTT Dashboard
2023-11-14 12:34:03 +00:00
robert
b0eb7b6dec
Added MQTT Dashboard
2023-11-14 05:52:33 -05:00
Sergio R. Caprile
a546d360d0
update PHY code in _up
2023-11-13 23:54:37 -03:00
Sergio R. Caprile
3cc8a98b9d
Merge pull request #2473 from cesanta/db
...
update screenshot and README
2023-11-13 11:22:46 -03:00
Sergio R. Caprile
1032f0ade7
update screenshot and README
2023-11-13 09:55:54 -03:00
cpq
eb65d269eb
Disable noisy debug
2023-11-13 01:57:59 +00:00
cpq
b379f81004
Nit picks
2023-11-13 01:56:50 +00:00
Sergey Lyubka
d1b0342a18
Merge pull request #2468 from cesanta/teensy
...
Add teensy41 example
2023-11-11 21:28:28 +00:00
cpq
b815e6bc04
Add teensy41 example
2023-11-11 21:22:00 +00:00
Sergio R. Caprile
81bf65954c
Merge pull request #2469 from cesanta/std
...
standardize build options
2023-11-09 14:44:34 -03:00
Sergio R. Caprile
9cfe72af4a
standardize build options
2023-11-09 14:40:12 -03:00
Sergey Lyubka
7c2e1e1339
Merge pull request #2459 from cesanta/openssl
...
Wrap OpenSSL errors in Mongoose log
2023-11-08 17:08:04 +00:00
Sergio R. Caprile
817115cb6c
Merge pull request #2467 from cesanta/std
...
standardize naming and build options
2023-11-08 14:00:52 -03:00
Sergio R. Caprile
7a3734e54d
standardize naming and build options
2023-11-08 13:54:44 -03:00
Sergio R. Caprile
79c3341f74
Merge pull request #2465 from cesanta/std
...
standardize build options
2023-11-07 17:23:44 -03:00
Sergio R. Caprile
abdd14b0a1
standardize build options
2023-11-07 17:05:41 -03:00
Sergio R. Caprile
1f77e53b23
Wrap OpenSSL errors in Mongoose log
2023-11-06 17:24:30 -03:00
Sergey Lyubka
a619de0508
Merge pull request #2455 from cesanta/micropython
...
Add Micropython on ESP32 example
2023-11-04 13:31:44 +00:00
Sergio R. Caprile
8faa11585c
Add Micropython on ESP32 example
2023-11-03 19:15:57 -03:00
Sergio R. Caprile
13259f8902
Merge pull request #2452 from cesanta/tlsbuiltin
...
Make tls_builtin build with current API
2023-11-03 15:02:27 -03:00
Sergio R. Caprile
bb5aba2e19
Make tls_builtin build with current API
2023-11-03 14:02:41 -03:00
Sergio R. Caprile
22fc01d5f2
workaround warning in mbedTLS code
2023-11-03 14:02:08 -03:00
Sergio R. Caprile
3b4672c109
workaround warning in mbedTLS code
2023-11-03 10:37:14 -03:00
Sergey Lyubka
351bd42bc4
Merge pull request #2450 from cesanta/micropython
...
Add Micropython example
2023-11-03 06:35:38 +00:00
Sergio R. Caprile
e418da4bd8
Merge pull request #2451 from cesanta/fastclose
...
Allow fast close
2023-11-02 18:52:11 -03:00
Sergio R. Caprile
18d13f9848
Allow fast close
2023-11-02 18:27:39 -03:00
Sergio R. Caprile
ee792db6a3
Add Micropython example
2023-11-02 18:17:33 -03:00
Sergio R. Caprile
129bf93b30
Merge pull request #2448 from cesanta/fixh743f
...
Fix H743 FreeRTOS early SysTick crash
2023-11-02 15:14:27 -03:00
Sergio R. Caprile
1dda8b9e60
Fix H743 FreeRTOS early SysTick crash
2023-11-02 14:58:52 -03:00
Sergey Lyubka
107e303282
Merge pull request #2445 from cesanta/cmsis-driver
...
Add driver for CMSIS-Driver
2023-11-02 14:55:16 +00:00
Sergey Lyubka
22f76091a2
Merge pull request #2446 from cesanta/o2
...
Single bank OTA
2023-11-02 14:55:01 +00:00
cpq
376e5ccaae
Single bank OTA
2023-11-02 09:30:55 +00:00
Sergio R. Caprile
b792304cf8
Add driver for CMSIS-Driver
2023-11-01 17:26:34 -03:00
Sergio R. Caprile
b357485523
Merge pull request #2444 from cesanta/mqttst
...
improve randomness in non-random test environments
2023-10-31 19:24:26 -03:00
Sergio R. Caprile
07936343c8
improve randomness in non-random environments
2023-10-31 19:17:58 -03:00
Sergio R. Caprile
1b93ca0fb2
Merge pull request #2443 from cesanta/h563
...
fix H563 FreeRTOS Cortex-M33 port SystemInit
2023-10-31 12:43:36 -03:00
Sergio R. Caprile
18cd18d1e5
fix H563 FreeRTOS Cortex-M33 port SystemInit
2023-10-31 12:40:18 -03:00
Sergio R. Caprile
deab6772e8
Merge pull request #2442 from cesanta/nerr
...
honor ifp->nerr
2023-10-31 12:06:44 -03:00
Sergey Lyubka
d6d2d7575a
Merge pull request #2441 from cesanta/mqttst
...
improve MQTT test speed
2023-10-30 23:12:30 +00:00
Sergio R. Caprile
d63ec65663
honor ifp->nerr
2023-10-30 16:36:35 -03:00
Sergio R. Caprile
f0a927831e
improve MQTT test speed
2023-10-30 16:20:55 -03:00
Sergey Lyubka
ef16a733d2
Merge pull request #2440 from cesanta/h723
...
Fix H723 FreeRTOS example failing on some compiler versions with optimizer on
2023-10-30 17:55:29 +00:00
Sergio R. Caprile
9044c02edc
Fix H723 FreeRTOS example failing on some compiler versions with optimizer on
2023-10-30 14:13:28 -03:00
Sergey Lyubka
2fa98b00f2
Merge pull request #2437 from cesanta/rt1060
...
Add RT1060 examples
2023-10-27 20:42:42 +01:00
Sergio R. Caprile
15b4d566e7
Add RT1060 examples
2023-10-27 16:19:12 -03:00
Sergio R. Caprile
6dabbe237d
unbreak RT1020 examples after removing IMX prefix
2023-10-25 14:56:29 -03:00
cpq
2caff93f83
Remove IMX, imx prefix for NXP
2023-10-24 17:30:22 +01:00
Sergio R. Caprile
2903937cba
fix old trashing
2023-10-23 16:32:51 -03:00
Sergey Lyubka
c33fd6a7fb
Merge pull request #2429 from cesanta/h723
...
H7 combo
2023-10-17 10:22:00 +01:00
Sergio R. Caprile
64180e8fe8
minor fixes for H743
...
Clock H723 at 550MHz, fix RNG initialization
Add FreeRTOS example for H723
Add tests
2023-10-16 17:27:02 -03:00
Sergey Lyubka
001134af89
Merge pull request #2424 from cesanta/unit-test-coverage
...
Improved test coverage
2023-10-14 10:59:01 +01:00
cpq
b91044dea7
Update UM
2023-10-14 10:34:41 +01:00
robert
34639f86b0
Improved test coverage
2023-10-13 07:22:21 -04:00
Sergio R. Caprile
32559f15ea
fix Github editor line ending creativity
2023-10-12 10:56:38 -03:00
Sergio R. Caprile
b10eef1e32
Update version in mongoose.h
2023-10-12 10:44:58 -03:00
Sergio R. Caprile
7c4911598c
Update version.h
2023-10-12 10:27:55 -03:00
Sergio R. Caprile
efacb20bdc
Merge pull request #2423 from cesanta/same
...
rename same54
2023-10-11 17:36:09 -03:00
Sergio R. Caprile
2e6188205f
rename same54
2023-10-11 16:58:21 -03:00
Sergio R. Caprile
83fec2cf45
cleanup
2023-10-11 16:39:24 -03:00
Sergio R. Caprile
9be36eb9cb
Merge pull request #2422 from cesanta/tcp
...
Fix tcp example for 2-way TLS
2023-10-11 16:34:12 -03:00
Sergio R. Caprile
a51802ecaf
Fix tcp example for 2-way TLS
2023-10-11 16:25:24 -03:00
Sergio R. Caprile
b1c220e610
Remove mg_mkpipe() leftovers
2023-10-10 18:16:02 -03:00
Sergey Lyubka
36f6b805e3
Merge pull request #2421 from cesanta/h723
...
Add h723 example
2023-10-10 19:19:51 +01:00
Sergey Lyubka
64efad9e46
Merge pull request #2419 from cesanta/rt1020
...
Add FreeRTOS example for RT1020
2023-10-10 07:57:05 +01:00
Sergio R. Caprile
8a8d5ce151
Add FreeRTOS example for RT1020
2023-10-09 17:03:58 -03:00
Sergey Lyubka
907417f9ec
Merge pull request #2418 from cesanta/rt1020
...
Add TRNG
2023-10-09 17:24:39 +01:00
Sergio R. Caprile
0965177e72
Add TRNG
2023-10-09 13:03:52 -03:00
cpq
7d07ca8427
Add drivers
2023-10-09 09:36:43 +01:00
Sergey Lyubka
d18b2b390a
Merge pull request #2415 from cesanta/json
...
Add mg_json_next() for iterating objects/arrays
2023-10-09 07:55:44 +01:00
Sergey Lyubka
fefe8b1c15
Merge pull request #2416 from cesanta/log
...
Add MG_ENABLE_CUSTOM_LOG
2023-10-09 07:55:31 +01:00
cpq
ea2ff010a9
Add MG_ENABLE_CUSTOM_LOG
2023-10-08 17:09:14 +01:00
cpq
e357cb3185
Bump up max DNS responses 10->15
2023-10-08 15:30:18 +01:00
cpq
293ee2162c
Add mg_json_next() for iterating objects/arrays
2023-10-07 22:40:51 +01:00
cpq
c29ee769bc
Fix comment
2023-10-07 17:58:20 +01:00
Sergey Lyubka
82399f1561
Merge pull request #2414 from cesanta/rt1020
...
Rework RT1020 driver
2023-10-07 11:21:29 +01:00
Sergio R. Caprile
9255ceaf8a
Rework RT1020 driver
...
Add web server in example
Add to tests
2023-10-06 16:56:00 -03:00
cpq
bb9c7c0eb3
Handle ECOS case in accept_conn()
2023-10-06 15:58:26 +01:00
Sergey Lyubka
8ec327f9c7
Merge pull request #2407 from cesanta/rt1020
...
Add RT1020-EVK baremetal example
2023-10-05 14:19:00 +01:00
Sergio R. Caprile
c9b982eaff
add update script to Makefile
2023-10-04 16:31:50 -03:00
Sergio R. Caprile
248e7b6e29
Add RT1020-EVK baremetal example
2023-10-04 15:18:57 -03:00
Sergey Lyubka
cb1ae312a1
Merge pull request #2404 from cesanta/g031
...
Add nucleo-g031 baremetal example
2023-10-04 15:39:19 +01:00
cpq
aec25cf547
Add h723 example
2023-10-04 11:11:56 +01:00
cpq
4db3fc2515
dd nucleo-g031 baremetal example
2023-10-03 13:55:47 +01:00
Sergey Lyubka
79d6017c56
Merge pull request #2402 from cesanta/bcast
...
send broadcasts in MIP
2023-10-03 13:53:58 +01:00
Sergio R. Caprile
d4c122b17a
send broadcasts in MIP
2023-10-02 13:37:27 -03:00
cpq
57fd93eeda
Fix ring color
2023-10-01 23:20:42 +01:00
cpq
19cac05747
Enhance components
2023-10-01 23:08:10 +01:00
Sergey Lyubka
5ebede5096
Merge pull request #2395 from cesanta/scopeid
...
Fix #2192 - honor addr%scopeid ipv6 notation
2023-09-29 15:52:40 +01:00
cpq
46ecb07fc8
Fix #2192 - honor addr%scopeid ipv6 notation
2023-09-29 15:49:47 +01:00
cpq
a628a05efb
Restore pub. domain notice
2023-09-29 13:09:29 +01:00
cpq
fc626bb57f
Update pakced fs
2023-09-28 16:27:58 +01:00
cpq
1291839182
Update packed fs
2023-09-28 15:09:34 +01:00
Sergey Lyubka
736e7a2cf9
Merge pull request #2394 from cesanta/chunks
...
Get rid of MG_EV_HTTP_CHUNK
2023-09-26 20:45:40 +01:00
cpq
7884a2f3c7
Get rid of MG_EV_HTTP_CHUNK
2023-09-26 20:45:24 +01:00
Sergey Lyubka
dde699ffda
Merge pull request #2393 from cesanta/ota-api-refactoring
...
OTA API refactoring: renamed files and defines
2023-09-26 14:15:49 +01:00
robert
fa54a22aed
OTA API refactoring: renamed files and defines
2023-09-26 08:33:39 -04:00
cpq
822b0c011a
Add sys_flash.c for common mg_flash_{load,save}
2023-09-25 07:55:35 +01:00
cpq
a0f8a197c9
Split sys.h API over MG_SYS_*
2023-09-25 07:33:38 +01:00
Sergey Lyubka
7e75e51332
Merge pull request #2392 from cesanta/flash2
...
Commonise flash-based OTA. Add h7 support.
2023-09-25 05:21:52 +01:00
cpq
b37efbe891
Commonise flash-based OTA. Add h7 support.
2023-09-24 21:55:49 +01:00
cpq
6e648c90b0
Added OTA to the feature list
2023-09-24 21:18:02 +01:00
cpq
377d6acc74
Fix leak in unit test
2023-09-22 08:12:09 +01:00
Sergey Lyubka
f552d15fe4
Merge pull request #2390 from cesanta/tickets
...
Restore tickets support
2023-09-21 19:08:08 +01:00
cpq
d1204e8a66
Better chunk length calculation
2023-09-21 19:04:32 +01:00
cpq
9ec48e41f7
Restore tickets support
2023-09-21 18:43:33 +01:00
Sergey Lyubka
9055a83b4f
Merge pull request #2388 from cesanta/dns
...
dns.c slight refactor, no functional changes
2023-09-21 13:38:23 +01:00
cpq
dd047b2613
dns.c slight refactor, no functional changes
2023-09-21 13:38:06 +01:00
Sergey Lyubka
b7a32069b1
Merge pull request #2389 from cesanta/ipv6
...
Address discussions/2305 - bind to v6 only / v6 and v4
2023-09-21 13:37:29 +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
Sergio R. Caprile
33ab44430c
Merge pull request #2386 from cesanta/timer
...
Revert to the old TLS API, but keep certs as mg_str for DER
2023-09-19 12:17:56 -03:00
Sergio R. Caprile
b355da32b9
Add GA OpenSSL tests back
2023-09-19 12:08:02 -03: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
cpq
7ecbbc517d
Using mg_bzero to cleanup memory in mg_close_conn()
2023-09-17 22:25:36 +01:00
cpq
a04c94444e
Add rt1020 baremetal sketch
2023-09-17 10:41:04 +01:00
Sergio R. Caprile
42b9ac1145
update
2023-09-12 18:30:23 -03:00
Sergio R. Caprile
7be4925c70
Merge pull request #2384 from cesanta/p_open
...
Do not use CLOEXEC on Windows
2023-09-12 18:28:39 -03:00
Sergio R. Caprile
7b19568683
Do not use CLOEXEC on Windows
2023-09-12 17:11:55 -03:00
Sergio R. Caprile
8f56779855
Merge pull request #2383 from cesanta/poll
...
Optimize test coverage
2023-09-12 16:41:17 -03:00
Sergio R. Caprile
fdfad8462c
Optimize test coverage
2023-09-12 16:28:10 -03:00
Sergio R. Caprile
3773ef45e7
Optimize test coverage
2023-09-12 16:22:54 -03:00
Sergio R. Caprile
c0ca3cacb4
Fixing test.yml
2023-09-12 15:05:29 -03:00
Sergio R. Caprile
bed0630698
Fixing test.yml
2023-09-12 09:13:38 -03:00
Sergey Lyubka
53baa18836
Merge pull request #2380 from cesanta/ip-fragmentation-2
...
IP fragmentation send path: added TCP/UDP packet splitting to fit within MTU
2023-09-12 12:51:04 +01:00
Sergey Lyubka
32a2144426
Merge pull request #2382 from cesanta/poll
...
increase test coverage
2023-09-12 12:50:50 +01:00
robert
264026acde
added TCP/UDP packet splitting to fit within MTU
2023-09-12 07:05:13 -04:00
Sergio R. Caprile
43503ef73a
increase test coverage
2023-09-11 17:46:25 -03:00
Sergio R. Caprile
7f52717e9d
increase test coverage
2023-09-11 17:41:36 -03:00
Sergio R. Caprile
bd59185ef1
Merge pull request #2381 from cesanta/tls
...
add host only validation
2023-09-11 16:38:18 -03:00
Sergio R. Caprile
310ffcd4eb
add host only validation
2023-09-11 16:34:24 -03:00
cpq
d23664a457
Move network code to net.*
2023-09-08 09:39:57 +01:00
Sergio R. Caprile
a1e316ddcf
make TCP example work with new TLS API
2023-09-06 18:50:33 -03:00
Sergio R. Caprile
e328758fc7
Merge pull request #2379 from cesanta/tls
...
unifomize TLS examples, stage 1
2023-09-06 16:55:46 -03:00
Sergio R. Caprile
dbf49255a3
fix
2023-09-06 16:19:21 -03:00
Sergio R. Caprile
1391bdcf8b
remove certs.h
2023-09-06 15:49:02 -03:00
Sergio R. Caprile
d8106a8ffe
use packed ca.pem
2023-09-06 15:21:16 -03:00
Sergio R. Caprile
ae55789c4b
erase ca.pem
2023-09-06 15:21:16 -03:00
Sergio R. Caprile
ec02ccf5b2
Merge pull request #2377 from cesanta/h5
...
uniformize examples
2023-09-05 13:43:39 -03:00
Sergio R. Caprile
f970cd78d7
uniformize examples
2023-09-05 13:36:46 -03:00
Sergio R. Caprile
8140ea16a7
Merge pull request #2371 from cesanta/cloexec
...
Fix #2369 - set CLOEXEC on epoll and regular file fds
2023-09-05 10:15:58 -03:00
Sergey Lyubka
2883709756
Merge pull request #2370 from cesanta/ota
...
Add OTA to the device dashboard. Implement for H5
2023-09-05 13:28:22 +01:00
cpq
ca4c2c6c41
Set CLOEXEC on epoll and regular file fds
2023-09-05 06:56:41 +01:00
Sergey Lyubka
fbc56f4adf
Merge pull request #2367 from cesanta/ip-fragmentation
...
closing connection if a fragmented packet is received
2023-09-05 06:34:29 +01:00
cpq
2f014237b2
Add OTA to the device dashboard. Implement for H5
2023-09-04 22:07:32 +01:00
robert
f33e3a7752
closing connection if a fragmented packet is received
2023-08-30 10:30:51 -04:00
cpq
d5b5cec797
Make fuzzer faster on large input/output
2023-08-26 00:52:24 +01:00
Sergey Lyubka
f8e1f17651
Merge pull request #2366 from cesanta/h5
...
Add FreeRTOS example on H5
2023-08-25 21:21:41 +01:00
Sergio R. Caprile
be58bfe22b
Add FreeRTOS example on H5
2023-08-25 17:15:26 -03:00
Sergey Lyubka
995a63dc39
Merge pull request #2364 from cesanta/braces
...
Style: always braces around if + else
2023-08-25 15:00:52 +01:00
cpq
e8d57ac4e1
Style: always braces around if + else
2023-08-25 14:46:38 +01:00
Sergio R. Caprile
eab3a83548
Merge pull request #2362 from cesanta/h5
...
Update H5 HAL, enable RNG, work at 250MHz, add to tests
2023-08-24 13:35:37 -03:00
Sergio R. Caprile
3fb9e5fd56
Update H5 HAL, enable RNG, work at 250MHz, add to tests
2023-08-24 13:32:37 -03:00
Sergio R. Caprile
41448278cf
Merge pull request #2360 from cesanta/h7
...
Fix sysinit in H7
2023-08-23 14:37:21 -03:00
cpq
48516b43c5
Use device 11
2023-08-23 00:38:57 +01:00
Sergio R. Caprile
80b7be0568
Fix sysinit in H7
2023-08-22 19:58:19 -03:00
Sergey Lyubka
4183552aee
Merge pull request #2358 from cesanta/b64
...
Change base64 API
2023-08-22 14:43:33 +01:00
cpq
527e89754e
Change base64 API
2023-08-22 12:11:13 +01:00
robertc2000
30e0f42c97
Merge pull request #2357 from cesanta/tcpip-conn-init
...
improved tcp connection initiation
2023-08-22 09:30:24 +03:00
Sergio R. Caprile
39b40daf5d
cleanup
2023-08-21 19:34:04 -03:00
Sergio R. Caprile
94636f4d30
Merge pull request #2355 from cesanta/mqtt54
...
Add MQTT example and test for SAME54
2023-08-21 19:27:17 -03:00
Sergio R. Caprile
fd53548c5e
Add MQTT example and test for SAME54
2023-08-21 19:24:33 -03:00
Sergio R. Caprile
354ea30797
Add MQTT example and test for SAME54
2023-08-21 19:11:50 -03:00
Sergio R. Caprile
11303e0dc1
Merge pull request #2354 from cesanta/tst
...
Add MQTT test for MIP
2023-08-21 17:26:24 -03:00
Sergio R. Caprile
b4c645f703
Add MQTT test for MIP
2023-08-21 17:22:42 -03:00
cpq
3256218fd2
Do uri len check after it is finalised
2023-08-21 17:16:48 +01:00
robert
a4f14b0ddf
improved tcp connection initiation
2023-08-21 10:22:53 -04:00
Sergio R. Caprile
e7459d91f9
Merge pull request #2353 from cesanta/certs
...
Store certs in certs/. Add mg_unpacked()
2023-08-21 09:52:10 -03:00
cpq
b32d1c15f0
Store certs in certs/. Add mg_unpacked()
2023-08-20 23:43:04 +01:00
Sergio R. Caprile
1e0d57a832
Merge pull request #2352 from cesanta/mip
...
Unify naming: all network stacks are in src/net_...
2023-08-18 16:40:57 -03:00
cpq
f3617a1cf3
Add integer overflow protection
2023-08-18 20:33:57 +01:00
cpq
89a9a50b96
Unify naming: all network stacks are in src/net_...
2023-08-18 19:59:15 +01:00
cpq
69d2ba7316
Add example for nucleo-h563zi
2023-08-18 16:06:17 +01:00
robertc2000
3ea5f8dbde
Merge pull request #2344 from cesanta/tcp-closure
...
improved tcp closure
2023-08-18 14:06:41 +03:00
Sergio R. Caprile
d56152875d
Merge pull request #2350 from cesanta/deprecate
...
deprecate mg_mkpipe()
2023-08-17 18:32:39 -03:00
Sergio R. Caprile
7459d30a28
deprecate mg_mkpipe()
2023-08-17 18:05:03 -03:00
Sergio R. Caprile
16bf9101aa
Merge pull request #2349 from cesanta/isclosing
...
is_closing -> is_draining
2023-08-17 16:52:51 -03:00
Sergio R. Caprile
2b20af36a7
is_closing -> is_draining
2023-08-17 16:45:10 -03:00
robert
f5e87cceec
improved tcp closure
2023-08-17 10:34:31 -04:00
Sergey Lyubka
36fcb7ed21
Merge pull request #2347 from cesanta/cl
...
Fix #2322 - stricter Content-Length check, allow 1*DIGIT only
2023-08-17 14:58:01 +01:00
cpq
9fe7807b02
Fix #2322 - stricter Content-Length check, allow 1*DIGIT only
2023-08-17 12:55:08 +01:00
Sergey Lyubka
88e3017ee5
Merge pull request #2348 from cesanta/dns
...
Fix #2263 - allow multiple errors in DNS handler
2023-08-17 10:12:16 +01:00
cpq
17f3738192
Fix #2263 - allow multiple errors in DNS handler
2023-08-17 10:11:21 +01:00
Sergey Lyubka
6cfdc39005
Merge pull request #2346 from cesanta/regex
...
Fix #2345 - json parsing of arrays of objects
2023-08-16 22:10:13 +01:00
cpq
58886a9693
Fix #2345 - json parsing of arrays of objects
2023-08-16 22:09:45 +01:00
Sergey Lyubka
66e022c454
Merge pull request #2343 from cesanta/fuz
...
Add http serve to fuzzer
2023-08-16 20:46:27 +01:00
cpq
ea3968601e
Add http serve to fuzzer
2023-08-16 20:18:52 +01:00
Sergio R. Caprile
54be13d1d8
Merge pull request #2342 from cesanta/pio
...
Fix PIO assembly error
2023-08-14 16:17:37 -03:00
Sergio R. Caprile
22ea825d46
Fix PIO assembly error
2023-08-14 16:15:27 -03:00
Sergio R. Caprile
8c03aa2801
nit
2023-08-10 19:37:47 -03:00
Sergio R. Caprile
5bb952260a
Merge pull request #2340 from cesanta/same54
...
SAME54 Ethernet driver
2023-08-10 19:26:50 -03:00
Sergio R. Caprile
face6c44c6
SAME54 Ethernet driver
...
Add tls_builtin.c
2023-08-10 18:59:23 -03:00
Sergio R. Caprile
66c2bfe822
Merge pull request #2339 from cesanta/revert-2336-foo
...
Revert "Foo"
2023-08-10 18:16:38 -03:00
Sergio R. Caprile
3721bcc790
Revert "Foo"
2023-08-10 17:48:55 -03:00
Sergio R. Caprile
cacab6fe4c
Merge pull request #2338 from cesanta/keil
...
Keil
2023-08-09 17:17:57 -03:00
scaprile
6ad8674cd4
Add F4 Keil examples
2023-08-09 14:23:10 -03:00
novlean
847990ce49
Update README.md
...
Added URL to https://mongoose.ws/integration/
2023-08-09 17:50:57 +01:00
scaprile
1bfdc1f138
Add hw testing
2023-08-08 17:16:15 -03:00
Sergio R. Caprile
58367fe23e
Merge pull request #2337 from cesanta/h7f
...
add H7 FreeRTOS example
2023-08-08 15:32:29 -03:00
Sergio R. Caprile
a8712e2307
add H7 FreeRTOS example
2023-08-08 14:38:41 -03:00
robertc2000
8acfae1111
Merge pull request #2336 from cesanta/foo
...
Foo
2023-08-08 09:26:48 +03:00
cpq
70fc71c6f7
Changes
2023-08-07 06:18:49 -04:00
Sergio R. Caprile
dd5118cab0
Merge pull request #2332 from cesanta/cube
...
update Cube test Makefile to support testing packaged examples
2023-08-04 17:11:22 -03:00
Sergio R. Caprile
2d75a6ccd4
update
2023-08-04 15:37:57 -03:00
Sergio R. Caprile
e004ab1693
Merge pull request #2331 from cesanta/makefile
...
update Makefile
2023-08-04 14:45:56 -03:00
Sergio R. Caprile
acddfc3bf4
update Makefile
2023-08-04 14:32:28 -03:00
cpq
519d4b0286
Changes
2023-08-04 13:53:01 +01:00
cpq
8005a5e687
Changes
2023-08-04 13:53:01 +01:00
cpq
f5943fe591
Add tls_builtin.c
2023-08-04 13:53:01 +01:00
cpq
cea7fcdb37
AVR build fixes
2023-08-04 13:52:59 +01:00
robert
b5213c13dd
SAME54 Ethernet driver
2023-08-04 13:48:55 +01:00
Sergio R. Caprile
3a06b4833c
Merge pull request #2330 from cesanta/timeout
...
Timeout
2023-08-03 14:52:54 -03:00
Sergio R. Caprile
5cdf6c1d05
Add SYN timeout
2023-08-03 14:23:14 -03:00
Sergio R. Caprile
5754e5dd59
fix ARP timeout
2023-08-03 13:42:56 -03:00
Sergio R. Caprile
e5ab1c454b
Merge pull request #2329 from cesanta/arp
...
Implement ARP resolution for local LANs
2023-08-03 11:02:43 -03:00
cpq
697576b63c
Implement ARP resolution for local LANs
2023-08-03 13:48:23 +01:00
Sergio R. Caprile
2db41aef09
Merge pull request #2328 from cesanta/ft
...
standardize example names
2023-08-02 16:20:05 -03:00
Sergio R. Caprile
7f4ad3cade
standardize example names
2023-08-02 16:07:54 -03:00
Sergio R. Caprile
74c4c32082
Merge pull request #2327 from cesanta/rndis
...
standardize example names
2023-08-02 14:24:07 -03:00
Sergio R. Caprile
30d545443c
standardize example names
2023-08-02 14:03:11 -03:00
Sergio R. Caprile
dedba52315
Merge pull request #2325 from cesanta/fpu
...
FP unit in H743 is dp
2023-08-01 17:06:54 -03:00
Sergio R. Caprile
481f7b5cff
FP unit in H743 is dp
2023-08-01 17:02:05 -03:00
Sergio R. Caprile
6ce4f4930c
Merge pull request #2324 from cesanta/fb
...
standardize example names
2023-08-01 15:46:58 -03:00
Sergio R. Caprile
e33a10db75
standardize example names
2023-08-01 15:24:28 -03:00
Sergio R. Caprile
ef17055145
Merge pull request #2323 from cesanta/cube
...
standardize example names
2023-07-31 18:27:34 -03:00
Sergio R. Caprile
6a2fa10a4e
standardize example names
2023-07-31 17:47:56 -03:00
Sergio R. Caprile
6b81a5846d
Merge pull request #2320 from cesanta/2308collaterals
...
fix autogenerated
2023-07-28 17:47:49 -03:00
Sergio R. Caprile
b54d086fde
fix autogenerated
2023-07-28 17:06:58 -03:00
Sergio R. Caprile
5ee9d22263
momentarily disable MacOS OpenSSL tests
2023-07-26 15:53:59 -03:00
Sergio R. Caprile
7dcb097a5d
momentarily disable OpenSSL tests
2023-07-26 15:49:03 -03:00
Sergio R. Caprile
29a30239ab
momentarily disable OpenSSL tests
2023-07-26 15:33:30 -03:00
Sergio R. Caprile
ed54b60ea3
update to new API
2023-07-25 18:41:41 -03:00
Sergio R. Caprile
199af33b30
update to new TLS API
2023-07-25 14:26:14 -03:00
Sergio R. Caprile
adfa1d0e20
fix mongoose.h
2023-07-25 13:22:41 -03:00
Sergio R. Caprile
ef25c42e86
fix unit tests for older compilers
2023-07-25 11:55:01 -03:00
Sergio R. Caprile
91a638156c
Merge branch 'master' of https://github.com/cesanta/mongoose
2023-07-25 11:37:01 -03:00
Sergio R. Caprile
26ce666938
Merge branch 'master' of https://github.com/cesanta/mongoose
2023-07-25 11:35:29 -03:00
cpq
7548af895b
H7 mbedtls build fixed
2023-07-25 15:34:22 +01:00
Sergio R. Caprile
9548437a9e
update unit tests for new API
2023-07-25 11:27:01 -03:00
cpq
5e50b7104c
Unit test fixed
2023-07-25 15:26:47 +01:00
cpq
d824cf7dbd
Add mbedtls to H7 baremetal
2023-07-25 15:03:01 +01:00
cpq
0613cc62f4
TLS API refactor
2023-07-25 13:07:28 +01:00
Sergey Lyubka
d9cbcb5fa8
Merge pull request #2312 from cesanta/arduino
...
no Docker, in-place build for tests
2023-07-22 01:09:35 +01:00
Sergio R. Caprile
a4f5355161
no Docker, in-place build for tests
2023-07-21 16:45:14 -03:00
Sergey Lyubka
a24b6c1909
Merge pull request #2309 from cesanta/arduino
...
move Arduino tests to its dir
2023-07-21 14:33:00 +01:00
Sergio R. Caprile
fd7dc72410
Merge pull request #2310 from cesanta/am
...
Add arduino/w5500-mqtt example
2023-07-21 10:27:20 -03:00
cpq
e4f4dfab3b
Add arduino/w5500-mqtt example
2023-07-21 13:54:41 +01:00
Sergio R. Caprile
66010be5a6
move Arduino tests to its dir
2023-07-20 20:22:06 -03:00
Sergio R. Caprile
852c42a8f3
static clue
2023-07-20 16:34:13 -03:00
Sergio R. Caprile
132725de7b
Merge pull request #2308 from cesanta/nano
...
AVR build fixes
2023-07-20 14:12:49 -03:00
cpq
0a761c09e3
AVR build fixes
2023-07-20 16:07:53 +01:00
Sergey Lyubka
09ce6ae1c5
Merge pull request #2307 from cesanta/codeql
...
add CodeQL analysis
2023-07-20 14:37:18 +01:00
Sergio R. Caprile
85e60ed858
force run
2023-07-19 16:21:14 -03:00
Sergio R. Caprile
86fd18324b
codeql
2023-07-19 16:14:44 -03:00
Sergio R. Caprile
fdf82e5d6c
codeql
2023-07-19 15:10:28 -03:00
Sergio R. Caprile
eb0b1580d1
nits
2023-07-19 14:53:29 -03:00
Sergio R. Caprile
2d33c545b8
codeql
2023-07-19 14:53:29 -03:00
Sergio R. Caprile
cdaf523aa8
codeql
2023-07-19 14:53:29 -03:00
Sergio R. Caprile
3195f2cec2
codeql
2023-07-19 14:53:29 -03:00
cpq
ea89a4afab
Revert "Integration page"
...
This reverts commit 3415b62d2d .
2023-07-19 18:50:27 +01:00
cpq
3415b62d2d
Integration page
2023-07-19 16:25:14 +01:00
Sergey Lyubka
ee80822564
Merge pull request #2306 from cesanta/nits
...
Nits
2023-07-19 06:00:32 +01:00
cpq
3c9e218d07
Nits
2023-07-19 05:08:28 +01:00
Sergio R. Caprile
387a602885
Merge pull request #2304 from cesanta/addressing
...
Addressing
2023-07-18 17:30:35 -03:00
Sergio R. Caprile
ef0ff43975
static clue
2023-07-18 17:23:50 -03:00
Sergio R. Caprile
ae37407369
static clue
2023-07-18 17:10:05 -03:00
cpq
e1c91b5763
Merge branch 'master' of github.com:cesanta/mongoose
2023-07-18 17:47:02 +01:00
cpq
c49b472f92
Ignore DHCP for static IP config
2023-07-18 17:46:52 +01:00
Sergey Lyubka
0a6b1b9418
Merge pull request #2297 from cesanta/2251-implement-tcp-retransmit-in-mip
...
implemented tcp retransmission
2023-07-16 04:53:06 +01:00
Sergio R. Caprile
ac40673a9e
test for retransmitted segment
2023-07-12 11:22:35 -04:00
cpq
818f99b286
Update examples to adopt to the new iface state
2023-07-12 14:09:30 +01:00
robert
320da5e84c
implemented tcp retransmission
2023-07-11 06:20:47 -04:00
Sergey Lyubka
6957c379d5
Merge pull request #2294 from cesanta/hdr
...
Fix #2292 - fail on stray \r character in headers
2023-07-09 23:08:22 +01:00
cpq
88e880f107
Fix #2292 - fail on stray \r character in headers
2023-07-09 18:18:18 +01:00
cpq
bf8c4dfc83
Merge branch 'master' of github.com:cesanta/mongoose
2023-07-07 08:44:33 +01:00
cpq
5dff282132
Fix #2293 - stricter header validity check
2023-07-07 08:44:25 +01:00
Sergio R. Caprile
1148ac0ae4
Merge pull request #2289 from cesanta/acl
...
update `mg_check_ip_acl`
2023-07-05 18:06:28 -03:00
Sergio R. Caprile
59c46fc594
update
2023-07-05 17:49:18 -03:00
cpq
03a94e3a6a
Use \r\n for log messages, for terminal apps
2023-07-05 10:26:27 +01:00
Sergio R. Caprile
5c8e05a4fc
bump revno up
2023-07-04 12:18:09 -03:00
Sergio R. Caprile
d791ce393b
remove old examples
2023-07-03 18:34:18 -03:00
Sergio R. Caprile
a452231086
Merge pull request #2285 from cesanta/stm32
...
Stm32
2023-07-03 18:29:30 -03:00
Sergio R. Caprile
a392a19c9c
name changes
2023-07-03 18:27:32 -03:00
Sergio R. Caprile
a864c04702
uniformize
2023-07-03 16:40:33 -03:00
Sergio R. Caprile
8d2f7296a1
remove old examples
2023-07-03 14:19:28 -03:00
robert
040936eb47
fixed mqtt vc98 warning
2023-07-03 10:49:18 -04:00
Sergey Lyubka
101beec3ae
Merge pull request #2284 from cesanta/enhance-mg_remove_double_dots
...
enhanced path sanitizing
2023-07-03 14:43:32 +01:00
robert
2f1a836bf0
enhanced path sanitizing
2023-07-03 06:14:50 -04:00
cpq
62f5e0a1a9
Add SNTP to the list
2023-07-01 20:28:28 +01:00
cpq
cca771e70e
Stricter check for test_dns_error()
2023-07-01 20:23:59 +01:00
cpq
0c7e6b548f
Standardise margin
2023-06-30 11:53:34 +01:00
robertc2000
8b87e8aa92
Merge pull request #2282 from cesanta/paginator
...
Make paginator bit more compact
2023-06-30 12:17:35 +03:00
Sergey Lyubka
415bbf2932
Merge pull request #2278 from cesanta/httpheaders
...
fix header truncation
2023-06-29 22:59:51 +01:00
Sergey Lyubka
48df4f18cd
Merge pull request #2283 from cesanta/fuzz
...
Extend fuzzer, access parsed fields
2023-06-29 22:58:21 +01:00
Sergio R. Caprile
dc0f9aca4a
access only when parsing is valid
2023-06-29 18:37:10 -03:00
cpq
1b9b8e3f6c
Extend fuzzer, access parsed fields
2023-06-29 16:34:15 +01:00
cpq
5d10e9dbee
Make paginator bit more compact
2023-06-29 13:33:36 +01:00
Sergio R. Caprile
0adc858c85
add unit test
2023-06-28 11:01:59 -03:00
Sergio R. Caprile
eda1e8a402
fix header truncation
2023-06-27 14:56:04 -03:00
Sergio R. Caprile
4b0e34cdf4
Merge pull request #2277 from cesanta/httpcodes
...
Reinstall extra HTTP codes
2023-06-27 14:53:10 -03:00
Sergio R. Caprile
c688687ff8
Reinstall extra HTTP codes
...
the extra strings are not polluting the binary much
2023-06-27 13:44:44 -03:00
Sergio R. Caprile
d56e5bea62
Merge pull request #2274 from cesanta/mqtt-var-length-issue
...
fixed mqtt variable length header issue
2023-06-27 09:48:20 -03:00
robert
aed7b6b37a
fixed mqtt variable length header issue
2023-06-27 01:00:45 -04:00
Sergio R. Caprile
8114443e97
Merge pull request #2276 from cesanta/keil
...
Keil
2023-06-26 18:33:43 -03:00
scaprile
8ba0a33f84
add hw test support
2023-06-26 18:29:52 -03:00
Sergio R. Caprile
661ed61779
add hw test support for Keil
2023-06-26 18:20:38 -03:00
robert
427f95337f
event table device-dashboard: fixed wrong api call
2023-06-26 10:31:55 -04:00
Sergey Lyubka
fa8490fb4e
Merge pull request #2272 from WKJay/master
...
add RT-Thread support
2023-06-26 14:37:49 +01:00
WKJay
5be1c6381b
add RT-Thread support
2023-06-26 16:18:40 +08:00
Sergey Lyubka
6794a89f79
Merge pull request #2270 from cesanta/dhcp
...
improve DHCP in MIP
2023-06-24 13:09:40 +01:00
robert
8f19ee7b97
event table POST request 404 error
2023-06-23 11:35:42 -04:00
robert
c63135ec7f
device-dashboard: fixed event table POST request
2023-06-23 08:03:44 -04:00
robert
5c87f2f22c
improved device dashboard events table
2023-06-23 07:21:24 -04:00
Sergio R. Caprile
6e6e34c423
improve DHCP in MIP
2023-06-22 18:55:48 -03:00
Sergio R. Caprile
bb983fb4b2
update tutorial link
2023-06-22 11:00:37 -03:00
Sergio R. Caprile
285bbf50e9
Merge pull request #2268 from cesanta/cube
...
add more FreeRTOS+lwIP on Cube examples
2023-06-22 10:59:06 -03:00
Sergio R. Caprile
c2ad2e1151
add more FreeRTOS+lwIP on Cube examples
2023-06-21 19:00:10 -03:00
Sergio R. Caprile
46e796ffaa
Merge pull request #2267 from cesanta/cube
...
add more FreeRTOS on Cube examples
2023-06-21 11:34:20 -03:00
Sergio R. Caprile
3bf25d86f2
add tests for new Cube examples
2023-06-21 11:32:10 -03:00
Sergio R. Caprile
2dca4805b0
add more FreeRTOS on Cube examples
2023-06-21 11:21:24 -03:00
Sergio R. Caprile
54aa4678d1
Merge pull request #2265 from cesanta/cube
...
Cube
2023-06-20 14:48:36 -03:00
Sergio R. Caprile
3ab0e6cade
add new Cube examples
2023-06-20 14:35:59 -03:00
Sergio R. Caprile
41e3b23253
rename tutorial
2023-06-20 12:04:38 -03:00
Sergio R. Caprile
b00d780a50
Merge pull request #2261 from cesanta/dhcp
...
fix DHCP xid being ignored
2023-06-19 19:07:22 -03:00
Sergio R. Caprile
71b3e26232
fix DHCP xid being ignored
2023-06-19 18:50:51 -03:00
Sergio R. Caprile
40f28c02b9
Merge pull request #2262 from cesanta/cubetests
...
Cubetests
2023-06-19 17:13:05 -03:00
Sergio R. Caprile
362b22a673
Add hw test to cube examples
2023-06-19 16:58:37 -03:00
Sergio R. Caprile
d6be9a2bba
wip
2023-06-19 14:36:49 -03:00
Sergey Lyubka
6bfd113a87
Merge pull request #2260 from cesanta/2259-refactor-event-log-page-for-examplesdevice-dashboard
...
refactored device-dashboard code
2023-06-19 18:24:15 +01:00
robert
b7f86ba743
refactored device-dashboard code
2023-06-19 06:28:00 -04:00
cpq
2bab274056
Fix build error
2023-06-16 15:57:18 +01:00
robertc2000
dd6bffdd0d
Merge pull request #2256 from cesanta/2253-implement-event-log-page-for-examplesdevice-dashboard
...
implemented event log page for the device dashboard
2023-06-16 11:44:49 +03:00
robert
bcc044eb92
implemented event log page for the device dashboard
2023-06-16 04:32:45 -04:00
robert
a7f1982d03
improved device table style from the wifi-router-dashboard
2023-06-14 09:18:07 -04:00
Sergey Lyubka
d013e0fc78
Merge pull request #2254 from cesanta/2249-implement-connected-devices-page-for-wifi-router-dashboard
...
implemented connected devices page
2023-06-14 11:17:06 +01:00
robert
6f69ad93c1
implemented connected devices page
2023-06-13 03:33:11 -04:00
Sergey Lyubka
7ea2093a91
Merge pull request #2250 from cesanta/2241-optimise-struct-mg_addr
...
optimized mg_addr structure
2023-06-09 14:54:27 +01:00
robert
dd32deb2ad
optimized mg_addr structure
2023-06-09 09:19:37 -04:00
Sergey Lyubka
ad71fb321c
Merge pull request #2247 from cesanta/2243-refacrtor-wifi-router-dashboard-example
...
refactored dashboards
2023-06-08 16:03:11 +01:00
Sergey Lyubka
cc6c28a7ff
Merge pull request #2248 from cesanta/F746TLS
...
Improve performance on F746 with MbedTLS
2023-06-08 16:02:24 +01:00
Sergio R. Caprile
c763087462
improve performance
2023-06-08 11:29:51 -03:00
robert
63ff4ddea0
refactored dashboards
2023-06-08 10:25:59 -04:00
Sergey Lyubka
4178fc125d
Merge pull request #2245 from cesanta/2235-fix
...
byte-encoded properties issue fixed
2023-06-08 13:32:23 +01:00
Sergio R. Caprile
dcfa7ad657
Merge pull request #2246 from cesanta/tst
...
Improve MQTT tests resiliency
2023-06-07 19:01:23 -03:00
Sergio R. Caprile
c061e60664
Improve MQTT tests resiliency
2023-06-07 18:34:55 -03:00
Ubuntu
a0dd3ecd68
byte-encoded properties issue fixed
2023-06-07 10:13:21 -04:00
Sergio R. Caprile
0168a312f2
Merge pull request #2240 from cesanta/dhcp
...
Renew dhcp lease
2023-06-07 09:39:01 -03:00
cpq
92fe5a5b58
Renew dhcp lease
2023-06-07 13:33:28 +01:00
Sergey Lyubka
7f3d450b32
Merge pull request #2242 from cesanta/FEATURE_Add_tls_context_to_mg_mgr
...
Adding tls_ctx into mg_mgr for storing TLS context shared by all TLS session
2023-06-07 08:44:53 +01:00
Allan Park
8166339920
Adding tls_ctx into mg_mgr for storing TLS context shared by all TLS sessions
2023-06-07 10:21:46 +03:00
Sergio R. Caprile
57424d4a26
Merge pull request #2239 from cesanta/rlcomments
...
comment
2023-06-06 18:51:31 -03:00
Sergio R. Caprile
6511b6dd5d
comment
2023-06-06 18:48:45 -03:00
Sergio R. Caprile
0625b97246
Merge pull request #2238 from cesanta/f7
...
Improve driver
2023-06-06 18:46:50 -03:00
Sergio R. Caprile
9f8ce82825
Improve driver
2023-06-06 18:32:11 -03:00
Sergey Lyubka
c3c925dc84
Merge pull request #2230 from cesanta/rl
...
RL: fix accept() not looping on BSD_EWOULDBLOCK
2023-06-06 19:42:17 +01:00
Sergio R. Caprile
36f3703499
Merge pull request #2236 from cesanta/devsys
...
move dependencies
2023-06-06 14:47:27 -03:00
Sergio R. Caprile
6ae59c3711
move dependencies
2023-06-06 14:35:44 -03:00
Sergio R. Caprile
c8f5f85635
Merge pull request #2234 from cesanta/tests
...
speed up MQTT tests
2023-06-06 10:58:54 -03:00
Sergio R. Caprile
4e5e186784
speed up MQTT tests
2023-06-06 10:44:18 -03:00
cpq
828f7a513c
Merge branch 'master' of github.com:cesanta/mongoose
2023-06-06 08:38:18 +01:00
cpq
6085998d57
Proper handling {} in JSON array + unit test
2023-06-06 08:38:08 +01:00
Sergio R. Caprile
71e44d5b65
Merge pull request #2233 from cesanta/disambiguate
...
disambiguate comments
2023-06-05 18:57:25 -03:00
Sergio R. Caprile
e762bbdbf8
disambiguate comments
2023-06-05 18:39:13 -03:00
cpq
fe0d2272f6
Export mg_json_unescape()
2023-06-03 09:28:59 +01:00
Sergio R. Caprile
e017b88adf
Merge pull request #2228 from cesanta/tls
...
Add TLS=1 option
2023-06-02 14:33:34 -03:00
Sergey Lyubka
5f76d9cf33
Merge pull request #2231 from cesanta/Kfixs
...
standardize header inclusion
2023-06-02 17:35:56 +01:00
Sergio R. Caprile
85a5bdf4dc
standardize header inclusion
2023-06-02 13:27:27 -03:00
Sergio R. Caprile
4abc34ffd1
fix accept() not looping on BSD_EWOULDBLOCK
2023-06-02 11:56:27 -03:00
Sergey Lyubka
250b1d511b
Merge pull request #2229 from cesanta/mqttst
...
MQTT QoS + v5
2023-06-02 10:49:49 +01:00
cpq
59e3b0285a
Add TLS=mbedtls option
2023-06-02 09:57:36 +01: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
f8579131e8
MQTT QoS + v5
2023-05-31 21:35:03 -03:00
Sergio R. Caprile
1dde754724
Merge pull request #2223 from cesanta/devdash
...
Fix Secure
2023-05-31 09:32:57 -03:00
Sergio R. Caprile
771696fda8
Fix Secure
2023-05-31 09:30:24 -03:00
Sergey Lyubka
dd5f469c83
Merge pull request #2224 from cesanta/qos2
...
fix qos=2 handling
2023-05-31 12:07:10 +01:00
Sergio R. Caprile
6d3fda12cd
Merge pull request #2225 from cesanta/Kfixs
...
Add HTTP_URL
2023-05-30 17:13:05 -03:00
Sergio R. Caprile
dc32480563
Add HTTP_URL
2023-05-30 16:02:00 -03:00
Sergio R. Caprile
06ac9e18cb
fix qos=2 handling
2023-05-30 14:49:32 -03:00
Sergio R. Caprile
0648943220
Merge pull request #2221 from cesanta/Kfixs
...
Kfixs
2023-05-29 21:30:41 -03:00
Sergio R. Caprile
7a4a82e872
Add HTTP_URL
2023-05-29 20:59:56 -03:00
Sergio R. Caprile
6c0c05cf7f
Add missing headers
2023-05-29 14:34:51 -03:00
Sergio R. Caprile
efd2db129f
Merge pull request #2219 from cesanta/Kfixs
...
standardize header inclusion
2023-05-29 11:57:00 -03:00
Sergio R. Caprile
f4f276f370
standardize header inclusion
2023-05-29 11:44:59 -03:00
cpq
bff1462e9e
Add config var size check
2023-05-28 17:06:47 +01:00
Sergio R. Caprile
4d06f33089
fixes
2023-05-26 20:58:54 -03:00
Sergio R. Caprile
a433d9ef03
Merge pull request #2217 from cesanta/db
...
Refactor device-dashboard
2023-05-26 20:53:17 -03:00
Sergio R. Caprile
58606e1702
Refactor device-dashboard
2023-05-26 20:45:08 -03:00
Sergey Lyubka
1ccc9aa72e
Merge pull request #2205 from cesanta/arbitrary_content-length
...
improve negative Content-length handling
2023-05-26 17:16:08 +01:00
cpq
49a9bb5a8b
Refactor device-dashboard
2023-05-26 16:20:25 +01:00
Sergey Lyubka
380d6ac5c2
Merge pull request #2215 from cesanta/tlsdash
...
improve TLS behaviour in dashboard
2023-05-26 08:24:53 +01:00
Sergio R. Caprile
7d9f76df05
improve TLS behaviour in dashboard
2023-05-25 15:23:45 -03:00
Sergey Lyubka
96707acb4e
Merge pull request #2214 from cesanta/makelinux
...
make more distro-friendly
2023-05-24 21:02:46 +01:00
cpq
4e504823c0
Merge branch 'master' of github.com:cesanta/mongoose
2023-05-24 21:02:23 +01:00
cpq
82faa2e9c9
Make UI independent of URI
2023-05-24 21:02:15 +01:00
Sergio R. Caprile
1df9cd8071
make more distro-friendly
2023-05-24 15:37:24 -03:00
Sergio R. Caprile
a8d5e4dd28
Merge pull request #2213 from cesanta/nitpicks
...
nitpicks
2023-05-24 15:20:08 -03:00
Sergio R. Caprile
e59ea39a33
nitpicks
2023-05-24 15:17:24 -03:00
Sergio R. Caprile
62d1dc1eea
Merge pull request #2212 from cesanta/lwipstack
...
set a more lwIP-friendly minimum stack in FreeRTOS
2023-05-24 14:46:28 -03:00
Sergio R. Caprile
379af7dec2
set a more lwIP-friendly minimum stack in FreeRTOS
2023-05-24 11:30:01 -03:00
cpq
68a45adac7
Update logo
2023-05-24 13:52:52 +01:00
cpq
9ea8e29cb0
Merge branch 'master' of github.com:cesanta/mongoose
2023-05-24 13:22:18 +01:00
cpq
90092c0762
Make WebUI API calls relative, to work under any URI
2023-05-24 13:22:11 +01:00
Sergio R. Caprile
b379816178
Merge pull request #2210 from cesanta/devdash
...
run pack on Win
2023-05-23 11:06:47 -03:00
Sergio R. Caprile
e4353255ca
run pack on Win
2023-05-23 11:02:24 -03:00
cpq
923f2c7635
Add DHCP settings
2023-05-23 08:43:57 +01:00
cpq
a8309ef705
Remove -DSIGPIPE=0 for Windows
2023-05-23 03:50:53 +01:00
cpq
bad05485d0
Define SIGPIPE for Win32, fix sleep() for Win32
2023-05-23 03:49:24 +01:00
cpq
38d7799ffa
Rename wifi-router -> wifi-router-dashboard
2023-05-23 02:40:45 +01:00
Sergio R. Caprile
6e6696ccd4
Merge pull request #2207 from cesanta/wifi
...
Add wifi-router example
2023-05-22 19:59:06 -03:00
cpq
feb546920e
Add wifi-router example
2023-05-22 19:48:34 -03:00
Sergio R. Caprile
81b05b9de4
Merge pull request #2208 from cesanta/fixwbind
...
fix bind issue in W
2023-05-22 19:46:42 -03:00
Sergio R. Caprile
ab10b042be
fix bind issue in W
2023-05-22 19:13:48 -03:00
Sergio R. Caprile
26699914cc
improve negative Content-length handling
2023-05-22 17:40:08 -03:00
Sergio R. Caprile
45e4b3c423
bump revno up
2023-05-18 12:26:19 -03:00
Sergio R. Caprile
6a5a139e33
Merge pull request #2201 from cesanta/MG_ESC
...
Update to use MG_ESC()
2023-05-17 14:38:17 -03:00
Sergio R. Caprile
1908d3200e
Update to use MG_ESC()
2023-05-17 14:26:45 -03:00
Sergio R. Caprile
f4cf40d38f
Merge pull request #2200 from cesanta/esc
...
Add MG_ESC helper macro
2023-05-17 09:41:39 -03:00
cpq
514de84b97
Add MG_ESC helper macro
2023-05-17 11:58:40 +01:00
Sergio R. Caprile
7e7d0bb354
Merge pull request #2199 from cesanta/docinsource
...
remove stalled doc in header
2023-05-16 18:40:41 -03:00
Sergio R. Caprile
e468b90442
remove stalled doc in header
2023-05-16 18:08:48 -03:00
Sergio R. Caprile
926959ab47
Merge pull request #2197 from cesanta/BUGFIX_handle_http_negative_content_length
...
Added check for negative value for HTTP Content-Length header
2023-05-16 16:11:14 -03:00
Allan Park
4663090a8f
Added check for negative value for HTTP Content-Length header
2023-05-16 18:52:33 +03:00
Sergey Lyubka
b0868a4d0b
Merge pull request #2194 from cesanta/frp
...
Fix http-reverse-proxy for keep-alive incoming connections
2023-05-16 09:20:21 +01:00
Sergio R. Caprile
9088b00006
Fix keep-alive
2023-05-15 14:11:12 -03:00
Sergio R. Caprile
9c0fe8999d
Merge pull request #2193 from cesanta/tuts
...
link to tutorial
2023-05-12 17:30:52 -03:00
Sergio R. Caprile
901aa5f7c1
link to tutorial
2023-05-12 17:30:06 -03:00
Sergio R. Caprile
3ee28c035b
Merge pull request #2191 from cesanta/tuts
...
link to tutorial
2023-05-12 10:21:42 -03:00
Sergio R. Caprile
1e31b90905
link to tutorial
2023-05-12 10:20:38 -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
Sergio R. Caprile
fd86eb7aa7
Merge pull request #2184 from cesanta/tuts
...
link to tutorial
2023-05-08 18:31:50 -03:00
Sergio R. Caprile
9b4b35eff5
link to tutorial
2023-05-08 18:23:35 -03:00
Sergio R. Caprile
ac528caf2b
Merge pull request #2182 from cesanta/keil
...
simplify RTOS-related Keil examples
2023-05-05 18:49:27 -03:00
scaprile
fbe626e791
simplify RTOS-related Keil examples
2023-05-05 17:41:47 -03:00
Sergio R. Caprile
9ca37d30d8
Merge pull request #2179 from cesanta/tuts
...
link to tutorials
2023-05-04 19:17:51 -03:00
Sergio R. Caprile
84986898c8
link to tutorials
2023-05-04 19:16:43 -03:00
Sergey Lyubka
5cebce3f4b
Merge pull request #2173 from cesanta/arp
...
Add multicast and local broadcast MAC resolution
2023-04-29 12:01:01 +01:00
Sergey Lyubka
bb344b14a8
Merge pull request #2168 from cesanta/udp-listener
...
Fix UDP listeners in MIP
2023-04-29 12:00:33 +01:00
Sergey Lyubka
20e613b444
Merge pull request #2169 from cesanta/udp-printf
...
Fix mg_xprint() for UDP in MIP
2023-04-29 11:59:46 +01:00
Sergey Lyubka
a0952e0012
Merge pull request #2171 from cesanta/null_fs
...
Check for calloc() failure in filesystem code
2023-04-29 11:59:03 +01:00
Sergey Lyubka
49e66f809e
Merge pull request #2172 from cesanta/null_mip
...
Check for calloc() failure in MIP
2023-04-29 11:57:25 +01:00
Sergey Lyubka
5152ed8731
Merge pull request #2174 from cesanta/ti-rndis
...
Add TI RNDIS example
2023-04-29 11:56:29 +01:00
cpq
33811a826f
Include TCP/IP API only if enabled
2023-04-29 11:45:28 +01:00
Sergio R. Caprile
d33aebfd31
Add TI RNDIS example
2023-04-28 11:23:40 -03:00
Sergio R. Caprile
7d53c52a6b
Check for calloc() failure in MIP
2023-04-27 11:34:23 -03:00
Sergio R. Caprile
f015a8686e
Check for calloc() failure in filesystem code
2023-04-27 11:19:02 -03:00
Sergio R. Caprile
ab791d2a2d
Add multicast and local broadcast MAC resolution
2023-04-26 19:56:03 -03:00
Sergio R. Caprile
a303858da7
Fix mg_xprint() for UDP in MIP
2023-04-26 18:32:54 -03:00
Sergio R. Caprile
4c58c62cfe
Fix UDP listeners
2023-04-26 15:09:27 -03:00
Sergey Lyubka
4593332204
Merge pull request #2166 from cesanta/gzip
...
Fix #1927 : respect Accept-Encoding when serving .gz files
2023-04-26 10:01:24 +01:00
cpq
9f5d8c4280
Fix #1927 : respect Accept-Encoding when serving .gz files
2023-04-26 09:07:43 +01:00
Sergey Lyubka
b0d44bf0ba
Merge pull request #2165 from cesanta/mqtt
...
mqtt fixes
2023-04-25 08:27:01 +01:00
cpq
59b8434e36
mqtt fixes
2023-04-25 07:48:33 +01:00
Sergey Lyubka
e6f27cbaf3
Merge pull request #2160 from robertc2000/master
...
MQTT: support for user properties feature added
2023-04-23 18:33:56 +01:00
robert
6c13df1aff
MQTT: support for properties feature added
2023-04-23 16:35:50 +03:00
Sergey Lyubka
44bf059b2f
Merge pull request #2158 from cesanta/ipv6
...
Fix #2089 - allow to bind v4 and v6 sockets on the same port
2023-04-18 08:26:47 +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
Sergio R. Caprile
aed5d4e05b
Merge pull request #2159 from cesanta/testf7ft
...
Testf7ft
2023-04-17 17:04:31 -03:00
Sergio R. Caprile
b57648df14
Update test.yml
2023-04-17 17:02:52 -03:00
Sergio R. Caprile
7bce887077
Relax test time
2023-04-17 16:59:36 -03:00
Sergio R. Caprile
cacd9c7f95
Merge pull request #2156 from cesanta/xprintf
...
Remove %H %V %Q %q modifiers
2023-04-14 14:24:46 -03:00
Sergio R. Caprile
cd64bfe84b
Remove %H %V %Q %q modifiers
2023-04-14 10:13:22 -03:00
Sergio R. Caprile
52ed68ed24
Merge pull request #2154 from cesanta/keil
...
Add Keil examples and preliminary test
2023-04-12 10:16:12 -03:00
Sergey Lyubka
20577021a6
Merge pull request #2151 from cesanta/multi-threaded
...
Fix for some compilers
2023-04-12 10:02:27 +01:00
scaprile
838a2236a1
Add preliminary test
2023-04-11 17:47:38 -03:00
scaprile
d03941b792
Add Keil examples
2023-04-11 17:46:28 -03:00
Sergio R. Caprile
92299c3079
Fix for some compilers
2023-04-11 08:41:14 -03:00
cpq
d9f05532cd
Address #2125 : treat negative poll time as infinite wait
2023-04-10 15:04:37 +01:00
Sergio R. Caprile
2fd2dff126
Merge pull request #2138 from cesanta/printh
...
Add printf.h
2023-04-07 19:53:07 -03:00
Sergio R. Caprile
8e14ad0536
Add printf.h
2023-04-07 19:28:00 -03:00
Sergio R. Caprile
2b325102f3
Merge pull request #2143 from cesanta/dbl
...
Fix #2104 - %.*f formatting
2023-04-07 12:27:15 -03:00
Sergio R. Caprile
1f2be606fa
Fix wildcard usage
2023-04-07 12:21:14 -03:00
cpq
6b29a2a724
Fix #2104 - %.*f formatting
2023-04-07 08:38:28 +01:00
Sergey Lyubka
f79edeb053
Merge pull request #2145 from cesanta/cube
...
Cube
2023-04-07 08:29:54 +01:00
Sergio R. Caprile
84b92096d4
Add STM32CubeIDE examples and test for build
2023-04-06 17:33:45 -03:00
Sergio R. Caprile
70f4814cb1
Merge pull request #2144 from cesanta/test
...
Test TLS host verif with no CA
2023-03-31 17:04:39 -03:00
Sergio R. Caprile
49579eb2b4
Test host only TLS mode
2023-03-31 17:00:05 -03:00
Sergey Lyubka
cc6caeeca9
Merge pull request #2139 from cesanta/freertos-tcp
...
FreeRTOS+ TCP support
2023-03-30 10:51:52 +01:00
Sergey Lyubka
90af22eba1
Merge pull request #2141 from cesanta/hc1
...
fix outdated comment
2023-03-30 10:51:25 +01:00
cpq
f4b4b41264
Merge branch 'master' of github.com:cesanta/mongoose
2023-03-30 10:50:27 +01:00
cpq
9918b03c11
Enhance MQTT client
2023-03-30 10:49:16 +01:00
Sergio R. Caprile
95f44246bf
fix old comment
2023-03-29 11:46:40 -03:00
Sergio R. Caprile
b098723f78
Update test.yml
2023-03-27 18:19:48 -03:00
Sergio R. Caprile
a819513a92
Remove old example and its breadcrumbs
2023-03-27 18:14:55 -03:00
Sergio R. Caprile
7531b28b4c
Add refactored FreeRTOS-Plus-TCP example
2023-03-25 13:07:31 -03:00
Sergio R. Caprile
2b8586d1b7
Merge pull request #2134 from cesanta/freertos-tcp
...
Fix FreeRTOS-Plus-TCP
2023-03-24 16:42:59 -03:00
Sergio R. Caprile
8167291ffc
Fix FreeRTOS-Plus-TCP
2023-03-24 15:28:32 -03:00
Sergio R. Caprile
0dfcf9607a
Merge pull request #2132 from cesanta/freertos-tcp
...
Let FreeRTOS-Plus-TCP build on Keil
2023-03-23 22:02:44 -03:00
Sergio R. Caprile
4827831107
Let FreeRTOS-Plus-TCP build on Keil
2023-03-23 17:13:02 -03:00
Sergio R. Caprile
0ebb6d5d30
Merge pull request #2131 from cesanta/cmsis-rtos
...
Add arch for CMSIS-RTOS v1 and v2
2023-03-22 11:18:37 -03:00
Sergio R. Caprile
f4ed5062f6
Add arch for CMSIS-RTOS v1 and v2
2023-03-21 19:32:56 -03:00
Sergio R. Caprile
434b129746
Merge pull request #2129 from cesanta/frerrno
...
Remove no longer necessary includes
2023-03-21 14:13:35 -03:00
Sergio R. Caprile
2f5041ac7d
Remove no longer necessary includes
2023-03-21 14:08:35 -03:00
Sergio R. Caprile
24f9766b39
Merge pull request #2128 from cesanta/keil
...
Let lwIP and FreeRTOS build on Keil
2023-03-21 13:58:09 -03:00
Sergio R. Caprile
ba872217d7
Let lwIP and FreeRTOS build on Keil
2023-03-21 12:09:00 -03:00
Sergey Lyubka
b2ae517dac
Merge pull request #2119 from cesanta/armcc
...
Add MG_ARCH_ARMCC
2023-03-20 22:01:40 +00:00
Sergio R. Caprile
32b52dc0c8
Merge pull request #2121 from cesanta/nomip-collateral
...
remove references to MIP in examples (comments)
2023-03-15 10:10:46 -03:00
Sergio R. Caprile
33a3fe9bbd
remove references to MIP in examples (comments)
2023-03-15 09:43:22 -03:00
Sergio R. Caprile
245dc76503
Add MG_ARCH_ARMCC
2023-03-15 09:39:36 -03:00
Sergio R. Caprile
21dbfd79d8
Merge pull request #2120 from cesanta/chaudocs
...
Move docs to website
2023-03-14 09:55:52 -03:00
Sergio R. Caprile
b9f2250278
Move docs to website
2023-03-14 09:54:29 -03:00
Sergio R. Caprile
a0601f1891
Merge pull request #2118 from cesanta/testTM4c
...
update Makefile
2023-03-10 10:58:51 -03:00
Sergio R. Caprile
70403ee433
update Makefile
2023-03-10 10:45:30 -03:00
Sergio R. Caprile
f3cde58c8f
Merge pull request #2117 from cesanta/testTM4C
...
test only TM4C examples that have changes
2023-03-10 10:20:18 -03:00
Sergio R. Caprile
71c267776a
Update test.yml
2023-03-10 10:19:39 -03:00
Sergio R. Caprile
359ff94a8c
Merge pull request #2116 from cesanta/testTM4c
...
Test TM4C
2023-03-10 10:01:48 -03:00
Sergio R. Caprile
efe1c1492f
Merge pull request #2115 from cesanta/scaprile-patch-1
...
test TM4C
2023-03-10 10:00:28 -03:00
Sergio R. Caprile
2aaaf7c358
test TM4C
2023-03-10 09:59:56 -03:00
Sergio R. Caprile
cefaffa0f0
update Makefile
2023-03-10 09:54:26 -03:00
Sergio R. Caprile
a22d56dc41
Merge pull request #2114 from cesanta/standex
...
update
2023-03-10 09:37:36 -03:00
Sergio R. Caprile
51eca94504
update
2023-03-10 09:35:29 -03:00
Sergio R. Caprile
2b6d24d328
Merge pull request #2112 from cesanta/nomip-collateral
...
MIP_STATE_* -> MG_TCPIP_STATE_*
2023-03-10 09:27:11 -03:00
Sergio R. Caprile
4932025423
Merge pull request #2113 from cesanta/scaprile-patch-1
...
Update test.yml
2023-03-09 11:44:11 -03:00
Sergio R. Caprile
c466abf4d0
Update test.yml
2023-03-09 11:43:32 -03:00
Sergio R. Caprile
2ece3a8b4c
MIP_STATE_* -> MG_TCPIP_STATE_*
2023-03-09 11:25:02 -03:00
Sergio R. Caprile
3f760e1875
Merge pull request #2111 from cesanta/standex
...
standardize Zephyr examples
2023-03-08 17:35:39 -03:00
Sergio R. Caprile
1da134c38c
Merge pull request #2110 from cesanta/pico-w5500
...
Gen MAC from board ID, standardize
2023-03-08 17:30:54 -03:00
Sergio R. Caprile
0bf96e9864
standardize Zephyr examples
2023-03-08 16:41:21 -03:00
Sergio R. Caprile
1f5c19306e
Gen MAC from board ID, standardize
2023-03-08 11:51:55 -03:00
Sergio R. Caprile
db10b3821c
Merge pull request #2109 from cesanta/standex
...
Standex
2023-03-08 11:50:30 -03:00
Sergio R. Caprile
4245a6d04d
update
2023-03-08 11:44:34 -03:00
Sergio R. Caprile
6920c1159b
rework serial config
2023-03-07 16:02:02 -03:00
Sergio R. Caprile
3801e1eade
Merge pull request #2107 from cesanta/standex
...
read MAC from flash
2023-03-07 15:59:14 -03:00
Sergio R. Caprile
3e419303a7
read MAC from flash
2023-03-06 17:33:17 -03:00
Sergio R. Caprile
0de1e6a3af
Merge pull request #2106 from cesanta/standex
...
Standardize TM4C FreeRTOS
2023-03-06 16:01:49 -03:00
Sergio R. Caprile
99c415f898
Standardize TM4C FreeRTOS
2023-03-06 15:57:51 -03:00
Sergio R. Caprile
f68d83dbf0
Merge pull request #2103 from cesanta/standex
...
standardize TM4C baremetal
2023-03-02 20:57:41 -03:00
Sergio R. Caprile
6e97905bce
standardize TM4C baremetal
2023-03-02 20:44:35 -03:00
Sergio R. Caprile
572a10d5a0
Merge pull request #2100 from cesanta/standex
...
Update Makefiles and READMEs
2023-03-01 11:30:08 -03:00
Sergio R. Caprile
eaa6199de0
Update Makefiles and READMEs
2023-03-01 11:28:24 -03:00
Sergio R. Caprile
70799101e4
Merge pull request #2099 from cesanta/standex
...
Update symlinks and Makefiles
2023-02-28 18:25:24 -03:00
Sergio R. Caprile
9cc70d0323
Update symlinks and Makefiles
2023-02-28 18:18:26 -03:00
cpq
20c5da6e55
Fix build - NULL pointer check
2023-02-28 17:55:25 +00:00
cpq
4c356bc368
Merge branch 'master' of github.com:cesanta/mongoose
2023-02-28 17:41:37 +00:00
Sergio R. Caprile
aeb04deae4
Merge pull request #2098 from cesanta/tstexmac
2023-02-28 14:22:05 -03:00
Sergio R. Caprile
873e4d6547
Update Makefile
2023-02-28 14:18:39 -03:00
Sergio R. Caprile
9ba20304c2
Update test.yml
2023-02-28 14:14:57 -03:00
Sergio R. Caprile
252619b1a0
Merge pull request #2097 from cesanta/tstexwin
...
Test some examples on Windows
2023-02-28 14:07:10 -03:00
Sergio R. Caprile
38b129de66
Test some examples on Windows
...
closes #2047
2023-02-28 14:04:02 -03:00
Sergey Lyubka
da028d1af9
Merge pull request #2096 from cesanta/fixrmii
...
Update RMII example, enhance MIP
2023-02-28 08:34:20 +00:00
Sergio R. Caprile
bba361016d
Update RMII ex, enhance MIP
2023-02-27 18:30:53 -03:00
Sergio R. Caprile
c362af1f81
Merge pull request #2095 from cesanta/fixrndis
...
Fix RNDIS examples
2023-02-27 11:35:05 -03:00
Sergio R. Caprile
520507afd9
unbreak RNDIS examples
2023-02-27 11:28:42 -03:00
Sergio R. Caprile
4e7584167b
force check and failures
2023-02-27 10:54:32 -03:00
Sergio R. Caprile
112bd61a25
Merge pull request #2094 from cesanta/fixwf
...
Update test.yml
2023-02-27 10:23:52 -03:00
Sergio R. Caprile
1df8bc0dfe
Update test.yml
...
Fix embedded matrix workflow not signalling changes and not running
2023-02-27 10:22:52 -03:00
cpq
f2076fe309
Add more tests for mg_strstr()
2023-02-26 01:32:03 +00:00
Sergey Lyubka
67dea15bf2
Merge pull request #2076 from cesanta/q
...
Use mg_queue in mip
2023-02-24 19:57:20 +00:00
cpq
910f19fe55
Use mg_queue in mip
2023-02-24 19:40:31 +00:00
Sergio R. Caprile
290bf0b6d2
Merge pull request #2093 from cesanta/standex
...
update Makefiles and symlinks
2023-02-24 15:49:35 -03:00
Sergio R. Caprile
4c87a776e6
updated Makefiles and symlinks
2023-02-24 13:46:31 -03:00
Sergio R. Caprile
4436093816
Merge pull request #2092 from cesanta/standex
...
standardize examples
2023-02-23 19:07:44 -03:00
Sergio R. Caprile
b85aa7b084
Merge pull request #2090 from cesanta/tcp
...
mark we consumed data
2023-02-23 14:38:14 -03:00
Sergio R. Caprile
99e28b639d
mark we consumed data
2023-02-23 14:35:26 -03:00
Sergio R. Caprile
9b94b4da26
fix build for Windows
...
(read from stdin does not work)
2023-02-23 14:04:10 -03:00
Sergio R. Caprile
5b46986628
update Makefiles and symlinks
2023-02-23 11:32:53 -03:00
Sergio R. Caprile
d0e5690bfd
Merge pull request #2088 from cesanta/standex
...
update Makefiles and symlinks
2023-02-22 16:58:49 -03:00
Sergio R. Caprile
ddbfa06bcc
update Makefiles and symlinks
2023-02-22 16:38:21 -03:00
Sergio R. Caprile
2c6fc99c68
Merge pull request #2084 from cesanta/standex
...
updated Makefiles and symlinks
2023-02-21 17:31:02 -03:00
Sergio R. Caprile
d8ad0ac72c
updated Makefiles and symlinks
2023-02-21 16:05:25 -03:00
Sergio R. Caprile
9de50d7981
Merge pull request #2083 from cesanta/standex
...
#2046 #2047
2023-02-21 14:53:04 -03:00
Jean-François Simon and Jean-Francois Simon
2c5c46dc48
Fix headers (drivers) ( #2081 )
...
Co-authored-by: Jean-Francois Simon <jfsimon@startmail.com >
2023-02-21 16:39:53 +01:00
Jean-François Simon and Jean-Francois Simon
6423b4cbb9
rt1020 driver check frame crc/truncated ( #2080 )
...
Co-authored-by: Jean-Francois Simon <jfsimon@startmail.com >
2023-02-21 16:27:04 +01:00
Sergio R. Caprile
2566aa725a
http-proxy-client Makefile
2023-02-21 12:16:39 -03:00
Sergio R. Caprile
eb463bbb2b
READMEs, golden update collaterals, etc
2023-02-21 12:07:48 -03:00
Sergio R. Caprile
1a8a559d84
Merge pull request #2079 from cesanta/time
...
Fix #2075 . Add MG_HTTP_DIRLIST_TIME_FMT, remove MG_HTTP_DIRLIST_TIME and MG_HTTP_DIRLIST_TIME_UTC
2023-02-20 20:13:56 -03:00
cpq
57c1d787e3
Fix #2075 . Add MG_HTTP_DIRLIST_TIME_FMT, remove MG_HTTP_DIRLIST_TIME and MG_HTTP_DIRLIST_TIME_UTC
2023-02-20 21:25:55 +00:00
Sergey Lyubka
999a32424f
Merge pull request #2078 from cesanta/standex
...
Golden Makefiles
2023-02-20 19:54:02 +00:00
Sergio R. Caprile
c2ed20ba23
Golden Makefiles
2023-02-20 16:20:28 -03:00
Sergio R. Caprile
01cbb37359
Merge pull request #2077 from cesanta/standex
...
huge response
2023-02-20 16:17:15 -03:00
Sergio R. Caprile
3e205e9536
huge response
2023-02-20 16:15:30 -03:00
Sergio R. Caprile
b29d6b4478
_sbrk in TI
2023-02-17 11:11:31 -03:00
Sergey Lyubka
b9424e4c21
Merge pull request #2073 from cesanta/sbrk
...
Fix _sbrk()
2023-02-17 14:00:32 +00:00
Sergio R. Caprile
87fe912d8d
Merge pull request #2074 from cesanta/standex
...
Standardize examples and make them Windows friendly
2023-02-17 10:59:55 -03:00
Sergio R. Caprile
59343c2f82
http-client
2023-02-17 10:57:54 -03:00
Sergio R. Caprile
700fc64383
update devdash README
2023-02-17 10:40:53 -03:00
Sergio R. Caprile
ca256b9949
Win friendly #2047
2023-02-17 10:40:53 -03:00
cpq
68750f3455
Expand on integration steps
2023-02-17 10:49:05 +00:00
cpq
906fc417c8
Expand on crossplatform ability
2023-02-17 10:46:45 +00:00
cpq
ac203c56df
Expand on crossplatform ability
2023-02-17 10:46:16 +00:00
cpq
734ad45f1c
Expand on crossplatform ability
2023-02-17 10:44:55 +00:00
cpq
4a1f2e0dd3
Fix mg_fs_posix.st() for Windows symlinks using ftell
2023-02-17 10:36:06 +00:00
cpq
24e3514640
Fix mg_fs_posix.st() for Windows symlinks
2023-02-17 10:20:33 +00:00
Sergio R. Caprile
dadb05e022
Add heap limit
2023-02-16 15:17:19 -03:00
cpq
ca3dfb3c07
Docs notes
2023-02-16 16:41:26 +00:00
cpq
cf452942fa
More windows-friendly makefile for rp2040/pico-w5500
2023-02-16 14:23:52 +00:00
Sergey Lyubka
28ee40bebe
Merge pull request #2067 from cesanta/pico
...
Use RNG in examples/pico-w5500
2023-02-16 08:01:11 +00:00
cpq
6267752a2a
Use RNG in examples/pico-w5500
2023-02-16 07:53:11 +00:00
Sergey Lyubka
2ece24e077
Merge pull request #2066 from cesanta/queue
...
Refactor queue
2023-02-15 22:33:07 +00:00
Sergio R. Caprile
59013e62d3
Merge pull request #2072 from cesanta/standex
...
Standardize examples
2023-02-15 18:07:54 -03:00
Sergio R. Caprile
824763aae9
standardize
2023-02-15 18:04:48 -03:00
Sergey Lyubka
a8c5b04feb
Merge pull request #2070 from cesanta/fixcl
...
Fix content-length header in mg_http_reply()
2023-02-15 19:22:03 +00:00
Sergey Lyubka
64f069ec24
Merge pull request #2043 from cesanta/randomize
...
Seed fallback clib PRNG with some entropy
2023-02-15 19:20:50 +00:00
cpq
515e438d4f
Refactor queue
2023-02-15 18:53:44 +00:00
Sergio R. Caprile
9ec064f9d9
symlinks
2023-02-15 15:22:46 -03:00
Sergio R. Caprile
60c6b04a01
Add mg_srand() and seed with some entropy
2023-02-15 14:29:02 -03:00
Sergio R. Caprile
9deaa81a72
Merge pull request #2071 from cesanta/standex
...
captive-dns
2023-02-15 14:27:15 -03:00
Sergio R. Caprile
ae703db6ee
captive-dns
2023-02-15 14:22:48 -03:00
Sergio R. Caprile
267f54bc0e
Fix content-length header in mg_http_reply()
2023-02-15 11:28:14 -03:00
cpq
8aa26fb2cd
Fix fuzzer workflow
2023-02-15 14:25:04 +00:00
cpq
e7667f2537
Merge branch 'master' of github.com:cesanta/mongoose
2023-02-14 15:12:59 +00:00
cpq
bac15d2ecf
Fix #2063 - a typo
2023-02-14 15:12:51 +00:00
Sergio R. Caprile
ae27e07903
Merge pull request #2068 from cesanta/stm32-rndis
...
Standardize STM32 RNDIS examples
2023-02-14 12:10:55 -03:00
Sergio R. Caprile
605dfa7366
Standardize STM32 RNDIS examples
2023-02-13 18:40:09 -03:00
Sergio R. Caprile
85db19e33f
Merge pull request #2064 from cesanta/renaming-stm32
...
simplify names
2023-02-13 17:00:40 -03:00
Sergio R. Caprile
052bc6b356
Merge pull request #2065 from cesanta/scaprile-patch-1
...
Update test.yml
2023-02-13 16:59:09 -03:00
Sergio R. Caprile
24985e2bca
Update test.yml
2023-02-13 16:58:33 -03:00
Sergio R. Caprile
8e3eb8b3d2
simplify names
2023-02-13 16:54:26 -03:00
Sergio R. Caprile
2be44dbd94
Merge pull request #2061 from cesanta/efe4f
...
Update and standardize F4 FreeRTOS
2023-02-13 11:08:31 -03:00
Sergio R. Caprile
7c6b26faa2
Merge pull request #2062 from cesanta/scaprile-patch-2
...
Update test.yml
2023-02-13 11:07:41 -03:00
Sergio R. Caprile
cfc42512ed
Update test.yml
2023-02-13 11:07:16 -03:00
Sergio R. Caprile
50f5834296
Update and standardize F4 FreeRTOS
2023-02-13 10:53:59 -03:00
Jean-François Simon and Jean-Francois Simon
07e91bb73a
Fix build mip -> mg_tcpip ( #2060 )
...
Co-authored-by: Jean-Francois Simon <jfsimon@startmail.com >
2023-02-13 12:02:57 +01:00
Sergey Lyubka
3c547eeed8
Merge pull request #2059 from cesanta/test
...
Serialize HW tests
2023-02-13 08:16:57 +00:00
cpq
6f011fce3b
Serialize HW tests
2023-02-13 03:10:09 +00:00
cpq
5aebed95a4
Fix VC98 build
2023-02-12 10:41:51 +00:00
Sergey Lyubka
8321f9f6e9
Merge pull request #2034 from cesanta/queue
...
Add struct mg_queue and API, change examples/multi-threaded, add tests
2023-02-12 10:04:13 +00:00
cpq
bf9d69ab56
Add struct mg_queue and API, change examples/multi-threaded, add tests
2023-02-11 13:24:26 +00:00
Sergio R. Caprile
faaff57d2b
update Makefile
2023-02-10 21:24:42 -03:00
Sergio R. Caprile
40667ef1c1
Update Makefile
2023-02-10 20:52:55 -03:00
Sergio R. Caprile
04b4e3298b
Merge pull request #2056 from cesanta/f7f
...
Make example as README says
2023-02-10 20:30:06 -03:00
Sergio R. Caprile
43cbd3a61e
Merge pull request #2058 from cesanta/scaprile-patch-1
...
make F7 FreeRTOS testable
2023-02-10 20:24:04 -03:00
Sergio R. Caprile
bfb091f2f4
make F7 FreeRTOS testable
2023-02-10 20:23:39 -03:00
Sergio R. Caprile
4974303e6b
Make example as README says
2023-02-10 20:06:25 -03:00
Sergio R. Caprile
664bb0a663
Merge pull request #2055 from cesanta/makefiles
...
minor updates
2023-02-10 19:45:09 -03:00
Sergio R. Caprile
491596d03d
minor updates
2023-02-10 19:41:27 -03:00
Sergio R. Caprile
75538be235
Merge pull request #2054 from cesanta/efe4
...
Standardize F4 baremetal
2023-02-10 17:28:05 -03:00
Sergio R. Caprile
1cb99ea2fc
Standardize F4 baremetal
2023-02-10 15:53:55 -03:00
Sergey Lyubka
c0f4bde5fc
Merge pull request #2051 from cesanta/fmt
...
Split mg_*printf* functions into src/printf.c/h
2023-02-10 16:52:34 +00:00
cpq
a4430dd49d
Split mg_*printf* functions into src/printf.c/h
2023-02-10 15:47:23 +00:00
Jean-François Simon and Jean-Francois Simon
b513d40bd6
add coverage ws.c ( #2050 )
...
Co-authored-by: Jean-Francois Simon <jfsimon@startmail.com >
2023-02-10 15:51:44 +01:00
cpq
fbaaf89a21
Update screenshot
2023-02-09 22:47:48 +00:00
cpq
7625a0154e
Using webp for screenshots
2023-02-09 22:41:49 +00:00
cpq
396ee803b2
Remove -c core.symlinks arg from the clone command
2023-02-09 20:06:53 +00:00
cpq
5a42319a07
Add readme rule
2023-02-09 20:04:59 +00:00
cpq
61b9820f78
Update READMEs
2023-02-09 20:04:07 +00:00
Sergio R. Caprile
a383a45269
Merge pull request #2044 from cesanta/eph1
...
Fix ifp->eport init
2023-02-09 16:41:25 -03:00
Sergio R. Caprile
7bd4869ae6
Merge pull request #2048 from cesanta/rules
...
Add a rule on symlink
2023-02-09 16:12:23 -03:00
cpq
49a6559453
Add a rule on symlink
2023-02-09 19:00:10 +00:00
cpq
2e16a10720
Fix ifp->eport init
2023-02-09 18:39:14 +00:00
Sergey Lyubka
cd973b50ff
Merge pull request #2042 from cesanta/eph
...
Use linux ephemeral range (start from 32768). More TCP debug
2023-02-09 17:40:49 +00:00
cpq
b6fc67fff2
Use linux ephemeral range (start from 32768). More TCP debug
2023-02-09 15:20:08 +00:00
Jean-François Simon
12f00d785d
mg_tcpip_imxrt1020 ( #2033 )
...
MG_TCPIP driver for NXP i.MX RT1020
2023-02-09 15:31:59 +01:00
Jean-François Simon
de1ff6ed49
Add test to mqtt ( #2041 )
...
Test coverage mqtt
2023-02-09 15:05:55 +01:00
Sergio R. Caprile
d0a6cbe5dd
Merge pull request #2038 from cesanta/h7
...
Use CMSIS for H7
2023-02-09 09:18:09 -03:00
cpq
35924ce550
Use CMSIS for H7
2023-02-09 11:08:22 +00:00
Jean-François Simon
ad1d8cbedd
Add test to mqtt ( #2040 )
...
coverage: mqtt
2023-02-09 11:36:08 +01:00
Sergey Lyubka
6294ce59f7
Merge pull request #2035 from cesanta/rndismass
...
Add mass-storage disk with an index file
2023-02-08 15:58:18 +00:00
Sergio R. Caprile
d445ff40c2
Add mass-storage disk with an index file
2023-02-08 12:38:11 -03:00
Sergey Lyubka
c6010c3ab4
Merge pull request #2031 from cesanta/sym
...
Note about symlinks
2023-02-08 12:56:16 +00:00
Sergio R. Caprile
9da80d7b7d
Merge pull request #2032 from cesanta/move
...
Move mip/ -> src/tcpip/, rename mip_ -> mg_tcpip_
2023-02-08 09:49:06 -03:00
cpq
2c62e58dbd
Move mip/ -> src/tcpip/, rename mip_ -> mg_tcpip_
2023-02-07 21:35:37 +00:00
Sergio R. Caprile
efc54375dd
Merge pull request #2028 from cesanta/mip
...
Kill ARP cache, kill qprofile
2023-02-07 15:42:20 -03:00
cpq
0c3946033b
Note about symlinks
2023-02-07 15:42:17 +00:00
cpq
9dc86aa77d
Kill ARP cache, kill qprofile
2023-02-07 14:26:03 +00:00
Sergey Lyubka
0cbe320a5f
Merge pull request #2029 from cesanta/rules
...
Add examples/readme with rules
2023-02-07 13:41:37 +00:00
cpq
1c749a5310
Add filter for cifuzz
2023-02-07 12:17:46 +00:00
cpq
a647a69791
Add examples/readme with rules
2023-02-07 12:15:50 +00:00
Sergey Lyubka
12db089c73
Merge pull request #2027 from cesanta/mip
...
Introduce sysinit.c, better debug log, more verbose Makefile
2023-02-06 22:38:33 +00:00
cpq
f5ff7cfcf1
Introduce sysinit.c, better debug log, more verbose Makefile
2023-02-06 21:26:14 +00:00
Sergey Lyubka
2ddf71ec46
Merge pull request #2024 from cesanta/cmsis
...
Use CMSIS headers for f429 and f746 baremetal examples
2023-02-06 19:16:24 +00:00
Sergio R. Caprile
9017374292
Merge pull request #2025 from cesanta/ga
...
Tune GA checker
2023-02-06 14:28:26 -03:00
cpq
633f50cf5b
Tune GA checker
2023-02-06 15:18:40 +00:00
cpq
1993e9c65b
Use CMSIS headers for f429 and f746 baremetal examples
2023-02-06 15:00:09 +00:00
Sergio R. Caprile
8edc8610dc
Merge pull request #2023 from cesanta/push
...
Reduce the number of redundant test runs. Disable SNTP test on macos …
2023-02-06 11:25:33 -03:00
Sergey Lyubka
6700b373cd
Merge pull request #2022 from cesanta/win
...
Adopt Makefile for Windows. Update examples readme section
2023-02-06 14:21:56 +00:00
cpq
8d824799a0
Reduce the number of redundant test runs. Disable SNTP test on macos - it is flaky
2023-02-05 01:11:22 +00:00
cpq
dc86c62d8b
Adopt Makefile for Windows. Update examples readme section
2023-02-04 14:15:53 +00:00
Sergio R. Caprile
4ae4ff72e3
Merge pull request #2020 from cesanta/h743zi
...
Add STM32H743ZI driver and example
2023-02-03 18:33:46 -03:00
Sergio R. Caprile
958eebb16c
Add STM32H743ZI driver and example
2023-02-03 18:04:29 -03:00
Sergio R. Caprile
43e48d2ba6
Merge pull request #2017 from cesanta/mipneat
...
qprofile related fixes
2023-02-02 17:34:28 -03:00
Sergio R. Caprile
b6d8099c74
small tweaks
...
fix qprofile with latest changes
minor tweaks and qpfrofile related fixes
2023-02-02 17:09:27 -03:00
Sergio R. Caprile
25bac7c5ce
Merge pull request #2016 from cesanta/percentia
...
Docs update, remove %I and %A extensions
2023-02-02 16:33:18 -03:00
Sergio R. Caprile
5d7a080e39
Remove %I and %A
2023-02-02 16:28:24 -03:00
Sergio R. Caprile
b2a76dba98
Merge pull request #2014 from cesanta/halfnofast
...
Add support for 10M and half-duplex in STM32 and TM4C drivers
2023-02-02 13:30:35 -03:00
cpq
15ad69c8cb
Add How to build examples section
2023-02-02 15:34:27 +00:00
Sergio R. Caprile
e3ca006265
Add support for 10M and half-duplex in STM32 and TM4C drivers
2023-02-02 12:02:44 -03:00
cpq
961cc13948
Nits: fix DNS resolution message. Add Makefile comment for testing targets
2023-02-02 10:33:00 +00:00
Sergio R. Caprile
50da233258
Merge pull request #2011 from cesanta/test-f746
...
Update test.yml
2023-02-01 20:14:24 -03:00
Sergio R. Caprile
15ad58b5cc
Merge pull request #2010 from cesanta/f429-debug-uart
...
Use UART_DEBUG
2023-02-01 19:53:53 -03:00
Sergio R. Caprile
61a27ff430
Update test.yml
...
closes #1999
( mods in #2009 )
2023-02-01 19:49:14 -03:00
Sergio R. Caprile
befdb0a708
Merge pull request #2009 from cesanta/test-f746
...
Mods to be testable
2023-02-01 19:39:53 -03:00
Sergio R. Caprile
06b79600ac
Use UART_DEBUG
2023-02-01 19:37:35 -03:00
Sergio R. Caprile
b9e633ad06
Mods to be testable
2023-02-01 19:26:47 -03:00
Sergio R. Caprile
736a78faed
Merge pull request #2007 from cesanta/rl
...
Better error handling for RL NET
2023-02-01 18:23:13 -03:00
cpq
d76e69f9a7
Use UART_DEBUG
2023-02-01 21:08:24 +00:00
cpq
1612e1d142
Better error handling for RL NET
2023-02-01 13:59:47 +00:00
Sergio R. Caprile
56a33fd4c5
Merge pull request #2003 from cesanta/mip-percentia
...
Do not use %I %A in MIP
2023-02-01 09:15:15 -03:00
Sergio R. Caprile
1ca3244868
Merge pull request #2005 from cesanta/nosymlink
...
Remove symlinks in pico example
2023-01-31 15:40:37 -03:00
Sergio R. Caprile
8f358f09b8
Remove symlinks in pico example
2023-01-31 15:34:15 -03:00
Sergio R. Caprile
d903de6526
Merge pull request #2004 from cesanta/nodupfiles
...
Remove dups in Zephyr dirs
2023-01-31 15:14:10 -03:00
Sergio R. Caprile
c41ade2983
Remove dups in Zephyr dirs
2023-01-31 14:51:48 -03:00
Sergio R. Caprile
99dbbc7f39
Do not use %I %A in MIP
2023-01-31 14:37:00 -03:00
Sergio R. Caprile
4dd51cc889
Merge pull request #2002 from cesanta/print_mac
...
Add mg_print_mac()
2023-01-31 13:49:42 -03:00
Sergio R. Caprile
54c651f7e2
Add mg_print_mac()
2023-01-31 13:31:46 -03:00
Sergio R. Caprile
d1c9d7ffdc
Merge pull request #2000 from cesanta/tls
...
Add TLS to pico-w5500 baremetal example
2023-01-30 18:37:00 -03:00
cpq
052b40680d
Add TLS to pico-w5500 baremetal example
2023-01-30 21:30:10 +00:00
Sergio R. Caprile
b0d2519192
Merge pull request #2001 from cesanta/examples-percentia
...
do not use %I in examples
2023-01-30 18:21:18 -03:00
Sergio R. Caprile
997da11cc5
do not use %I
2023-01-30 17:13:38 -03:00
Sergio R. Caprile
476232ea22
Merge pull request #1995 from cesanta/mg_print_ip
...
Add mg_print_ip, mg_print_ip_port helper functions
2023-01-30 16:57:45 -03:00
Sergey Lyubka
4c83f4e2de
Merge pull request #1987 from hakabahitoyo/bugfix-openssl-tls-sni
...
Bugfix OpenSSL TLS SNI
2023-01-30 11:43:43 +00:00
cpq
4bf39e18d9
Add mg_print_ip, mg_print_ip_port helper functions
2023-01-29 14:30:06 +00:00
cpq
edfa533a4d
Correct the description
2023-01-27 22:45:35 +00:00
cpq
28262145ab
Better upload flow
2023-01-27 22:16:24 +00:00
cpq
51136ce982
Merge branch 'master' of github.com:cesanta/mongoose
2023-01-27 09:36:24 +00:00
cpq
84893ec582
Small usability nits
2023-01-27 09:36:16 +00:00
Sergio R. Caprile
4236405b90
Ready to release
2023-01-24 13:30:45 -03:00
Sergio R. Caprile
292c66e25c
Merge pull request #1992 from cesanta/revert-1920-patch-1
...
Revert "Update comment for the path of rest API"
2023-01-24 11:42:18 -03:00
Sergio R. Caprile
5aa6c15c76
Revert "Update comment for the path of rest API"
2023-01-24 11:41:51 -03:00
Sergio R. Caprile
1f89dc47cb
Merge pull request #1991 from cesanta/revert-1797-fix-typo
...
Revert "Fix typo in documentation"
2023-01-24 11:36:51 -03:00
Sergio R. Caprile
31393128c8
Revert "Fix typo in documentation"
2023-01-24 11:35:26 -03:00
Sergio R. Caprile
232a18425a
Merge pull request #1990 from cesanta/revert-1705-master
...
Revert "fix the doc error: htts to https"
2023-01-24 11:33:02 -03:00
Sergio R. Caprile
88e2eb2a49
Revert "fix the doc error: htts to https"
2023-01-24 11:31:25 -03:00
Sergey Lyubka
e635d5f748
Merge pull request #1986 from cesanta/w5
...
Add examples/rp2040/pico-w5500 to hwtest
2023-01-23 12:32:14 +00:00
Sergey Lyubka
08a23cdb2f
Merge pull request #1988 from cesanta/h743
...
Add nucleo-h743zi-baremetal boilerplate, with HW test
2023-01-23 12:31:55 +00:00
cpq
1ead940623
Add nucleo-h743zi-baremetal boilerplate, with HW test
2023-01-22 11:48:56 +00:00
Hakaba Hitoyo
382362668e
bugfix openssl tls sni
2023-01-22 14:27:44 +09:00
cpq
987f8bc949
Prep for msc
2023-01-21 13:42:25 +00:00
cpq
6f096333d3
make clean: invoke docker only when there is something to clean
2023-01-21 07:44:50 +00:00
cpq
5a25111b20
Add examples/rp2040/pico-w5500 to hwtest
2023-01-21 02:21:20 +00:00
Sergio R. Caprile
c7cb16cafa
Merge pull request #1984 from cesanta/ti-nodocker
...
Get rid of Docker (TI), part 2: FreeRTOS
2023-01-20 18:47:55 -03:00
Sergio R. Caprile
a746a698b6
Merge pull request #1983 from cesanta/stm32-nodocker
...
Get rid of Docker, part 2: FreeRTOS
2023-01-20 18:47:27 -03:00
Sergio R. Caprile
9a7f7255ff
Get rid of Docker, part 2: FreeRTOS
2023-01-20 18:20:19 -03:00
Sergio R. Caprile
d3df6b8f4f
Get rid of Docker (TI), part 2: FreeRTOS
2023-01-20 18:19:29 -03:00
Sergio R. Caprile
fcffd17b11
Merge pull request #1982 from cesanta/freertos
...
Fix FreeRTOS arch includes on newlib platforms
2023-01-20 18:16:55 -03:00
Sergio R. Caprile
7fc6be9f39
Fix FreeRTOS arch includes on newlib platforms
2023-01-20 18:09:21 -03:00
Sergio R. Caprile
7362744ff8
Merge pull request #1981 from cesanta/stm32uarts
...
Fix UART1,2 clocking in all other examples
2023-01-20 18:00:46 -03:00
Sergio R. Caprile
f4d058155a
Fix UART1,2 clocking in all other examples
2023-01-20 17:49:57 -03:00
Sergio R. Caprile
b04612e80d
Merge pull request #1975 from cesanta/hwtest
...
Cleanup, adopt for HW test
2023-01-20 16:26:05 -03:00
Sergio R. Caprile
5f00e4d34d
Merge pull request #1980 from cesanta/ti-nodocker
...
Get rid of Docker (TI), part 1
2023-01-20 16:21:45 -03:00
cpq
e967feb091
Cleanup, adopt for HW test
2023-01-20 18:46:19 +00:00
Sergio R. Caprile
0445b18bb9
Merge pull request #1977 from cesanta/reallyclean
...
Apply a deeper cleanser
2023-01-20 15:36:51 -03:00
Sergio R. Caprile
99f1f749cf
Apply a deeper cleanser
2023-01-20 15:27:37 -03:00
Sergio R. Caprile
f4d16f1c47
Get rid of Docker (TI), part 1
2023-01-20 15:06:03 -03:00
Sergio R. Caprile
68071d6caf
Merge pull request #1976 from cesanta/stm32-nodocker
...
Get rid of Docker, part 1
2023-01-20 14:14:07 -03:00
Sergio R. Caprile
44975da7db
Get rid of Docker, part 1
2023-01-20 12:42:38 -03:00
Sergio R. Caprile
e4566518b2
Merge pull request #1978 from cesanta/test-nosprintf
...
Make MacOS happy by getting rid of sprintf()
2023-01-20 12:41:09 -03:00
novlean
c038cb5b96
Merge pull request #1979 from cesanta/novlean-patch-1
...
2023
2023-01-20 15:31:07 +00:00
novlean
d7eb3db60b
2023
2023-01-20 15:28:16 +00:00
Sergio R. Caprile
44e781d7da
Make MacOS happy be getting rid of sprintf()
2023-01-20 11:54:56 -03:00
Sergio R. Caprile
0951d58c8f
Merge pull request #1974 from cesanta/stm32uarts
...
Fix AF in UART1,2
2023-01-19 16:31:55 -03:00
Sergio R. Caprile
37c0ed0b49
Fix AF in UART1,2
2023-01-19 15:28:51 -03:00
cpq
556bf7b888
Fix uart_init(), use correct AF for UART1/UART2
2023-01-19 10:31:26 +00:00
Sergey Lyubka
280be2eaea
Merge pull request #1968 from cesanta/ackstream
...
Don't retrigger ACK timer
2023-01-18 08:52:12 +00:00
Sergio R. Caprile
13f9357f8e
Merge pull request #1970 from cesanta/test-pico-rndis
...
Update test.yml
2023-01-17 15:19:45 -03:00
Sergio R. Caprile
56e015db0e
Enable test for pico-rndis-dashboard
2023-01-17 14:58:05 -03:00
Sergio R. Caprile
1068fbf079
Merge pull request #1969 from cesanta/pico-dash
...
Simplify build
2023-01-17 13:59:54 -03:00
Sergio R. Caprile
45f7afb3e1
Simplify build
2023-01-17 13:54:22 -03:00
Sergio R. Caprile
0d3fc2b656
Don't retrigger ACK timer
2023-01-16 20:16:59 -03:00
Sergio R. Caprile
2dc66b2e3b
Merge pull request #1966 from cesanta/test-pico-rmii
...
Update test.yml
2023-01-16 16:48:10 -03:00
Sergio R. Caprile
0b9129d8f5
Update test.yml
2023-01-16 15:36:50 -03:00
cpq
82d702fedc
mg_url_encode() 0-terminate the destination
2023-01-16 15:05:04 +00:00
Sergey Lyubka
197be75677
Merge pull request #1960 from cesanta/keepalive
...
TCP keepalives
2023-01-16 10:40:28 +00:00
cpq
3f9aff1b10
Update uart logs with Ethernet status
2023-01-15 12:03:40 +00:00
Sergey Lyubka
f5ed50fa88
Merge pull request #1959 from cesanta/handle-rst
...
Handle TCP RST
2023-01-14 00:16:40 +00:00
Sergio R. Caprile
645b52602f
Update main.c
2023-01-13 15:08:00 -03:00
Sergio R. Caprile
27a8e60e9a
TCP keepalives
2023-01-12 15:58:25 -03:00
Sergio R. Caprile
201ffa108b
Handle TCP RST
2023-01-11 17:33:37 -03:00
Sergey Lyubka
1661bd6691
Merge pull request #1955 from cesanta/picormii
...
Add RMII example for RP2040
2023-01-11 10:40:10 +00:00
Sergio R. Caprile
d431f4bbc5
Merge pull request #1957 from cesanta/pico-w5500
...
updated to ARCH_RP2040
2023-01-10 11:21:23 -03:00
Sergio R. Caprile
2b8e92a70d
updated to ARCH_RP2040
2023-01-10 10:54:27 -03:00
Sergey Lyubka
d70ab3cfa8
Merge pull request #1944 from cesanta/devdash
...
Add reduced functionality version
2023-01-10 12:31:03 +00:00
Sergey Lyubka
9402c6ad28
Merge pull request #1956 from cesanta/lbl
...
Rename struct mg_connection::label -> data. Make its size configurable
2023-01-10 08:34:22 +00:00
cpq
da5e8e9778
Rename struct mg_connection::label -> data. Make its size configurable
2023-01-10 08:19:49 +00:00
Sergio R. Caprile
feedfdf810
Update main.c
2023-01-09 14:31:04 -03:00
Sergio R. Caprile
6db0a502bf
Add RMII example
2023-01-09 11:16:01 -03:00
Sergey Lyubka
f07957d45e
Merge pull request #1952 from cesanta/mipqueue
...
Rename mip_rxcb to mip_qwrite, add mip_qread and enforce rx() for drivers
2023-01-08 06:47:38 +00:00
cpq
3d75d71767
Do not show response handler in the rpc.list result
2023-01-08 06:38:08 +00:00
Sergio R. Caprile
b259bdeddd
Rename mip_rxcb to mip_qwrite, add mip_qread and enforce rx() for drivers
2023-01-03 19:33:26 -03:00
Sergey Lyubka
042465387f
Merge pull request #1950 from cesanta/picodash
...
Add Pico dashboard
2023-01-02 20:14:34 +00:00
Sergio R. Caprile
d09e4d648c
Add Pico dashboard
2023-01-02 16:49:15 -03:00
Sergio R. Caprile
754910ad5f
Merge pull request #1947 from cesanta/pico
...
Moved pico-w example
2023-01-02 15:48:24 -03:00
Sergio R. Caprile
977e080215
Update test.yml
2023-01-02 15:29:21 -03:00
Sergio R. Caprile
a9ac947c96
Merge pull request #1949 from cesanta/scaprile-patch-1
...
Update test.yml
2023-01-02 15:23:15 -03:00
Sergio R. Caprile
28e6ef1d63
Update test.yml
2023-01-02 15:22:24 -03:00
Sergio R. Caprile
b0f273157d
Fix Makefile
2023-01-02 15:16:50 -03:00
Sergio R. Caprile
49add531c4
Moved pico-w example
2023-01-02 15:12:07 -03:00
cpq
8a1d2a5dca
Install gcc-arm-none-eabi for examples
2023-01-02 17:53:55 +00:00
Sergey Lyubka
31c5883f5f
Merge pull request #1946 from cesanta/rp2040-w5500
...
Add pico-w5500 example
2023-01-02 16:48:43 +00:00
Sergey Lyubka
c625fbb43d
Merge branch 'master' into rp2040-w5500
2023-01-02 16:48:34 +00:00
cpq
0f474e8d2a
Add pico-w5500 example
2023-01-02 16:36:55 +00:00
Sergey Lyubka
73813a8383
Merge pull request #1943 from cesanta/add-test-for-RNDIS-examples
...
Update tests
2022-12-28 02:47:56 +00:00
Sergio R. Caprile
d8fb110b56
Update test.yml
2022-12-27 20:34:10 -03:00
Sergio R. Caprile
77e62626a9
Add RNDIS examples to tests, remove "stm32/nucleo*" examples from "examples" test group
2022-12-27 20:27:08 -03:00
Sergio R. Caprile
24ee83f13d
Update test.yml
2022-12-27 18:31:39 -03:00
Sergio R. Caprile
6791a36d85
Add reduced functionality version
2022-12-27 18:12:55 -03:00
Sergio R. Caprile
c6a5a64e64
Update test.yml
2022-12-26 10:51:44 -03:00
Sergey Lyubka
311062dc41
Merge pull request #1938 from cesanta/F746rndis
...
Add RNDIS example for F7
2022-12-24 15:10:00 +00:00
Sergio R. Caprile
391ce1f009
Merge pull request #1939 from cesanta/tireadme
...
Added link to tutorial
2022-12-23 19:47:14 -03:00
Sergio R. Caprile
9f6d99352a
Added link to tutorial
2022-12-23 19:45:57 -03:00
Sergio R. Caprile
02b1d6260a
Add RNDIS example for F7
2022-12-23 19:28:33 -03:00
Sergio R. Caprile
e8ade14259
Merge pull request #1937 from cesanta/tm4cdriverdata
...
Rename driver data structure
2022-12-23 16:27:42 -03:00
Sergio R. Caprile
f0804dfed4
Merge pull request #1936 from cesanta/stm32driverdata
...
Rename driver data structure
2022-12-23 15:57:19 -03:00
Sergio R. Caprile
f506344ada
Rename driver data structure
2022-12-23 15:56:46 -03:00
Sergio R. Caprile
ddca518cca
Rename driver data structure
2022-12-23 15:45:30 -03:00
cpq
21d3678fa7
Add more on logging
2022-12-21 11:31:14 +00:00
cpq
3dd8d7d8e5
Add diagrams
2022-12-21 11:18:50 +00:00
Sergio R. Caprile
92aa538a84
Merge pull request #1934 from cesanta/myheart
...
Unbreak
2022-12-20 19:39:22 -03:00
Sergio R. Caprile
557a5583e8
Unbreak
2022-12-20 19:38:20 -03:00
Sergio R. Caprile
b00ddff7dd
Merge pull request #1933 from cesanta/fixmqttserver
...
Fix MQTT server example
2022-12-20 16:08:56 -03:00
Sergio R. Caprile
cc3b311ab0
Fix MQTT server example
2022-12-20 16:06:46 -03:00
cpq
6cedca5d76
Remove DS_Store
2022-12-19 14:40:17 +00:00
Sergey Lyubka
d82452e00f
Merge pull request #1929 from cesanta/usb
...
Add TinyUSB example
2022-12-19 14:33:11 +00:00
cpq
57a5c0ba38
Add TinyUSB example
2022-12-19 14:31:54 +00:00
Sergio R. Caprile
28c8519e5b
Merge pull request #1924 from cesanta/scaprile-patch-1
...
Update README.md
2022-12-15 10:31:37 -03:00
Sergio R. Caprile
cfcb7191ea
Update README.md
2022-12-15 09:52:19 -03:00
Sergey Lyubka
6921227ec8
Merge pull request #1915 from jfsimon1981/miptap
...
Mip tests and tuntap example to compile on OpenBSD natively.
2022-12-13 16:42:09 +00:00
Sergey Lyubka
1c9991ee83
Merge pull request #1916 from cesanta/stm32
...
Minor tweaks in STM32 examples
2022-12-13 16:40:38 +00:00
Sergey Lyubka
fd475fcfff
Merge pull request #1917 from cesanta/tm4c
...
Correct stack initialization
2022-12-13 16:40:10 +00:00
Sergio R. Caprile
f47f995e90
Merge pull request #1921 from cesanta/scaprile-patch-1
...
Update test.yml
2022-12-13 13:02:11 -03:00
Sergio R. Caprile
d93e943326
Update test.yml
2022-12-13 12:51:43 -03:00
Sergio R. Caprile
7ca9f2d5cd
Merge pull request #1920 from jojo2massol/patch-1
...
Update comment for the path of rest API
2022-12-13 12:39:28 -03:00
jojo2massol
ff1d45a008
Update comment for the path of rest API
...
rest api is available at `/rest` and not `/api/rest`
2022-12-13 15:33:51 +01:00
Sergio R. Caprile
53f0a72362
Merge pull request #1919 from cesanta/doc1918
...
Update README.md
2022-12-10 20:14:30 -03:00
Sergio R. Caprile
3a47242219
Update README.md
...
Closes #1918
2022-12-10 20:12:58 -03:00
Jean-Francois Simon
5556568feb
Mip tests and tuntap example to compile on OpenBSD natively.
...
(updated for c++ build)
Fix typo
2022-12-09 18:48:05 +00:00
Sergio R. Caprile
6011a15cd4
Correct stack initialization
2022-12-09 15:47:23 -03:00
Sergio R. Caprile
2c014778d9
Minor tweaks in STM32 examples
...
Fix comments in newer mip initialization (main.c)
Correct stack initialization (boot.c)
Remove SCC clock enable when not needed (mcu.h)
2022-12-09 15:20:51 -03:00
Sergey Lyubka
0b2712f52f
Merge pull request #1911 from cesanta/gwarp
...
Ask for gw mac when needed and not known
2022-12-09 11:51:40 +00:00
Sergey Lyubka
69f1acd823
Merge pull request #1912 from cesanta/nodupack
...
Avoid duplicated ACKs
2022-12-09 11:50:30 +00:00
cpq
c0f15d50d6
Squash cppcheck warn
2022-12-09 09:29:34 +00:00
Sergio R. Caprile
1d3fe51e8b
Avoid duplicated ACKs
2022-12-08 18:59:18 -03:00
Sergio R. Caprile
d364d50c05
Improve MIP resiliency
2022-12-08 17:17:05 -03:00
Sergey Lyubka
615d324b11
Merge pull request #1906 from jfsimon1981/armfix
...
Fix arm and armhf test builds and unit_test runtime.
2022-12-07 18:31:29 +00:00
Jean-Francois Simon
eb36b6755f
Fix arm and armhf test builds and unit_test runtime.
...
Generalized with the correct define (comment from SC).
2022-12-07 17:09:13 +00:00
Sergey Lyubka
40c28d3b21
Merge pull request #1905 from cesanta/percentA
...
Use %I in mip.c
2022-12-07 07:22:10 +00:00
Sergio R. Caprile
e726282023
Merge pull request #1908 from cesanta/tm4creadme
...
Add README
2022-12-06 17:10:19 -03:00
Sergio R. Caprile
327f734e4f
Add README
2022-12-06 17:09:15 -03:00
Sergio R. Caprile
b361f64d4f
Merge pull request #1907 from cesanta/tests
...
Update test.yml
2022-12-06 16:25:47 -03:00
Sergio R. Caprile
b38d215b3d
Update test.yml
2022-12-06 15:53:18 -03:00
Sergio R. Caprile
99aa498bc4
Use %I in mip.c
...
Add %A to print hw address and use it in mip.c
Fix some debug data
2022-12-06 13:44:31 -03:00
Sergio R. Caprile
f14798dec9
Merge pull request #1904 from cesanta/tm4cdriver
...
Improve TM4C driver
2022-12-06 11:08:44 -03:00
Sergio R. Caprile
65873f3dee
Improve TM4C driver
...
- Fix clock guessing
- Frames are now read in order, and only host owned descriptors are checked
- Read as many frames as possible (but don't loop forever)
- Discard bad frames
- Fixed incorrect handling of RU bit and exit out of suspended condition
- If a frame arrives while processing, it will now generate a new interrupt (formerly it would wait for another frame to arrive as we reset the flag on exit)
2022-12-06 10:45:41 -03:00
Sergio R. Caprile
fc98c88358
Merge pull request #1903 from cesanta/freemgstrdupdoc
...
Update README.md
2022-12-05 16:30:24 -03:00
Sergio R. Caprile
7c0440c148
Update README.md
2022-12-05 16:24:28 -03:00
Sergio R. Caprile
ad051269ed
Merge pull request #1899 from cesanta/castREADME
...
Update README.md
2022-12-04 19:17:23 -03:00
Sergio R. Caprile
497d8f25a1
Update README.md
2022-12-04 19:16:34 -03:00
Sergey Lyubka
eb142f26f2
Merge pull request #1897 from cesanta/i
...
Fix #1888 : add %I *printf specifier for IP address. Remove mg_ntoa, m…
2022-12-03 14:39:47 +00:00
cpq
b01989f041
Fix #1888 : add %I *printf specifier for IP address. Remove mg_ntoa, mg_straddr
2022-12-03 14:27:07 +00:00
Sergey Lyubka
84d89e80cd
Merge pull request #1896 from cesanta/stm32driver
...
Improve STM32 driver
2022-12-03 09:40:38 +00:00
Sergio R. Caprile
d059d2cda4
Improve STM32 driver
2022-12-02 19:47:29 -03:00
jfsimon1981
751413f050
MIP tuntap with dhcp added, enabled gitactions ( #1890 )
...
Enable DHCP with MIP tests.
Separate sources for high and low level stack tests.
Fixed assertion.
Added dhcpd.conf file.
2022-12-02 17:40:46 +01:00
Sergey Lyubka
ce5e28554f
Merge pull request #1891 from cesanta/baremetalREADMEs
...
Add links to tool installation in MIP hw examples
2022-12-02 07:12:46 +00:00
Sergio R. Caprile
860be3f96c
Add links to tool installation in MIP hw examples
2022-12-01 17:23:16 -03:00
Sergey Lyubka
89fb3a3d6e
Merge pull request #1889 from cesanta/mippoll
...
MG_EV_POLL generation on MIP
2022-12-01 07:25:19 +00:00
Sergio R. Caprile
474a07564c
Make test NOT fail
2022-11-30 18:16:13 -03:00
Sergio R. Caprile
59b69a3b3b
Add test for MG_EV_POLL generation
2022-11-30 12:13:45 -03:00
Sergey Lyubka
2553392e42
Merge pull request #1885 from cesanta/tm4c-freertos-mip
...
Add FreeRTOS + MIP example on TM4C
2022-11-29 15:17:48 +00:00
cpq
fcd6901558
Fix broken mip_test
2022-11-29 14:55:36 +00:00
Sergio R. Caprile
716ffbb945
Add FreeRTOS + MIP tutorial on TM4C
2022-11-29 11:16:43 -03:00
Sergey Lyubka
cd4b9aeafe
Merge pull request #1884 from cesanta/macfilter
...
Fix MAC address filtering on STM32 and TM4C
2022-11-29 14:05:11 +00:00
Sergey Lyubka
5d712b6f54
Merge pull request #1886 from jfsimon1981/master
...
Release MIP tests using tuntap
2022-11-29 11:24:52 +00:00
Jean-Francois Simon
754c68fccc
Release MIP tests using tuntap
2022-11-29 11:20:22 +01:00
Sergio R. Caprile
858f4da0d1
Fix MAC address filtering on STM32 and TM4C
2022-11-28 10:16:10 -03:00
Sergey Lyubka
90910a7a4f
Merge pull request #1883 from cesanta/arpbcast
...
Fix sending ARP request for IP broadcasts
2022-11-26 11:58:16 +00:00
Sergey Lyubka
cd218b59f9
Merge pull request #1882 from cesanta/f746zg-frertos-mip
...
Add FreeRTOS + MIP example on F746
2022-11-26 11:57:43 +00:00
Sergio R. Caprile
9625c49c95
Fix sending ARP request for IP broadcasts
2022-11-25 17:42:35 -03:00
Sergio R. Caprile
2dfed10d2e
Add FreeRTOS + MIP example on F746
2022-11-25 16:57:35 -03:00
cpq
a74d3737dc
Fix mip-pcap
2022-11-25 14:23:59 +00:00
cpq
6c82a34aa0
Remove unused code
2022-11-25 10:00:04 +00:00
cpq
320d5656ac
Remove unused code
2022-11-25 10:00:04 +00:00
Sergio R. Caprile
a4a5778001
Merge pull request #1879 from cesanta/freestdlib
...
Add stdlib.h to includes in FreeRTOS arch
2022-11-24 10:34:24 -03:00
Sergio R. Caprile
a80a003865
Add stdlib.h to includes in FreeRTOS arch
2022-11-24 10:15:03 -03:00
cpq
4607e46c6f
Disable mip_test on macos
2022-11-24 07:21:55 +00:00
cpq
0aa3e2e49c
Enable macos test
2022-11-24 07:02:17 +00:00
Sergio R. Caprile
595bb36956
Merge pull request #1878 from cesanta/Makefile
...
be able to flash target
2022-11-23 17:09:05 -03:00
Sergio R. Caprile
afdf7e6df3
actually be able to flash target
2022-11-23 16:13:37 -03:00
Sergey Lyubka
3e1c7d7ef2
Merge pull request #1874 from cesanta/makefix
...
Fix wildcard in Makefile
2022-11-23 10:16:11 +00:00
cpq
7ce7c3deb7
Fix mingw build
2022-11-22 09:50:35 +00:00
Sergio R. Caprile
c9b390ec60
Fix wildcard in Makefile
2022-11-21 16:57:15 -03:00
Sergey Lyubka
cc2b826356
Merge pull request #1865 from jfsimon1981/master
...
Implemented MIP stack http_fetch()
2022-11-21 18:35:14 +00:00
Jean-Francois Simon
0b2c493731
Merge branch 'master' of https://github.com/jfsimon1981/mongoose
2022-11-21 15:33:42 +01:00
Jean-Francois Simon
0d7bbc51e7
Implemented MIP stack http_fetch()
...
This approach used tuntap driver for Linux/Unices
2022-11-21 15:32:45 +01:00
Sergey Lyubka
db81c30d24
Merge pull request #1871 from cesanta/straddr
...
Fix mg_straddr() stack overwrite
2022-11-21 07:00:23 +00:00
cpq
41ea8de0d6
Mark request close for HTTP redirects
2022-11-20 12:18:15 +00:00
Sergio R. Caprile
c4b5b37568
Fix mg_straddr() stack overwrite
2022-11-19 19:44:52 -03:00
Sergio R. Caprile
76e6b23a4f
Update README.md
2022-11-18 18:06:48 -03:00
Sergio R. Caprile
283e295a98
Merge pull request #1869 from cesanta/miptap
...
Add missing include
2022-11-18 12:28:59 -03:00
Sergio R. Caprile
606009afb0
Add missing include
...
linux/if uses struct sockaddr that is defined in sys/socket.h. This breaks building on some systems. It went unnoticed as it was hidden by mongoose.h being included first
2022-11-18 10:51:58 -03:00
Sergey Lyubka
da303b8b4f
Merge pull request #1858 from cesanta/LAA
...
change MIP MAC to LAA
2022-11-18 10:41:12 +00:00
Sergey Lyubka
d4048661ae
Merge pull request #1857 from cesanta/scaprile-patch-1
...
Update issue_template.md
2022-11-18 10:39:34 +00:00
Sergey Lyubka
47853547ca
Merge pull request #1856 from cesanta/zephyr-tests
...
Zephyr tests
2022-11-18 10:39:13 +00:00
Jean-Francois Simon
6ae9188af4
Implemented MIP stack http_fetch()
...
This approach used tuntap driver for Linux/Unices
2022-11-16 18:26:49 +01:00
jfsimon1981
d958ec2ac8
Revert "mip_test.c http fetch ( #1851 )" ( #1864 )
...
This reverts commit 07aac8e6e9 .
2022-11-16 18:02:23 +01:00
jfsimon1981 and Jean-Francois Simon
07aac8e6e9
mip_test.c http fetch ( #1851 )
...
* Update mip_test.c
* Adding mip_free() function.
* Adding mip_free() function.
* Added MIP free.
* Fixed C++ builds.
* Proper C/C++ struct initialization.
* Squashed commit of the following:
commit 7ba68dd20d
Author: Jean-Francois Simon <jfsimon@startmail.com >
Date: Wed Nov 16 16:19:50 2022 +0100
Proper C/C++ struct initialization.
commit aeab3ef7ac
Author: Jean-Francois Simon <jfsimon@startmail.com >
Date: Tue Nov 15 17:09:29 2022 +0100
Fixed C++ builds.
commit 2afd529107
Merge: 14710b81 f8445a4c
Author: jfsimon1981 <jfsimon1981@gmail.com >
Date: Tue Nov 15 11:33:56 2022 +0100
Merge branch 'cesanta:master' into master
commit 14710b81e4
Author: Jean-Francois Simon <jfsimon@startmail.com >
Date: Tue Nov 15 11:07:15 2022 +0100
Added MIP free.
commit 6393cd149d
Author: Jean-Francois Simon <jfsimon@startmail.com >
Date: Tue Nov 15 11:06:44 2022 +0100
Adding mip_free() function.
commit feee81b733
Author: Jean-Francois Simon <jfsimon@startmail.com >
Date: Tue Nov 15 11:05:55 2022 +0100
Adding mip_free() function.
commit f8445a4c85
Merge: a39b7ddb 71f5be01
Author: Sergio R. Caprile <scaprile@users.noreply.github.com >
Date: Fri Nov 11 20:42:38 2022 -0300
Merge pull request #1853 from cesanta/tibaremetaltest
Update test.yml
commit 71f5be011b
Author: Sergio R. Caprile <scaprile@users.noreply.github.com >
Date: Fri Nov 11 20:15:01 2022 -0300
Update test.yml
commit b53d3cf032
Merge: 7a71038a a39b7ddb
Author: jfsimon1981 <jfsimon1981@gmail.com >
Date: Fri Nov 11 16:10:53 2022 +0100
Merge branch 'cesanta:master' into master
commit 7a71038a27
Author: jfsimon1981 <jfsimon1981@gmail.com >
Date: Fri Nov 11 16:09:22 2022 +0100
Update mip_test.c
commit a39b7ddbac
Author: cpq <valenok@gmail.com >
Date: Fri Nov 11 15:03:48 2022 +0000
Fix fuzzer use-after-poison READ 1
* Squashed commit of the following:
commit 192ae56ece
Merge: 7b0509c8 7ba68dd2
Author: Jean-Francois Simon <jfsimon@startmail.com >
Date: Wed Nov 16 17:44:03 2022 +0100
Merge branch 'master' of https://github.com/jfsimon1981/mongoose
commit 7b0509c878
Author: Jean-Francois Simon <jfsimon@startmail.com >
Date: Wed Nov 16 17:43:33 2022 +0100
Squashed commit of the following:
commit 7ba68dd20d
Author: Jean-Francois Simon <jfsimon@startmail.com >
Date: Wed Nov 16 16:19:50 2022 +0100
Proper C/C++ struct initialization.
commit aeab3ef7ac
Author: Jean-Francois Simon <jfsimon@startmail.com >
Date: Tue Nov 15 17:09:29 2022 +0100
Fixed C++ builds.
commit 2afd529107
Merge: 14710b81 f8445a4c
Author: jfsimon1981 <jfsimon1981@gmail.com >
Date: Tue Nov 15 11:33:56 2022 +0100
Merge branch 'cesanta:master' into master
commit 14710b81e4
Author: Jean-Francois Simon <jfsimon@startmail.com >
Date: Tue Nov 15 11:07:15 2022 +0100
Added MIP free.
commit 6393cd149d
Author: Jean-Francois Simon <jfsimon@startmail.com >
Date: Tue Nov 15 11:06:44 2022 +0100
Adding mip_free() function.
commit feee81b733
Author: Jean-Francois Simon <jfsimon@startmail.com >
Date: Tue Nov 15 11:05:55 2022 +0100
Adding mip_free() function.
commit f8445a4c85
Merge: a39b7ddb 71f5be01
Author: Sergio R. Caprile <scaprile@users.noreply.github.com >
Date: Fri Nov 11 20:42:38 2022 -0300
Merge pull request #1853 from cesanta/tibaremetaltest
Update test.yml
commit 71f5be011b
Author: Sergio R. Caprile <scaprile@users.noreply.github.com >
Date: Fri Nov 11 20:15:01 2022 -0300
Update test.yml
commit b53d3cf032
Merge: 7a71038a a39b7ddb
Author: jfsimon1981 <jfsimon1981@gmail.com >
Date: Fri Nov 11 16:10:53 2022 +0100
Merge branch 'cesanta:master' into master
commit 7a71038a27
Author: jfsimon1981 <jfsimon1981@gmail.com >
Date: Fri Nov 11 16:09:22 2022 +0100
Update mip_test.c
commit a39b7ddbac
Author: cpq <valenok@gmail.com >
Date: Fri Nov 11 15:03:48 2022 +0000
Fix fuzzer use-after-poison READ 1
commit 7ba68dd20d
Author: Jean-Francois Simon <jfsimon@startmail.com >
Date: Wed Nov 16 16:19:50 2022 +0100
Proper C/C++ struct initialization.
commit aeab3ef7ac
Author: Jean-Francois Simon <jfsimon@startmail.com >
Date: Tue Nov 15 17:09:29 2022 +0100
Fixed C++ builds.
commit 2afd529107
Merge: 14710b81 f8445a4c
Author: jfsimon1981 <jfsimon1981@gmail.com >
Date: Tue Nov 15 11:33:56 2022 +0100
Merge branch 'cesanta:master' into master
commit 14710b81e4
Author: Jean-Francois Simon <jfsimon@startmail.com >
Date: Tue Nov 15 11:07:15 2022 +0100
Added MIP free.
commit 6393cd149d
Author: Jean-Francois Simon <jfsimon@startmail.com >
Date: Tue Nov 15 11:06:44 2022 +0100
Adding mip_free() function.
commit feee81b733
Author: Jean-Francois Simon <jfsimon@startmail.com >
Date: Tue Nov 15 11:05:55 2022 +0100
Adding mip_free() function.
commit f8445a4c85
Merge: a39b7ddb 71f5be01
Author: Sergio R. Caprile <scaprile@users.noreply.github.com >
Date: Fri Nov 11 20:42:38 2022 -0300
Merge pull request #1853 from cesanta/tibaremetaltest
Update test.yml
commit 71f5be011b
Author: Sergio R. Caprile <scaprile@users.noreply.github.com >
Date: Fri Nov 11 20:15:01 2022 -0300
Update test.yml
commit b53d3cf032
Merge: 7a71038a a39b7ddb
Author: jfsimon1981 <jfsimon1981@gmail.com >
Date: Fri Nov 11 16:10:53 2022 +0100
Merge branch 'cesanta:master' into master
commit a39b7ddbac
Author: cpq <valenok@gmail.com >
Date: Fri Nov 11 15:03:48 2022 +0000
Fix fuzzer use-after-poison READ 1
Co-authored-by: Jean-Francois Simon <jfsimon@startmail.com >
2022-11-16 17:55:27 +01:00
Sergio R. Caprile
9a341c9032
change MIP MAC to LAA
2022-11-15 14:56:51 -03:00
Sergio R. Caprile
21e8b08ed9
Reduce Zephyr test time
2022-11-14 18:06:00 -03:00
Sergio R. Caprile
c41d477adc
Update issue_template.md
2022-11-14 14:58:36 -03:00
Sergio R. Caprile
f8445a4c85
Merge pull request #1853 from cesanta/tibaremetaltest
...
Update test.yml
2022-11-11 20:42:38 -03:00
Sergio R. Caprile
71f5be011b
Update test.yml
2022-11-11 20:15:01 -03:00
cpq
a39b7ddbac
Fix fuzzer use-after-poison READ 1
2022-11-11 15:03:48 +00:00
Sergio R. Caprile
cab5c822c5
Merge pull request #1850 from cesanta/miplocal
...
Fix incorrect local network address detection
2022-11-11 11:58:29 -03:00
Sergey Lyubka
4056bd3c2d
Merge pull request #1847 from cesanta/xiao
...
Fix arduino-xiao build and add GA test
2022-11-11 14:53:40 +00:00
Sergio R. Caprile
a985ae9c0a
Fix incorrect local network address detection
2022-11-11 11:18:47 -03:00
cpq
804a3bf380
Fix #1801 - report ipv4 accepted address for ipv4 listeners
2022-11-11 14:01:17 +00:00
Sergey Lyubka
a8bef96463
Merge pull request #1844 from cesanta/tm4c129x
...
Add TM4C129x driver
2022-11-11 13:15:35 +00:00
Sergey Lyubka
5e43a3f695
Merge pull request #1846 from cesanta/ektm4c129x
...
Add EK-TM4C1294XL example
2022-11-11 13:15:20 +00:00
cpq
8e46e05e1b
Fix arduino-xiao build and add GA test
2022-11-11 10:04:47 +00:00
Sergio R. Caprile
ec0e27dbb4
Add EK-TM4C1294XL example
2022-11-10 21:14:30 -03:00
Sergio R. Caprile
3f55d93b41
Merge pull request #1845 from cesanta/mip-tap
...
Unbreak
2022-11-10 15:01:10 -03:00
Sergio R. Caprile
5418a8c28a
Unbreak
...
userdata was changed to a pointer to a socket, but tx() was not updated
My Linux system does not like mongoose.h at the end...
2022-11-10 15:00:43 -03:00
Sergio R. Caprile
e180192379
Add TM4C129x driver
2022-11-10 14:41:41 -03:00
cpq
f498d69b7d
Fix examples/stm32/nucleo-f429zi-freertos-mip
2022-11-10 03:01:10 +00:00
Sergio R. Caprile
dfae1b3f70
Merge pull request #1843 from cesanta/mip
...
Expose mip guts
2022-11-09 17:40:46 -03:00
Sergio R. Caprile
a9ebb55f95
Merge pull request #1842 from cesanta/ft
...
Add nucleo-f429zi-freertos-mip example
2022-11-09 16:28:33 -03:00
cpq
abfac8aa40
Expose mip guts
2022-11-09 19:25:40 +00:00
cpq
78956ccf83
Add nucleo-f429zi-freertos-mip example
2022-11-09 18:25:11 +00:00
Sergey Lyubka
eed25f23f6
Merge pull request #1839 from cesanta/stm32uart
...
Fix wrong reference to prescaler
2022-11-09 09:24:24 +00:00
Sergey Lyubka
134ce56f80
Merge pull request #1841 from cesanta/small
...
Endianness test
2022-11-09 09:23:04 +00:00
cpq
28a4778187
Endianness test
2022-11-09 09:20:15 +00:00
Sergio R. Caprile
c654c2e5e8
Fix wrong reference to prescaler
2022-11-08 11:23:10 -03:00
Sergey Lyubka
e580d4e637
Merge pull request #1837 from cesanta/arch
...
Create MG_ARCH_FREERTOS, MG_ENABLE_LWIP, MG_ENABLE_FREERTOS_TCP. Remo…
2022-11-08 00:13:28 +00:00
cpq
2192914cbb
Create MG_ARCH_FREERTOS, MG_ENABLE_LWIP, MG_ENABLE_FREERTOS_TCP. Remove MG_ARCH_FREERTOS_TCP, MG_ARCH_RTX_LWIP
2022-11-07 23:58:58 +00:00
Sergio R. Caprile
ca6dee1777
Merge pull request #1836 from cesanta/dewarning
...
Remove some warnings
2022-11-07 15:29:33 -03:00
Sergio R. Caprile
6f3bdc5dca
Remove some warnings
2022-11-07 15:23:47 -03:00
Sergey Lyubka
095cdcd69e
Merge pull request #1834 from cesanta/sock
...
Generalize socket constants
2022-11-05 13:11:57 +00:00
cpq
f022633f29
Generalize socket constants
2022-11-05 12:33:49 +00:00
Sergey Lyubka
1f85fcc9b0
Merge pull request #1831 from cesanta/mqtt
...
Accept zero-length payload messages
2022-11-03 16:46:56 +00:00
Sergio R. Caprile
a3ede75842
Accept zero-length payload messages
2022-11-03 11:26:08 -03:00
cpq
0defce37f0
Pull mongoose_custom.h
2022-11-03 12:59:55 +00:00
Sergey Lyubka
4355b39b1e
Merge pull request #1830 from cesanta/mip
...
ARP lookup hosts in the same net. Use up-to-date code in zephyr dash …
2022-11-03 12:35:17 +00:00
cpq
efec738c89
ARP lookup hosts in the same net. Use up-to-date code in zephyr dash example
2022-11-03 08:06:17 +00:00
Sergey Lyubka
10c09a361b
Merge pull request #1829 from cesanta/cr
...
CR incorrectly set in STM32 driver
2022-11-02 23:18:20 +00:00
Sergio R. Caprile
e3d1a69223
CR incorrectly set in STM32 driver
2022-11-02 19:25:05 -03:00
Sergey Lyubka
4b82253ae9
Merge pull request #1826 from cesanta/custom
...
mongoose_custom.h not pulled in when MG_ARCH=MG_ARCH_CUSTOM
2022-11-02 12:05:59 +00:00
Sergio R. Caprile
47a12c30ca
mongoose_custom.h not pulled in when MG_ARCH=MG_ARCH_CUSTOM
2022-11-01 21:01:33 -03:00
cpq
613655767b
Housekeeping at the end of c->label
2022-11-01 21:01:03 +00:00
Sergey Lyubka
1182027f1c
Merge pull request #1823 from cesanta/ti-rtos
...
Fix TI-RTOS port
2022-10-30 09:41:48 +00:00
Sergio R. Caprile
e9421d557a
Fix TI-RTOS port
...
Sockets were not being put in non-blocking mode as the setsockopt() call wasn't using SOL_SOCKET
Do not include errno.h but serrno.h, otherwise error codes are mangled... NDK functions use serrno, errno belongs to the compiler
UDP sockets require binding to receive responses
select() does not return write-ready on connect if the amount of bytes to write is below the "low-water mark". This parameter defaults to 2048, there was some code apparently setting this otherwise, with no success. Reworked the code to set this water mark at half the buffer size by just using plain getsockopt/setsockopt calls.
For the record:
TI typedef's void * SOCKET for internal use, INVALID_SOCKET is cast to (void *). Their BSD compatible socket interface expects and returns int; while Mongoose uses SOCKET... this generates lots of warnings 169 and 515, disabled in the examples
2022-10-28 18:55:10 -03:00
cpq
bbc0c0df94
Unbreak test
2022-10-28 15:35:40 +01:00
Sergio R. Caprile
610e32714c
Merge pull request #1822 from cesanta/hello
...
Add mg_hello()
2022-10-28 09:48:43 -03:00
cpq
7ab81d3805
Add mg_hello()
2022-10-28 10:57:06 +01:00
Sergey Lyubka
9a1e41e1fa
Merge pull request #1821 from cesanta/docs
...
Augment WS documentation
2022-10-27 23:09:47 +01:00
Sergio R. Caprile
ae71d12f06
Augment WS documentation
2022-10-27 12:03:16 -03:00
cpq
c25234df83
Better MIP description
2022-10-27 08:12:22 +01:00
Sergey Lyubka
03284ba046
Merge pull request #1810 from cesanta/zephyresp
...
Support Zephyr on ESP32
2022-10-25 17:22:47 +01:00
Sergey Lyubka
5fa433ecca
Merge pull request #1814 from cesanta/ti-rtos
...
Improve TI-RTOS timing support
2022-10-25 17:07:33 +01:00
Sergio R. Caprile
ac2a4c700a
Merge pull request #1818 from cesanta/ti
...
Allow flash and cloning without build
2022-10-25 10:55:46 -03:00
Sergio R. Caprile
eeb7b00f60
Allow flash and cloning without build
2022-10-25 10:41:53 -03:00
Sergio R. Caprile
c8c540b453
Improve TI-RTOS timing support
2022-10-24 11:48:54 -03:00
Sergio R. Caprile
a0585f75f7
Support Zephyr on ESP32
2022-10-21 11:44:09 -03:00
Sergey Lyubka
637af1d392
Merge pull request #1809 from cesanta/picow
...
Make pico-w device-dashboard example fully functional
2022-10-20 18:24:38 +01:00
Sergio R. Caprile
fe6c31acc1
Make pico-w device-dashboard example fully functional
2022-10-20 11:57:00 -03:00
Sergio R. Caprile
04cfcf751e
Merge pull request #1805 from cesanta/invsock
...
Fix unintended socket close on systems with valid fd=0 descriptor numbering
2022-10-20 11:04:03 -03:00
Sergio R. Caprile
51c51d49ad
Fix unintended socket close on systems with valid fd=0 descriptor numbering
2022-10-20 10:34:26 -03:00
cpq
4271aa5b1f
Update matrix example name
2022-10-19 09:24:19 +01:00
cpq
17ada1c894
Fix #1803 - conditional for SSL_set1_host(). In unit test, disable time.windows.com, use google and apple SNTP servers
2022-10-19 09:06:47 +01:00
cpq
2e14d125ba
Fuzzer nits
2022-10-18 15:21:59 +01:00
cpq
ce8fa4c24b
Echo WS CLOSE payload back
2022-10-18 14:31:47 +01:00
Sergey Lyubka
cfe2e83e6b
Merge pull request #1798 from Yeicor/patch-1
...
Remove mg_hexdump from deliver_chunked_chunks
2022-10-17 07:14:24 +01:00
Yeicor
b17c62618d
Remove mg_hexdump from deliver_chunked_chunks
2022-10-16 21:11:00 +02:00
Sergey Lyubka
6b162a1193
Merge pull request #1796 from cesanta/rpicow
...
Dettach git clone and fix clean
2022-10-16 16:59:19 +01:00
Sergey Lyubka
6653530b63
Merge pull request #1797 from strager/fix-typo
...
Fix typo in documentation
2022-10-16 16:58:20 +01:00
cpq
aacae6444e
Fix stack overflow in fuzzer - too big on-stack array
2022-10-15 17:18:31 +01:00
Matthew "strager" Glazar
b91fe12258
Fix typo in documentation
2022-10-14 18:27:06 -07:00
Sergio R. Caprile
ae7ca00e69
Dettach git clone and fix clean
...
The user has to clone the repo, then edit the Makefile to change WiFi credentials. Running make build does both and the tests go flawlessly
The user can run make to clone the repo, then change credentials and run make build, it will skip cloning if the repo is already there
In some systems the compiled files are not owned by the user as Docker runs as root, so we first invoke clean in the cloned repo (which erases the compiled files), and then remove the cloned repo that the user owns and can rm.
2022-10-14 12:09:39 -03:00
Sergio R. Caprile
0103f1f080
Merge pull request #1795 from cesanta/z
...
Use board nucleo_f429zi
2022-10-14 08:54:20 -03:00
cpq
e8d29d54d6
Use board nucleo_f429zi
2022-10-14 11:39:00 +01:00
Sergey Lyubka
092f2ce0b3
Merge pull request #1794 from cesanta/addMissingTests
...
Update test.yml
2022-10-11 07:37:53 +01:00
Sergio R. Caprile
d89233276b
Update test.yml
2022-10-10 17:16:42 -03:00
Sergio R. Caprile
7d797187e8
Merge pull request #1793 from cesanta/device-dashboard
...
fix paths in Makefile (like other examples)
2022-10-10 17:01:43 -03:00
Sergio R. Caprile
6edcc72364
fix paths in Makefile
2022-10-10 16:51:07 -03:00
Sergey Lyubka
250dfc1377
Merge pull request #1790 from cesanta/zephyr-device-dashboard
...
Add device-dashboard example on Zephyr
2022-10-10 15:59:08 +01:00
Sergey Lyubka
45489c1c87
Merge pull request #1789 from zudwalex/picow
...
Add Pico-W example
2022-10-10 15:58:53 +01:00
Sergey Lyubka
09b250f189
Merge pull request #1787 from cesanta/zephyr
...
Update Zephyr examples
2022-10-10 15:58:39 +01:00
cpq
a84465ddba
Use MG_SOCK_LISTEN_BACKLOG_SIZE -> 128 for FreeRTOS-TCP
2022-10-10 13:41:07 +01:00
Sergey Lyubka
3b95671442
Merge pull request #1791 from zahar517/fix-json-rpc-example
...
Fix json-rpc-over-ws example
2022-10-10 10:35:29 +01:00
zahar517
52e66077a7
Fix json-rpc-over-ws example
2022-10-08 14:39:01 +03:00
Sergio R. Caprile
84bf4d21a3
Add device-dashboard example on Zephyr
2022-10-07 11:52:31 -03:00
Alex Alashkin
04cfc510d0
Add Pico-W example
2022-10-07 09:11:35 +03:00
Sergio R. Caprile
d846e67ec1
Update Zephyr examples
2022-10-06 17:30:27 -03:00
Sergio R. Caprile
9c60a1bc10
Merge pull request #1788 from cesanta/mod-tests4zephyr
...
Update test.yml
2022-10-06 17:11:30 -03:00
Sergio R. Caprile
f06ac52a43
Update test.yml
2022-10-06 16:55:13 -03:00
Sergio R. Caprile
9e5fd43a2d
Update test.yml
2022-10-06 16:46:26 -03:00
Sergio R. Caprile
8d50e7dc82
Update test.yml
2022-10-06 16:32:33 -03:00
cpq
1e6b7bd2a6
Fix broken link
2022-10-05 11:49:06 +01:00
Sergey Lyubka
8346be7a81
Merge pull request #1783 from cesanta/zephyr
...
Update to latest Zephyr and their Docker repo
2022-10-05 11:41:55 +01:00
Sergey Lyubka
9dc5683fc2
Merge pull request #1785 from cesanta/device-dashboard
...
rename time() to ourtime()
2022-10-05 11:40:08 +01:00
Sergio R. Caprile
e7cb82175a
rename time() to ourtime()
2022-10-04 19:27:38 -03:00
Sergio R. Caprile
1ef0aa14c0
Update to latest Zephyr and their Docker repo
2022-10-04 17:24:13 -03:00
cpq
0b3f6d6aab
Use CC for fuzzer, not CXX
2022-09-30 11:44:50 +01:00
Sergey Lyubka
0beef1d770
Merge pull request #1781 from jameshilliard/update-spdx
...
Update GPL license identifier
2022-09-29 20:29:07 +01:00
James Hilliard
b944db30fd
Update GPL license identifier
...
GPL-2.0 was deprecated in favor of GPL-2.0-only.
GPL-2.0+ was deprecated in favor of GPL-2.0-or-later.
See: https://spdx.org/licenses/
2022-09-29 15:18:10 -04:00
cpq
6cf3a3feaf
Fix fuzzer
2022-09-29 19:31:52 +01:00
cpq
9680b8ccb3
Fix overflow in rx_icmp
2022-09-29 16:53:11 +01:00
cpq
a88a11c243
Fix TX overflow in rx_icmp()
2022-09-29 11:13:40 +01:00
Sergey Lyubka
7ff76f69a1
Merge pull request #1777 from jameshilliard/disable-big-endian
...
Disable broken 32 bit tests and enable 32 bit little endian tests.
2022-09-29 07:33:15 +01:00
James Hilliard
c2e4e6d221
Disable broken 32 bit tests and enable 32 bit little endian tests.
...
It appears there's a bunch of endian specific failing 32 bit tests.
2022-09-28 22:18:08 -06:00
Sergey Lyubka
60edc456a9
Merge pull request #1774 from cesanta/smtp-client
...
Fix wrong ca.pem path +
2022-09-28 21:58:20 +01:00
Sergey Lyubka
625f804130
Merge pull request #1776 from jameshilliard/32-bit-bigendian
...
Also test on 32 bit big endian ppc
2022-09-28 21:56:37 +01:00
Sergey Lyubka
7100aaedec
Merge pull request #1775 from cesanta/endian
...
Fix endianness issues in unit test
2022-09-28 21:55:46 +01:00
James Hilliard
c867dbc7b2
Also test on 32 bit big endian ppc
2022-09-28 16:02:32 -04:00
cpq
88097f1829
Fix endianness issues in unit test
2022-09-28 20:22:09 +01:00
Sergio R. Caprile
7cf4834336
Fix wrong ca.pem path
...
Remove extra EHLO before AUTH (there were two)
2022-09-28 16:05:29 -03:00
Sergey Lyubka
b5355307a3
Merge pull request #1767 from jameshilliard/bigendian-tests
...
Test on big endian CPU architectures
2022-09-28 08:08:38 +01:00
James Hilliard
76f693e5d7
Test on big endian CPU architectures
2022-09-26 05:16:49 -04:00
Sergey Lyubka
fb3b0ca6e3
Merge pull request #1765 from jameshilliard/rpc-add-calloc-null
...
Fix null pointer dereference in mg_rpc_add()
2022-09-25 23:22:57 +01:00
James Hilliard
3c71977e2e
Fix null pointer dereference in mg_rpc_add()
...
Fixes #1736
2022-09-25 14:08:58 -04:00
cpq
5574a2663a
Close connection on 3 keep-alive misses
2022-09-25 17:35:14 +01:00
cpq
41960b4212
Optimize fuzzer
2022-09-25 11:58:28 +01:00
Sergey Lyubka
6a500b8d40
Merge pull request #1764 from cesanta/fuzz
...
Optimize fuzzer
2022-09-25 10:31:21 +01:00
Sergey Lyubka
dcede59379
Merge pull request #1743 from cesanta/stm32-nucleo-f746z
...
Stm32 nucleo f746z
2022-09-25 10:22:52 +01:00
Sergey Lyubka
695153c527
Merge pull request #1762 from gdawg/ssdp-example-fix-dupe-responses
...
Fix SSDP example for second and subsequent responses
2022-09-25 10:20:55 +01:00
cpq
c409cca20e
Optimize fuzzer
2022-09-25 10:19:17 +01:00
Sergey Lyubka
a5a9204f83
Merge pull request #1754 from cesanta/iobuf_init
...
issue #1734 , avoid passing null ptr to memmove
2022-09-24 07:18:42 +01:00
Andrew Griffiths
25d42ad345
Fix SSDP example for second and subsequent responses
2022-09-24 14:14:26 +10:00
Sergio R. Caprile
f70a407611
issue #1734 , avoid passing null ptr to memmove
2022-09-23 19:34:36 -03:00
Sergio R. Caprile
89f2e66c80
Merge pull request #1752 from cesanta/asan
...
Activate asan for mip_test
2022-09-23 09:45:18 -03:00
Sergio R. Caprile
4562be52d4
Merge pull request #1753 from cesanta/mg_vprintf
...
Get rid of va_copy
2022-09-23 09:30:09 -03:00
cpq
ebd931f7af
Get rid of va_copy
2022-09-23 08:59:02 +01:00
cpq
6a47ff6422
Activate asan for mip_test
2022-09-23 08:35:59 +01:00
cpq
1237185bb4
MIP: atomic -> volatile. Add lease time
2022-09-22 17:16:52 +01:00
Sergio R. Caprile
d7fe819699
Merge pull request #1751 from cesanta/stm32-nucleo-f746zg
...
Add new example as per the tutorial
2022-09-22 12:00:15 -03:00
Sergio R. Caprile
770ffd1483
Add new example as per the tutorial
2022-09-22 11:32:52 -03:00
Sergio R. Caprile
9373e77636
Update Makefile as per the tutorial, enhance it
2022-09-22 11:01:40 -03:00
cpq
cb5034548d
Fix oob read in rx_dhcp()
2022-09-22 13:42:17 +01:00
Sergey Lyubka
f9ad870ff0
Merge pull request #1750 from cesanta/make
...
Optimize makefile
2022-09-22 13:26:57 +01:00
cpq
b538bc3871
Optimize makefile
2022-09-22 12:55:45 +01:00
Sergey Lyubka
e5b0528aca
Merge pull request #1742 from cesanta/mip-fuzz
...
Fuzzing MIP
2022-09-21 21:15:50 +01:00
cpq
a12bd2271e
Fuzzing MIP
2022-09-21 20:29:49 +01:00
Sergey Lyubka
15c5858732
Merge pull request #1746 from cesanta/dtoa
...
Fix issue #1733
2022-09-21 17:48:06 +01:00
Sergio R. Caprile
dd4227f444
Fix issue #1733
2022-09-21 11:38:39 -03:00
Sergey Lyubka
fe8a7d8db9
Merge pull request #1748 from cesanta/va_end
...
Fix issue #1735
2022-09-21 09:43:47 +01:00
Sergey Lyubka
ec79ca71b2
Merge pull request #1747 from cesanta/timer_add
...
Fix issue #1737
2022-09-21 07:16:27 +01:00
Sergio R. Caprile
7a1544e76a
Fix issue #1735
2022-09-20 14:26:06 -03:00
Sergio R. Caprile
27ffc23664
Fix issue #1737
2022-09-20 13:54:17 -03:00
Sergio R. Caprile
8ef8ee91e9
Merge pull request #1745 from cesanta/tls-hs
...
Update README.md with TLS_HS event
2022-09-20 10:53:27 -03:00
Sergio R. Caprile
571625f0c3
Update README.md
2022-09-20 10:52:45 -03:00
Sergio R. Caprile
fc2d6eb6bb
Merge pull request #1744 from cesanta/smtp
...
Add smtp client example
2022-09-20 10:38:16 -03:00
cpq
48800504be
Add smtp client example
2022-09-20 11:34:22 +01:00
Sergey Lyubka
f94a019733
Merge pull request #1741 from cesanta/tls
...
Fix mbedtls MG_IO_WAIT case
2022-09-19 14:06:31 +01:00
cpq
535d8b9e02
Fix mbedtls MG_IO_WAIT case
2022-09-19 13:38:59 +01:00
Sergey Lyubka
161d44ee04
Merge pull request #1730 from cesanta/stm32-nucleo-f429z
...
Update Makefile as per the tutorial
2022-09-13 21:46:41 +01:00
Sergey Lyubka
7ea155b943
Merge pull request #1729 from cesanta/mip-tap
...
Add example to use TAP interface on Linux
2022-09-13 21:46:06 +01:00
Sergio R. Caprile
30acef2452
Merge pull request #1727 from cesanta/mdc
...
Pass MDC clock divider explicitly rather than guess
2022-09-12 20:43:00 -03:00
cpq
82b50fd3a5
Pass MDC clock divider explicitly rather than guess
2022-09-12 23:57:04 +01:00
Sergio R. Caprile
9e5503dd04
Update Makefile as per the tutorial
2022-09-12 17:29:47 -03:00
Sergio R. Caprile
2ec2ed62c8
Add example to use TAP interface on Linux
2022-09-12 10:52:23 -03:00
cpq
274c11c3ec
Update README
2022-09-11 13:42:59 +01:00
cpq
76c4bb556f
Update README
2022-09-11 11:23:58 +01:00
cpq
40f484cc54
Update README
2022-09-11 11:20:53 +01:00
cpq
85b701b8c2
Formatting
2022-09-10 21:49:20 +01:00
Sergey Lyubka
7e875ba89d
Merge pull request #1726 from cesanta/qp
...
Add MAC addr filtering to stm32 driver. Record free space in q profiler
2022-09-10 18:19:36 +01:00
cpq
c718d7999f
Add MAC addr filtering to stm32 driver. Record free space in q profiler
2022-09-10 16:38:03 +01:00
Sergey Lyubka
d1472992da
Merge pull request #1725 from cesanta/qprofile
...
Add irq and drop counters to qprofiler
2022-09-09 20:19:19 +01:00
Sergio R. Caprile
995f90aa49
Add irq and drop counters to qprofiler
2022-09-09 14:47:46 -03:00
Sergio R. Caprile
a4c27618b4
Update README.md
2022-09-09 14:10:48 -03:00
Sergio R. Caprile
05019529f1
Merge pull request #1724 from cesanta/mgread
...
Pass long *bytes_read to MG_EV_READ
2022-09-09 14:09:50 -03:00
Sergio R. Caprile
1b5ab3261c
Merge pull request #1722 from cesanta/mip-tls
...
Add mbedtls support to MIP
2022-09-09 14:09:19 -03:00
Sergey Lyubka
6033555ac0
Merge pull request #1723 from cesanta/pcap
...
Added Linux howto
2022-09-09 17:43:53 +01:00
cpq
fd4e1975a3
Pass long *bytes_read to MG_EV_READ
2022-09-09 17:09:18 +01:00
cpq
124ac12150
Add mbedtls support to MIP
2022-09-09 15:53:42 +01:00
Sergio R. Caprile
8c1ffa3f5d
Added Linux howto
2022-09-09 10:42:46 -03:00
cpq
f76a7e36e8
Corrected MacOS setup diagram
2022-09-08 12:11:01 +01:00
cpq
6484c4bc8b
Updated description
2022-09-08 12:09:30 +01:00
cpq
bba2421ba9
Corrected MacOS setup diagram
2022-09-08 11:36:01 +01:00
cpq
3c69c7feaf
Add MacOS setup diagram
2022-09-08 11:28:16 +01:00
cpq
45b2ffe1af
Use DMG_HTTP_DIRLIST_TIME
2022-09-08 11:02:32 +01:00
cpq
a57c0f4700
Fix #1712 - JSON parsing for keys with arrays
2022-09-08 10:59:23 +01:00
Sergey Lyubka
c33116166f
Merge pull request #1720 from cesanta/qprofile
...
Add rudimentary queue profiler
2022-09-08 10:37:01 +01:00
Sergey Lyubka
50a2063e45
Merge pull request #1713 from behnejad/master
...
display file modify date in "%Y/%m/%d %H:%M:%S".
2022-09-08 08:55:22 +01:00
cpq
cd30cf2d6c
Fix #1710 - free MIP in mg_mgr_free()
2022-09-08 08:53:54 +01:00
cpq
419126652e
Merge branch 'master' of github.com:cesanta/mongoose
2022-09-08 08:50:51 +01:00
cpq
06ab83dca6
Implement keep-alive, 45 sec interval. Correct ACK piggyback
2022-09-08 08:50:42 +01:00
Sergio R. Caprile
313fddf722
Add rudimentary queue profiler
...
ETH IRQ and mip_poll() can both write to the queue, so if a memcpy() is interrupted we might see some weird records.
2022-09-07 17:14:03 -03:00
Sergey Lyubka
f4def36ccb
Merge pull request #1717 from cesanta/fixmipq
...
Fix MIP Q
2022-09-07 20:59:12 +01:00
Sergey Lyubka
4be8f2ba93
Merge pull request #1719 from cesanta/testq
...
Make mip_test fail with current queue algo
2022-09-07 20:58:29 +01:00
cpq
881b282604
Implement ack timer
2022-09-07 20:48:23 +01:00
Sergio R. Caprile
9675bfe07d
Fix MIP Q
2022-09-07 14:59:58 -03:00
Sergio R. Caprile
443351e95a
Make mip_test fail with current queue algo
2022-09-07 14:46:36 -03:00
Behnejad
d4cd1c61ee
fixing defines.
2022-09-07 22:08:50 +04:30
cpq
75892cb523
Add %f to src/fmt.c
2022-09-07 15:09:52 +01:00
Sergey Lyubka
63e0041644
Merge pull request #1715 from davidhozic/feature/1714
...
Bug Fix #1714
2022-09-07 15:03:51 +01:00
Sergey Lyubka
70e2d8dd4e
Merge pull request #1716 from cesanta/pcap
...
Make mip-pcap work on Mac
2022-09-07 13:36:14 +01:00
cpq
b2624f6055
Make mip-pcap work on Mac
2022-09-07 13:36:00 +01:00
David Hozic
0bb8144677
Bug Fix #1714
2022-09-07 13:35:32 +02:00
Behnejad
ad50447ec6
display file modify date in "%Y/%m/%d %H:%M:%S".
...
adding compile time option to display file modification date as "%Y/%m/%d %H:%M:%S" in http directory indexing.
2022-09-07 09:04:15 +04:30
Sergey Lyubka
84de7437c6
Merge pull request #1711 from cesanta/ethrxsz
...
Fix Ethernet buffer size
2022-09-06 22:29:23 +01:00
Sergio R. Caprile
419dd50255
Fix Ethernet buffer size
...
1500 bytes is payload size, which is OK for tx. On the rx side, a full 802.1Q-tagged frame size is 1522 bytes, without the 4-byte CRC = 1518 bytes (1514 for non-VLAN-tagged frames).
2022-09-06 16:53:26 -03:00
Sergio R. Caprile
9dea02e578
Merge pull request #1708 from cesanta/ack
...
Add mip test
2022-09-05 12:11:24 -03:00
cpq
1c181e091e
Add mip test
2022-09-05 15:56:03 +01:00
Sergio R. Caprile
32782bab0e
Merge pull request #1706 from cesanta/mg_timer_expired
...
Introduce mg_timer_expired(). Adopt DHCP and link status to use it
2022-09-05 11:45:53 -03:00
cpq
330783cb5a
Corrected clean and examples targets
2022-09-05 14:14:50 +01:00
Sergio R. Caprile
504b004e01
Merge pull request #1707 from cesanta/comments
...
Use single-line comments
2022-09-05 09:05:28 -03:00
cpq
edb861da70
docs
2022-09-05 12:29:06 +01:00
cpq
64ad15895f
Small nit in minimal HTTP server example
2022-09-05 12:26:43 +01:00
cpq
44b4944334
Use single-line comments
2022-09-03 09:49:41 +01:00
cpq
f9272d0959
Introduce mg_timer_expired(). Adopt DHCP and link status to use it
2022-09-03 09:45:19 +01:00
Sergey Lyubka
a113e344a1
Merge pull request #1704 from cesanta/acknow
...
Re-enable sending ACKs until proper mechanism is in place
2022-09-03 07:46:43 +01:00
Sergey Lyubka
2d80f03f01
Merge pull request #1705 from lionsoul2014/master
...
fix the doc error: htts to https
2022-09-03 07:44:01 +01:00
lion
542fe9f029
fix the doc error: htts to https
2022-09-03 10:51:09 +08:00
Sergio R. Caprile
a1992f5910
Re-enable sending ACKs until proper mechanism is in place
2022-09-02 20:48:30 -03:00
Sergey Lyubka
45a057b0c6
Merge pull request #1703 from cesanta/stm32driver
...
Extend explanation for MDC clock
2022-09-02 20:02:05 +01:00
Sergio R. Caprile
4a1a26e8b7
Extend explanation for MDC clock
2022-09-02 15:03:46 -03:00
Sergey Lyubka
db35e6a427
Merge pull request #1702 from cesanta/stm32driver
...
Add CR setup, set MDC based on HCLK
2022-09-02 18:46:31 +01:00
Sergio R. Caprile
7358ed25a5
Add CR setup, set MDC based on HCLK
2022-09-02 14:02:02 -03:00
cpq
0d385c29a3
More JSON tests
2022-09-02 16:23:39 +01:00
Sergey Lyubka
51076e68c8
Merge pull request #1701 from cesanta/enableFPU
...
Enable FPU
2022-09-02 15:46:00 +01:00
Sergio R. Caprile
3270f1252b
Enable FPU
2022-09-02 11:18:11 -03:00
Sergey Lyubka
d8ee105e1e
Merge pull request #1699 from cesanta/scb
...
Fix SCB address for scb struct
2022-09-02 14:09:08 +01:00
cpq
567fccd7ee
Refactor W5500 driver, add arduino w5500 example
2022-09-02 12:58:54 +01:00
cpq
f7f7319698
Refactor W5500 driver, add arduino w5500 example
2022-09-02 12:58:54 +01:00
Sergio R. Caprile
62a6b61fc9
Fix SCB address for scb struct
2022-09-01 17:14:31 -03:00
Sergey Lyubka
1a87d9fa77
Merge pull request #1698 from oakfire/master
...
Fix mg_json_get for the array element result not as expected.
2022-09-01 09:14:10 +01:00
oakfire
8131e30002
Fix mg_json_get for the array element result not as expected.
2022-09-01 15:02:17 +08:00
cpq
83c76bdafc
Make mongoose_custom.h a local include, for Arduino builds
2022-08-31 18:20:34 +01:00
cpq
cf1566e116
Add more comments in json code
2022-08-31 17:59:04 +01:00
Sergey Lyubka
5d2c977029
Merge pull request #1697 from oakfire/master
...
fix : #1696 mg_json_get() bugs.
2022-08-31 17:55:12 +01:00
cpq
823c0ef5fb
Add enc28j60 driver skeleton
2022-08-31 08:54:33 +01:00
cpq
aefc588e6e
Unbreak win98 build
2022-08-31 08:53:22 +01:00
cpq
1949439d69
Adopt mip changes
2022-08-31 08:44:05 +01:00
cpq
c131b8daf1
struct mip_ipcfg -> struct mip_cfg
2022-08-31 08:41:16 +01:00
cpq
8a61969c8f
Add struct mip_spi for SPI drivers, and skeleton for enc28j60 driver
2022-08-31 08:35:06 +01:00
Sergey Lyubka
3cf85770c7
Merge pull request #1694 from cesanta/nucleo-f746zg-baremetal
...
Group clock setup dependencies
2022-08-30 12:25:41 +01:00
Sergey Lyubka
310b339f0d
Merge pull request #1691 from cesanta/docs
...
Moved packed filesystem section out of the docs
2022-08-30 12:24:30 +01:00
Sergey Lyubka
229b7810df
Merge pull request #1695 from cesanta/nucleo-f429zi-baremetal
...
Add baremetal example on Nucleo-F429ZI
2022-08-30 12:24:15 +01:00
oakfire
a686beb9a7
fix : #1696 mg_json_get() bugs.
2022-08-30 14:22:58 +08:00
Sergio R. Caprile
42c1bee8ea
Add baremetal example on Nucleo-F429ZI
2022-08-29 19:20:20 -03:00
Sergio R. Caprile
c289556775
Group clock setup dependencies
2022-08-29 14:36:40 -03:00
Sergio R. Caprile
941d2f2a3e
Moved packed filesystem section out of the docs (relevant parts into the tutorial)
2022-08-29 10:43:29 -03:00
cpq
0a265e79a6
Remove debug log and add a comment
2022-08-29 13:10:11 +01:00
cpq
7f30c01c58
Correct condition check sequence for the prev fix
2022-08-29 13:01:56 +01:00
cpq
0661f5921a
Fix #1690 - mg_json_get for keys with the same prefix
2022-08-29 12:40:50 +01:00
cpq
1c16e95b3a
Fix driver link
2022-08-29 08:55:53 +01:00
cpq
44efa45d75
7.8
2022-08-28 14:11:08 +01:00
cpq
ef89776517
Add reponse end to the http dir list
2022-08-28 13:58:41 +01:00
cpq
2f3f1357c8
Unbreak after mip init API change
2022-08-27 17:15:11 +01:00
cpq
dcdeffff9a
MIP refactor: use mg_hton*, move driver_data to ifp, parametrise f746 PLL setup
2022-08-27 16:45:31 +01:00
cpq
229b492ccc
Minor refactorings, reduced MG_HTTP_MAX_HEADERS 40 -> 30 to reduce stack usage
2022-08-27 12:31:43 +01:00
cpq
2d45ba1981
Merge branch 'master' of github.com:cesanta/mongoose
2022-08-26 17:41:22 +01:00
cpq
b73022096d
Let RPC handle responses too
2022-08-26 17:41:13 +01:00
Sergio R. Caprile
d1124703b7
Merge pull request #1687 from cesanta/webui-login
...
Fix SameSite cookie value
2022-08-26 10:24:00 -03:00
Sergio R. Caprile
4a8dd81c93
Fix SameSite cookie value
2022-08-26 10:22:31 -03:00
cpq
f474a31484
Rebuild packed_fs.c
2022-08-26 14:21:33 +01:00
cpq
e9ec2c5304
Add TLS support to MQTT
2022-08-26 14:20:54 +01:00
cpq
c7b9ca68c2
Move mg_mqtt_next-* to the example, and some nits
2022-08-26 14:20:54 +01:00
Sergio R. Caprile
ffa033cca9
Merge pull request #1686 from cesanta/device-dashboard
...
Fix SameSite cookie value
2022-08-26 10:19:08 -03:00
Sergio R. Caprile
3d3f6e09b6
Fix SameSite cookie value
2022-08-26 10:17:49 -03:00
Sergey Lyubka
7252f5385b
Merge pull request #1683 from cesanta/multi-threaded
...
Show how to send data to a worker thread
2022-08-25 23:53:29 +01:00
Sergio R. Caprile
ad641880a6
Show how to send data to a worker thread
2022-08-25 17:00:47 -03:00
Sergey Lyubka
1f6d62a635
Merge pull request #1684 from cesanta/nucleo-f746zg-baremetal
...
Workaround for aliased weak symbol override issue
2022-08-25 05:10:06 +01:00
Sergio R. Caprile
3cd4fd2d61
Workaround for aliased weak symbol override issue
...
Changed README to use picocom as cu is apparently not able to add carriage return after line feed
2022-08-24 19:02:11 -03:00
cpq
d565faa75d
Make non-initialised MIP poll work
2022-08-21 23:35:24 +01:00
cpq
786e118f06
Include mongoose_custom.h early to allow overrides
2022-08-20 18:26:29 +01:00
cpq
eca612d514
Document all supported MG_ARCH choices
2022-08-20 03:44:29 +01:00
Sergey Lyubka
060f43839d
Merge pull request #1680 from cesanta/esp8266
...
Expanded Makefile
2022-08-20 00:27:09 +01:00
cpq
9c3c4a6f4b
MIP client
2022-08-20 00:03:15 +01:00
cpq
101cc1a672
Add define for strdup
2022-08-20 00:02:36 +01:00
Sergio R. Caprile
e47f71344d
Expanded Makefile
2022-08-19 18:17:52 -03:00
cpq
fee6de6a7f
Allow NULL head in struct mg_rpc
2022-08-19 15:08:01 +01:00
Sergey Lyubka
2bf25a1406
Merge pull request #1678 from cesanta/esp8266
...
Improved Makefile to be able to flash
2022-08-18 22:30:20 +01:00
Sergio R. Caprile
dd59296be9
Improved Makefile to be able to flash
...
subtle mod in main.c comment
2022-08-18 17:41:05 -03:00
cpq
b382726ed0
Build dashboard by default, fix FPU flag
2022-08-18 21:36:36 +01:00
Sergey Lyubka
01390fe540
Merge pull request #1675 from cesanta/stm32h743
...
Change README to point to new tutorial location
2022-08-17 08:30:41 +01:00
cpq
8596e1bef7
Enable FPU
2022-08-16 16:45:05 +01:00
Sergey Lyubka
13fffbc5b6
Merge pull request #1674 from cesanta/webui-preact
...
back to symbolic link
2022-08-16 11:56:08 +01:00
Sergey Lyubka
5f4857ddae
Merge pull request #1673 from cesanta/docs
...
Change argument of %M handler to mg_pfn_t plus some cosmetic changes
2022-08-16 11:55:51 +01:00
Sergey Lyubka
5f36b41785
Merge pull request #1672 from cesanta/webui-push-rest
...
Change argument of %M handler to mg_pfn_t as in huge_response
2022-08-16 11:55:33 +01:00
Sergio R. Caprile
bd8f0c90e1
back to symbolic link
2022-08-15 18:42:20 -03:00
Sergio R. Caprile
f49683353d
Change argument of %M handler to mg_pfn_t plus some cosmetic changes
2022-08-15 16:07:18 -03:00
Sergio R. Caprile
4f012d6bc6
Change argument of %M handler to mg_pfn_t as in huge_response
2022-08-15 16:04:17 -03:00
cpq
e48e353066
Restore mg_file_write() to use tmp file
2022-08-15 16:08:34 +01:00
cpq
6ad7af54dc
Fix docs, nits to freertos includes
2022-08-14 23:46:33 +01:00
cpq
6b69bef2ef
mg_dtoa, mg_atod, mg_lld made static
2022-08-14 01:25:38 +01:00
cpq
d2a27d3d91
mg_*rprintf -> mg_*xprintf
2022-08-13 20:34:20 +01:00
cpq
189aa80743
Update examples to NOT use mg_*mprintf
2022-08-13 20:09:51 +01:00
cpq
f122bd5797
Update mg_log_set_fn()
2022-08-13 15:43:27 +01:00
cpq
d76f86f7db
Get rid of mg_*asprintf
2022-08-13 15:37:55 +01:00
cpq
ccf5364187
Squash C++ warn
2022-08-13 14:57:15 +01:00
cpq
a3bfe3e61a
Use hand-crafted packet for large WS frame test
2022-08-13 14:52:43 +01:00
cpq
de10e340b6
Update examples to use mg_http_reply
2022-08-13 14:52:10 +01:00
cpq
40ca26f23b
Refactor mg_ws_connect()
2022-08-13 14:44:08 +01:00
cpq
da28213613
Squash warning
2022-08-13 11:36:24 +01:00
cpq
6615a821f1
Test WS frames that are larger than 64k
2022-08-13 11:16:13 +01:00
Sergio R. Caprile
d627d669bc
Change README to point to new tutorial location
2022-08-12 17:08:18 -03:00
cpq
ef6fbad0cb
Better CFLAGS for SSL when building examples
2022-08-11 12:12:00 +01:00
cpq
ef9f7d4c16
Change mg_ws_send: const char * -> const void *
2022-08-11 12:12:00 +01:00
Sergey Lyubka
44a0fa0986
Merge pull request #1670 from cesanta/index.gx-test
...
Add unit test for gzipped index when / is requested
2022-08-10 23:46:08 +01:00
Sergio R. Caprile
4d9338323a
Add unit test for gzipped index when / is requested
2022-08-10 19:06:04 -03:00
Sergey Lyubka
1a6bfb65e6
Merge pull request #1669 from cesanta/embedded-filesystem
...
Add Embedded Filesystem example
2022-08-10 21:45:23 +01:00
Sergey Lyubka
3b112cc8c8
Merge pull request #1668 from cesanta/index.gz
...
check for gzipped index file when / is requested
2022-08-10 21:45:09 +01:00
Sergio R. Caprile
014a008c3a
Add Embedded Filesystem example
2022-08-10 16:05:34 -03:00
Sergio R. Caprile
374be7b065
check for gzipped index file when / is requested
2022-08-10 15:54:24 -03:00
cpq
2ba3630de9
Remove dangerous mg_pfn_realloc(). Add %q printf specifier
2022-08-10 18:27:58 +01:00
cpq
24cb9467c0
Update docs for mg_rpc_process()
2022-08-10 15:35:07 +01:00
cpq
79c49e64e8
vc2017 -> vc17
2022-08-09 19:22:47 +01:00
cpq
c8c0b8fb91
Squash vc98 warn 3
2022-08-09 19:17:40 +01:00
cpq
e5585cb0e7
Squash vc98 warn 2
2022-08-09 18:58:58 +01:00
cpq
bd32f6e2ef
Squash warn on vc98
2022-08-09 15:49:54 +01:00
cpq
08f8ea0cd9
vc2017 -> vc17
2022-08-09 15:38:25 +01:00
cpq
2d48b28b0a
Set dockerrun
2022-08-09 13:10:21 +01:00
cpq
9cfaee9b21
Multi-platform docker build
2022-08-09 13:02:50 +01:00
cpq
9393e271de
Set dockercmd
2022-08-09 12:47:27 +01:00
cpq
948595fb3b
Do not assert on SNTP and local clock diff, since local clock could be off
2022-08-09 12:45:10 +01:00
cpq
6149b619e7
Squash warnings
2022-08-09 12:39:40 +01:00
cpq
b7406357c5
Fix #1600 - more precise SNTP time calculation
2022-08-09 12:13:23 +01:00
Sergey Lyubka
2279a51d52
Merge pull request #1666 from cesanta/tcp
...
Added TLS support
2022-08-08 20:57:11 +01:00
cpq
4d3d0995c9
Use only time.windows.com in SNTP test
2022-08-08 20:56:10 +01:00
Sergio R. Caprile
0ca752662d
Added TLS support
2022-08-08 15:42:35 -03:00
cpq
4246f5d206
PATH_MAX -> MG_PATH_MAX
2022-08-06 22:26:07 +01:00
cpq
e8289ec17d
Fix #1648 - set MG_PATH_MAX to FILENAME_MAX on windows and unix
2022-08-06 22:19:55 +01:00
cpq
cde441bca6
Remove tcpdump on port 123
2022-08-06 20:30:12 +01:00
cpq
740b609e1e
Fix for deliver_normal_chunks() and a test case
2022-08-06 09:01:34 +01:00
cpq
c459c17fab
Update docs
2022-08-05 19:55:15 +01:00
cpq
11bbda9bb3
Update images
2022-08-05 19:44:55 +01:00
cpq
6a5c523948
Merge branch 'master' of github.com:cesanta/mongoose
2022-08-05 19:28:04 +01:00
cpq
99c23606c5
Add c->is_resp note
2022-08-05 19:27:56 +01:00
Sergey Lyubka
608b1ee156
Merge pull request #1665 from cesanta/esp32-device-dashboard
...
Changed README to point to new tutorial location
2022-08-05 19:20:35 +01:00
Sergey Lyubka
12ab5c9964
Merge pull request #1664 from gvanem/patch-1
...
Fix empty initializer
2022-08-05 19:19:55 +01:00
cpq
779c825e92
Fixes to chunked support when pipelining
2022-08-05 19:18:06 +01:00
Gisle Vanem
96df718304
Fix empty initializer
...
MSVC does not like such empty initializer:
xamples/device-dashboard/net.c(116): error C2059: syntax error: '}'
2022-08-05 13:50:55 +02:00
Sergey Lyubka
4bee440a56
Merge pull request #1663 from cesanta/doc-rpc
...
Add pfn functions and RPC docs
2022-08-04 21:56:24 +01:00
Sergio R. Caprile
bb4e4c7cda
Add pfn functions docs
...
Add RPC docs
2022-08-04 17:20:00 -03:00
cpq
582ab220b3
Update mqtt docs
2022-08-04 18:50:20 +01:00
cpq
3e2ad83b2c
Fix #1647 - add note in the doc that opts->root_dir is ignored by the mg_http_serve_file()
2022-08-04 17:47:48 +01:00
Sergey Lyubka
ae29a1734c
Merge pull request #1660 from cesanta/device-dashboard
...
device-dashboard: default to using packed fs, otherwise hw examples won't work
2022-08-04 17:13:03 +01:00
cpq
457ce5e563
Refactor chunking support. Fix #1656
2022-08-04 17:10:53 +01:00
Sergey Lyubka
154bdb08a9
Merge pull request #1659 from cesanta/scaprile-patch-1
...
Update README.md
2022-08-04 11:26:33 +01:00
Sergio R. Caprile
22b2dc9ea8
Update README.md
2022-08-03 14:38:12 -03:00
Sergey Lyubka
3ede1a4a5a
Merge pull request #1658 from cesanta/ut-pause
...
Add unit test to check on server pausing between headers and data fir…
2022-08-03 16:20:14 +01:00
Sergio R. Caprile
9e3138b892
Add unit test to check on server pausing between headers and data firing a zero length MG_EV_HTTP_CHUNK
2022-08-03 12:09:24 -03:00
Sergey Lyubka
51cb40acd2
Enable epoll on linux
2022-08-03 15:07:26 +01:00
Sergey Lyubka
4702073458
Merge pull request #1655 from cesanta/esp32-uart-bridge
...
Fix for new mg_iobuf API
2022-08-03 08:40:04 +01:00
Sergio R. Caprile
e01cffff46
Changed README to point to new tutorial location
...
Expanded Makefile to be able to flash with Docker and esputil
2022-08-02 16:10:34 -03:00
Sergio R. Caprile
d88e438679
default to using packed fs, otherwise hw examples won't work
2022-08-02 16:06:19 -03:00
Sergio R. Caprile
70683fc8e7
Fix for new mg_iobuf API
2022-08-02 14:46:27 -03:00
Sergey Lyubka
bd7ee0d1e8
Refactor mg_http_reply and mg_http_printf_chunk to use less allocs and mem copies
2022-08-01 21:07:42 +01:00
Sergey Lyubka
17e2fdd4cb
Add align to struct mg_iobuf
2022-08-01 12:53:25 +01:00
Sergey Lyubka
a468f58128
Use int debug level
2022-08-01 11:19:32 +01:00
Sergey Lyubka
581a0698af
Expose rpc guts
2022-07-31 22:51:59 +01:00
Sergey Lyubka
f02f88f336
mg_rpc_free -> mg_rpc_del
2022-07-30 21:13:30 +01:00
Sergey Lyubka
43d53b0616
Merge pull request #1650 from cesanta/esp32-uart
...
Fix Makefile
2022-07-30 07:57:37 +01:00
Sergey Lyubka
54d6bad5e5
Refactor JSON and RPC API
2022-07-30 07:55:26 +01:00
Sergio R. Caprile
c37d4f768b
Fix Makefile
2022-07-29 18:27:20 -03:00
Sergey Lyubka
a4b003b7ac
Merge pull request #1644 from cesanta/esp32_uart-bridge
...
Fix Makefile
2022-07-28 21:04:27 +01:00
Sergey Lyubka
433120ab22
Merge pull request #1637 from cesanta/webui-push-rest
...
Add data push using REST example
2022-07-28 20:54:20 +01:00
Sergio R. Caprile
109da5f515
Add data push using REST example
2022-07-28 10:20:22 -03:00
Sergey Lyubka
56e6cf406a
Fix unamalgamated build
2022-07-28 10:47:12 +01:00
Sergey Lyubka
a2289a0625
Fix unamalgamated build
2022-07-28 10:33:44 +01:00
Sergey Lyubka
02943a1082
Merge pull request #1649 from cesanta/tcp
...
Added plain TCP server and client example
2022-07-28 10:27:10 +01:00
Sergey Lyubka
64a36496e3
Merge pull request #1643 from cesanta/uart-bridge
...
Fixes to uart-bridge example
2022-07-28 10:26:51 +01:00
Sergey Lyubka
f2009ebd62
Move mg_*printf* decls in fmt.h
2022-07-28 10:18:17 +01:00
Sergio R. Caprile
638892ca70
Fix incorrect oninput function call
...
Check a new config element is present before acting on the previous one
Correctly update config local copy
Fix TCP buffering for ever
2022-07-27 17:19:34 -03:00
Sergio R. Caprile
90fdbd36ec
Added plain TCP server and client example
2022-07-27 13:40:02 -03:00
Sergey Lyubka
0dabc45780
Add RPC API
2022-07-27 00:46:05 +01:00
Sergio R. Caprile
0ffec91984
Fix Makefile
2022-07-25 11:27:19 -03:00
Sergey Lyubka
9cacf443e1
Merge pull request #1636 from cesanta/webui-push-ws
...
Added data push over WS example
2022-07-25 11:03:06 +01:00
Sergey Lyubka
3f21be4fb0
Merge pull request #1639 from cesanta/docs
...
Add mg_ws_printf()/vprintf() doc
2022-07-25 10:54:06 +01:00
Sergey Lyubka
7587f8212e
Merge pull request #1642 from cesanta/fix-json
...
Fix json's MG_EOO in nested objects
2022-07-25 10:53:30 +01:00
Sergio R. Caprile
1eed80375d
Fix MG_EOO
2022-07-22 11:50:23 -03:00
Sergio R. Caprile
806eed6040
Add mg_ws_printf()/vprintf() doc
2022-07-21 11:46:50 -03:00
Sergey Lyubka
d1828ecdb4
Merge pull request #1634 from cesanta/webui-plain
...
Fix former config value not being freed
2022-07-18 21:24:07 +01:00
Sergey Lyubka
5cddb8ecda
Merge pull request #1633 from cesanta/webui-login
...
Added web UI login example
2022-07-18 21:23:41 +01:00
Sergio R. Caprile
1651d9d6d9
Fix former config value not being freed
2022-07-18 16:21:02 -03:00
Sergio R. Caprile
40fc049cdc
Added web UI login example
2022-07-18 14:12:42 -03:00
Sergey Lyubka
89afe62121
Merge pull request #1627 from cesanta/webui-rest
...
added webUI REST basics example
2022-07-17 18:09:02 +01:00
Sergey Lyubka
e5b40ee29e
Merge pull request #1630 from cesanta/webui-plain
...
added webUI plain JS example
2022-07-17 18:08:45 +01:00
Sergey Lyubka
4a3d760c06
Add timer ID attribute, for safe cleanup in the scripted environment
2022-07-17 12:52:30 +01:00
Sergio R. Caprile
aa326f975d
Added data push over WS example
2022-07-15 21:32:41 -03:00
Sergey Lyubka
1fbf534f9a
Merge pull request #1631 from cesanta/webui-preact-example
...
added webUI Preact-based example
2022-07-15 09:15:43 +01:00
Sergey Lyubka
86aa38bfd5
Merge pull request #1629 from jbrzusto/fix-mg_ntp_parse
...
NTP reponse gives fractional (not micro-) seconds, per RFC5905
2022-07-15 00:43:31 +01:00
Sergio R. Caprile
ca929031ee
added webUI Preact-based example
2022-07-13 14:41:38 -03:00
Sergio R. Caprile
f80477a093
added webUI plain JS example
2022-07-13 11:07:01 -03:00
Sergio R. Caprile
abd7698d6d
added webUI REST basics example
2022-07-13 10:45:49 -03:00
John Brzustowski
d5fe3261f4
NTP reponse gives fractional (not micro-) seconds, per RFC5905
2022-07-13 04:08:54 -03:00
Sergey Lyubka
3f46ae7beb
Make generated packed_fs.c independent
2022-07-12 15:09:33 +01:00
Sergey Lyubka
46af09f776
Change ff_open to explicit memcpy()
2022-07-11 18:13:46 +01:00
Sergey Lyubka
f40b272eeb
Fix #1626 - ignore @ in query string
2022-07-10 15:41:43 +01:00
Sergey Lyubka
9876e3afd7
Merge pull request #1622 from cesanta/percentM
...
added mg_rprintf(), updated doc to new %M API
2022-07-10 11:15:52 +01:00
Sergio R. Caprile
41df6a6c0b
added mg_rprintf(), updated doc to new %M API
2022-07-07 14:15:55 -03:00
Sergey Lyubka
dbd25daff8
Merge pull request #1621 from cesanta/percentM
...
Update (fix) to new %M API
2022-07-07 14:44:54 +01:00
Sergio R. Caprile
71eefb6272
Update to new %M API
...
Doc still references the old API and mg_rprintf() is not yet documented
2022-07-06 19:01:18 -03:00
Sergey Lyubka
a4a340dbd4
Merge branch 'master' of github.com:cesanta/mongoose
2022-07-04 19:18:27 +01:00
Sergey Lyubka
2c01893bb1
Give more time for unit test to detect conn refused on windows
2022-07-04 19:18:20 +01:00
Sergey Lyubka
c4e496b001
Merge pull request #1618 from cesanta/mqtt
...
updated docs and example to recently exported MQTT result codes
2022-07-04 19:07:28 +01:00
Sergio R. Caprile
16e90c3082
updated docs and example to recently exported MQTT result codes
2022-07-04 14:32:12 -03:00
Sergey Lyubka
543b4a132b
Fix POLLERR usage
2022-07-04 18:25:13 +01:00
Sergey Lyubka
e4a5296fbf
Introduce c->is_mqtt5 for keeping mqtt version. Make mqtt over ws work again
2022-07-04 17:47:17 +01:00
Sergey Lyubka
6c796b8552
Fix memset in mg_iotest, add mg_random_str test
2022-07-04 16:13:38 +01:00
Sergey Lyubka
e30ad43d36
Merge pull request #1612 from cesanta/mqtt
...
Exported MQTT result codes
2022-07-04 15:15:19 +01:00
Sergey Lyubka
f841b85d7d
Merge pull request #1614 from cesanta/udp-ssdp-search
...
Added parsing of remote responses
2022-07-04 15:14:39 +01:00
Sergey Lyubka
735b7bece6
Squash more warns
2022-07-04 11:43:52 +01:00
Sergey Lyubka
4c9fdaf8b0
Merge pull request #1617 from jameshilliard/osx-clock
...
util: use correct clock on OSX
2022-07-04 11:12:58 +01:00
Sergey Lyubka
2ccc4acf34
Squash warns for rp2040 builds
2022-07-04 11:10:08 +01:00
James Hilliard
c24343f107
util: use correct clock on OSX
...
CLOCK_MONOTONIC_RAW on OSX is not the same as CLOCK_MONOTONIC_RAW on linux
2022-07-04 04:04:43 -06:00
Sergey Lyubka
81ffcd8ee9
Fix #1616 - randomize mqtt will and client id for parallel test
2022-07-04 11:00:06 +01:00
Sergey Lyubka
432452ea9a
Fix #1615 - prefer monotonic clock. Add clock for rp2040
2022-07-04 10:08:21 +01:00
Sergey Lyubka
6c14c7d623
Unbreak mac build
2022-07-04 00:06:01 +01:00
Sergey Lyubka
30126072dc
Add MG_ARCH_RP2040
2022-07-03 23:00:15 +01:00
Sergio R. Caprile
f7812c9b0a
Added parsing of remote responses
2022-07-02 13:16:49 -03:00
Sergey Lyubka
dca43f430b
Fix poll support for win32
2022-07-02 12:45:44 +01:00
Sergey Lyubka
0947ce9234
Merge branch 'master' of github.com:cesanta/mongoose
2022-07-02 11:57:09 +01:00
Sergey Lyubka
91fa2ad23b
Enable poll support on windows
2022-07-02 11:52:16 +01:00
Sergey Lyubka
1b57c56fdc
Merge pull request #1613 from cesanta/typo
...
fix typo
2022-07-02 11:15:43 +01:00
Sergio R. Caprile
d13509e302
Update app.js
2022-07-01 15:58:03 -03:00
Sergio R. Caprile
85d300ce71
Exported MQTT result codes
2022-07-01 15:32:24 -03:00
Sergey Lyubka
d6e1a3ab4c
Unbreak my heart ^W the build
2022-07-01 18:10:40 +01:00
Sergey Lyubka
f1da8542ce
Nits
2022-07-01 17:28:06 +01:00
Sergey Lyubka
a183621268
Fix ff_write() call
2022-07-01 13:22:36 +01:00
Sergey Lyubka
035de980e3
Fix ff_read() call
2022-07-01 13:18:49 +01:00
Sergey Lyubka
99f0688377
Change mg_http_upload API
2022-06-30 21:54:50 +01:00
Sergey Lyubka
56412193e7
Add mg_remove_double_dots(), hide mg_http_upload()
2022-06-30 20:27:43 +01:00
Sergey Lyubka
c5751b0bd3
Add mg_json_get_long
2022-06-30 20:03:29 +01:00
Sergey Lyubka
86e57d243d
Enhance esp32 makefile
2022-06-30 19:59:23 +01:00
Sergey Lyubka
7fc57a3be7
Merge pull request #1610 from cesanta/http-restful-server
...
updated SSL build options
2022-06-30 12:27:25 +01:00
Sergio R. Caprile
75069a44c7
updated SSL build options
2022-06-29 17:31:31 -03:00
Sergey Lyubka
2536865c4d
Fix freertos-tcp build
2022-06-29 19:39:36 +01:00
Sergey Lyubka
d266f822ca
Merge branch 'master' of github.com:cesanta/mongoose
2022-06-29 19:19:28 +01:00
Sergey Lyubka
5b8979a0f1
Better connect() result test
2022-06-29 19:19:19 +01:00
Sergey Lyubka
3bc79b9dfd
Merge pull request #1609 from cesanta/mqtt-over-ws-client
...
Added openSSL support
2022-06-29 19:18:25 +01:00
Sergio R. Caprile
0ae75e6db6
Added openSSL support
2022-06-29 14:57:11 -03:00
Sergey Lyubka
89e2a15eb7
Fix build
2022-06-29 18:03:04 +01:00
Sergey Lyubka
b1896d9944
Fix typo
2022-06-29 17:57:59 +01:00
Sergey Lyubka
d0dedcfd2e
Fix build
2022-06-29 17:54:33 +01:00
Sergey Lyubka
73297c8e65
Use mg_putchar_iobuf in mg_vprintf
2022-06-29 17:42:55 +01:00
Sergey Lyubka
017c7290d6
Better error handling - report from iotest
2022-06-29 17:02:37 +01:00
Sergey Lyubka
6a8b5b06d0
Merge pull request #1608 from cesanta/fix_mqtt-over-ws-client
...
fix incorrect WS packet payload
2022-06-29 14:51:39 +01:00
Sergey Lyubka
93a6bc501e
Refactor guess_mime_type()
2022-06-29 10:28:37 +01:00
Sergey Lyubka
e8f050c194
Dont use realloc
2022-06-29 00:00:16 +01:00
Sergio R. Caprile
712517b6fa
fix incorrect WS packet payload
2022-06-28 16:27:49 -03:00
Sergey Lyubka
434378eda5
Merge pull request #1602 from cesanta/device-dashboard
...
fixed watch() not being called after login
2022-06-28 20:24:36 +01:00
Sergey Lyubka
cf38fdb720
Merge pull request #1606 from cesanta/mqtt-client
...
fixed TLS build comment
2022-06-28 20:23:45 +01:00
Sergey Lyubka
95d30cf482
Merge pull request #1607 from cesanta/http-client
...
fixed TLS build comment
2022-06-28 20:20:35 +01:00
Sergio R. Caprile
6542c02b7f
fixed TLS build comment
2022-06-28 10:56:56 -03:00
Sergio R. Caprile
a13144932a
fixed TLS build comment
2022-06-28 10:49:45 -03:00
Sergio R. Caprile
6597830631
fixed watch() not being called after login
2022-06-28 10:26:32 -03:00
Sergey Lyubka
ba08140197
Initial mqtt5 support
2022-06-28 11:31:13 +01:00
Sergey Lyubka
d65ce3b596
Add mg_rprintf, mg_vrprintf
2022-06-28 00:45:52 +01:00
Sergey Lyubka
4864a6e618
Use SSL_set1_host()
2022-06-28 00:45:47 +01:00
Sergey Lyubka
2bbb2bb1db
Merge branch 'master' of github.com:cesanta/mongoose
2022-06-24 14:27:29 +01:00
Sergey Lyubka
47ce004f61
docs nits
2022-06-24 14:24:14 +01:00
Sergey Lyubka
507e392509
Merge pull request #1601 from cesanta/device-dashboard
...
updated and cleaned up texts
2022-06-24 14:09:36 +01:00
Sergio R. Caprile
dcfb014d1f
updated and cleaned up texts
2022-06-23 15:33:31 -03:00
Sergey Lyubka
4e880fb6e0
Nit - fix openssl error message
2022-06-23 13:11:04 +01:00
Sergey Lyubka
898e2b1e30
Add mg_json_get_hex(), mg_json_get_b64()
2022-06-22 16:28:22 +01:00
Sergey Lyubka
a68f3dc4eb
Add %V and %H specifiers for mg_snrpintf()
2022-06-22 13:15:52 +01:00
Sergey Lyubka
c446fe0c6d
Make stm32 eth declared as volatile
2022-06-21 12:11:59 +01:00
Sergey Lyubka
4246e6c768
Fix #1599
2022-06-21 12:07:00 +01:00
Sergey Lyubka
4f9cfdf65d
Merge pull request #1598 from cesanta/http-reverse-proxy
...
Added openSSL support
2022-06-20 22:00:14 +01:00
Sergey Lyubka
b1cd233dda
Merge pull request #1597 from cesanta/http-proxy-client
...
Added openSSL support
2022-06-20 21:59:48 +01:00
Sergey Lyubka
4f63b6093f
Merge pull request #1595 from cesanta/http-client
...
fixed comment, updated TLS section in makefile
2022-06-20 21:59:24 +01:00
Sergio R. Caprile
380a50e39b
Added openSSL support
...
Fixed missing parameter in makefile
Added URI handling
2022-06-20 15:27:46 -03:00
Sergio R. Caprile
3bd3a4ff7b
fixed comment, updated TLS section in makefile
2022-06-20 14:50:45 -03:00
Sergey Lyubka
46bf79455c
Add examples/esp32/uart-bridge
2022-06-19 18:27:37 +01:00
Sergey Lyubka
2d5c26d44f
Rename mg_log_set_fn properly
2022-06-19 09:08:37 +01:00
Sergey Lyubka
9760b7c9d6
Add mg_log_set_fn(), MG_ENABLE_LOG
2022-06-19 09:04:22 +01:00
Sergey Lyubka
0b5a00c99a
Change uart_read signature
2022-06-18 20:41:04 +01:00
Sergey Lyubka
ba8482c707
Update uart bridge
2022-06-18 11:32:31 +01:00
Sergey Lyubka
1b34360b05
Update uart bridge
2022-06-18 11:30:44 +01:00
Sergey Lyubka
c84dab21e4
Refactor UART example
2022-06-18 04:25:11 +01:00
Sergey Lyubka
1640287897
Add mg_http_var
2022-06-18 04:25:11 +01:00
Sergey Lyubka
adcf5bab0e
Merge pull request #1589 from cesanta/mqtt-client
...
Add support for openSSL
2022-06-17 22:04:38 +01:00
Sergey Lyubka
e024700851
Merge pull request #1593 from cesanta/file-uploads
...
update file upload example set
2022-06-17 22:03:58 +01:00
Sergio R. Caprile
f4fc33d111
brought back 7.5 file-upload as file-upload-multiple-posts; updated to latest API
...
renamed form-upload to file-upload-html-form
renamed file-upload to file-upload-single-post
2022-06-17 16:35:02 -03:00
Sergio R. Caprile
fb446022e2
Added openSSL support
...
Backend host is https only if TLS is enabled
2022-06-16 11:59:06 -03:00
Sergio R. Caprile
e021d7cd9d
Add support for openSSL
2022-06-15 10:42:32 -03:00
Sergey Lyubka
3331ed2f49
Merge pull request #1591 from cesanta/jsondoc
...
fix JSON docs
2022-06-15 06:56:08 +01:00
Sergio R. Caprile
939a8ddc26
fix JSON docs
2022-06-14 14:19:25 -03:00
Sergey Lyubka
3774f676cf
Less verbose unit test
2022-06-13 21:12:11 +01:00
Sergey Lyubka
7923509d1e
More json docs
2022-06-13 15:04:52 +01:00
Sergey Lyubka
30d6a44b0d
Fix mg_http_upload()
2022-06-13 14:48:52 +01:00
Sergey Lyubka
6d46ecaa6c
Add mip-pcap example
2022-06-13 02:03:52 +01:00
Sergey Lyubka
5a448ab4f5
Compile driver_stm32.c only for __arm__
2022-06-13 01:04:09 +01:00
Sergey Lyubka
a71262437d
Use mip for arm and riscv targets
2022-06-12 12:43:01 +01:00
Sergey Lyubka
52ab963845
Update images
2022-06-11 22:59:20 +01:00
Sergey Lyubka
67280724ba
Remove pragma
2022-06-11 19:05:07 +01:00
Sergey Lyubka
d8a4b5aa34
Make mip MSVC friendly
2022-06-11 18:54:32 +01:00
Sergey Lyubka
fe0b2d0646
Fix typo
2022-06-11 17:40:48 +01:00
Sergey Lyubka
d3368e4aad
Move mip into mip/
2022-06-11 17:29:45 +01:00
Sergey Lyubka
903b510411
Merge pull request #1587 from cesanta/timers
...
fixed poll timeout being larger than timer period
2022-06-10 22:57:44 +01:00
Sergio R. Caprile
0dbc99d9ee
fixed poll timeout being larger than timer period
2022-06-10 16:59:14 -03:00
Sergio R. Caprile
505ca96547
fixed typo
2022-06-10 16:25:56 -03:00
Sergey Lyubka
89623d00f9
Update readme
2022-06-10 18:48:32 +01:00
Sergey Lyubka
e47bcb3fb6
Merge pull request #1583 from cesanta/multi-threaded
...
Remove outdated comments
2022-06-10 15:21:32 +01:00
Sergey Lyubka
50d0d68f45
Docs nitpick
2022-06-10 15:00:34 +01:00
Sergio R. Caprile
2f75418c70
Remove outdated comments
2022-06-10 10:37:12 -03:00
Sergey Lyubka
013bc58371
Add json docs
2022-06-10 13:01:52 +01:00
Sergey Lyubka
55948cd431
Allow to set log level
2022-06-10 12:33:30 +01:00
Sergey Lyubka
dfca896a64
Update huge response. More tests
2022-06-10 12:14:42 +01:00
Sergey Lyubka
8fc6f3f744
Remove mjson dependency
2022-06-10 09:40:22 +01:00
Sergey Lyubka
f65058fa03
Remove mjson dependency
...
Signed-off-by: Sergey Lyubka <valenok@gmail.com >
2022-06-10 09:39:53 +01:00
Sergey Lyubka
33567bab41
Add %g support to mg_snprintf()
2022-06-10 09:38:36 +01:00
Sergey Lyubka
106662b1d7
Add JSON API
2022-06-09 17:17:33 +01:00
Sergey Lyubka
b73115c002
Unbreak build
2022-06-08 22:09:11 +01:00
Sergey Lyubka
cff208c5a9
Introduce %Q format specifier, rework device dashboard
2022-06-08 21:44:01 +01:00
Sergey Lyubka
a83dd9569d
Unbreak esp32 example
2022-06-08 20:04:35 +01:00
Sergey Lyubka
807cd4df9e
Make sock.c less verbose
2022-06-08 19:55:24 +01:00
Sergey Lyubka
ac3151f871
Make dashboard more robust
2022-06-08 19:53:29 +01:00
Sergey Lyubka
d4106b5cbd
Send puback for qos > 0
2022-06-08 19:51:03 +01:00
Sergey Lyubka
bcb6c2675f
Unbreak esp32 device dashboard build
2022-06-08 13:54:20 +01:00
Sergey Lyubka
6b51666248
Move esp32 example
2022-06-08 13:24:41 +01:00
Sergey Lyubka
628a007112
Refresh packed filesystems
2022-06-08 13:22:09 +01:00
Sergey Lyubka
ee65342545
docs
2022-06-08 11:30:54 +01:00
Sergey Lyubka
94ea973fb5
Update docs
2022-06-08 11:01:30 +01:00
Sergey Lyubka
9f8424e93f
Update readme
2022-06-08 09:06:14 +01:00
Sergey Lyubka
2e750236be
Add uart-bridge example
2022-06-08 08:58:32 +01:00
Sergey Lyubka
c701315ab5
Merge pull request #1581 from behnejad/patch-1
...
fixing offset of Content-Length value.
2022-06-07 08:35:24 +01:00
Sergey Lyubka
a53dc5c0a0
Fix #1580 - uri_to_path2 for / corner case
2022-06-07 04:33:46 +01:00
Behnejad
895ca80b2b
fixing offset of Content-Length value.
...
in very large HTTP response, this offset might cause a problem with HTTP header format.
2022-06-07 08:00:12 +04:30
Sergey Lyubka
1dcb7dd13d
Update mingw target
2022-06-07 00:25:15 +01:00
Sergey Lyubka
e75afcba42
Update dash UI
2022-06-05 17:17:19 +01:00
Sergey Lyubka
0f0cf7a5db
Integrate #1579 - properly clear c->is_readable and c->is_writable flags in mg_iotest()
2022-06-05 15:27:16 +01:00
Sergey Lyubka
31c7d66245
Rework dashboard
2022-06-05 14:59:59 +01:00
Sergey Lyubka
cac7f653c9
Add mg_ws_printf()
2022-06-05 14:59:50 +01:00
Sergey Lyubka
219428c249
Change device dashboard to use MQTT
2022-06-04 22:21:59 +01:00
Sergey Lyubka
f4fa1e097d
docs
2022-06-04 08:45:34 +01:00
Sergey Lyubka
35b517b434
docs
2022-06-04 08:29:03 +01:00
Sergey Lyubka
b3f956ba63
docs
2022-06-04 08:23:25 +01:00
Sergio R. Caprile
3ae8b3f8a7
Merge pull request #1577 from cesanta/sntp
...
Add sntp-time-sync example
2022-06-03 10:38:25 -03:00
Sergey Lyubka
c48349ba56
Add sntp-time-sync example
2022-06-03 13:57:57 +01:00
Sergey Lyubka
0763146254
Fix #1476 - introduce c->is_full to cap the recv buf len for streaming connections
2022-06-03 11:37:35 +01:00
Sergio R. Caprile
7da5d42009
Merge pull request #1573 from cesanta/timers
...
Minor cosmetic changes
2022-06-02 10:06:41 -03:00
Sergey Lyubka
5ac847076a
Change long read_conn -> void read_conn
2022-06-02 14:02:09 +01:00
Sergey Lyubka
a88ea776a9
Change MG_MAX_RECV_BUF_SIZE -> MG_MAX_RECV_SIZE
2022-06-02 13:50:44 +01:00
Sergey Lyubka
73a5ff1fb6
Use only TFLAGS, get rid of EXTRA
2022-06-02 12:02:41 +01:00
Sergey Lyubka
7e8901c99f
Docs - amend images
2022-06-02 12:02:26 +01:00
Sergey Lyubka
45816ef5db
Add missing test file
2022-06-02 06:18:43 +01:00
Sergey Lyubka
fe682f8399
Fix #1560 - implement precompressed .gz file serving
2022-06-02 06:13:37 +01:00
Sergey Lyubka
9ffb6fb26a
Merge pull request #1570 from behnejad/patch-2
...
Update README.md
2022-06-01 21:17:52 +01:00
Sergey Lyubka
063244e4ca
Minor cosmetic changes
2022-06-01 21:15:31 +01:00
Sergey Lyubka
d7b7a0a577
Merge pull request #1572 from cesanta/timers
...
Modify times example
2022-06-01 17:22:24 +01:00
Sergey Lyubka
f735585239
Update timers example
2022-06-01 17:09:15 +01:00
Sergey Lyubka
30349ec217
Update timers example
2022-06-01 17:09:13 +01:00
Sergey Lyubka
55517d48ed
Change linux target
2022-06-01 16:25:04 +01:00
Behnejad
0f93ab84e9
Update README.md
...
after sending buffer to socket, MG_EV_WRITE will generated.
2022-06-01 14:36:17 +04:30
Sergey Lyubka
4dd1891594
Add mg_http_serve_opts.page404
2022-05-31 23:44:03 +01:00
Sergey Lyubka
27e1472d88
Merge pull request #1568 from behnejad/master
...
adding new api to enable separation of query string with '&'.
2022-05-31 18:25:12 +01:00
Sergey Lyubka
a3d63c095a
Handle #1562 - add udp/tcp extra param to mg_mkpipe()
2022-05-31 18:23:32 +01:00
Sergey Lyubka
dc486a2aa3
Add pics
2022-05-31 12:01:06 +01:00
Sergey Lyubka
9963bdee09
Docs images
2022-05-31 11:38:03 +01:00
Hooman Behnejad
499401d457
adding mg_split function
2022-05-31 14:11:14 +04:30
Sergey Lyubka
e2fcf5f92c
Fix #1565 - mg_snprintf %.*s with zero len printing
2022-05-30 18:40:44 +01:00
Sergey Lyubka
b8bba7513a
Fix #1566 - proper error cleanup in mg_listen
2022-05-30 17:56:50 +01:00
Sergey Lyubka
65957527cb
Fix #1558 - add opts.extra_headers in 304 responses
2022-05-30 17:44:26 +01:00
Sergey Lyubka
e2ce68e3ef
Fix build: delete -> del
2022-05-30 16:20:14 +01:00
Sergey Lyubka
44cf02e5ba
Fix #1545 - do not send MG_EV_HTTP_MSG if chunks were deleted
2022-05-30 16:02:59 +01:00
Sergey Lyubka
a4a70270ee
Merge pull request #1564 from behnejad/patch-1
...
Update README.md
2022-05-30 14:32:17 +01:00
Behnejad
82e1cac1c7
Update README.md
...
added missing parameter in sample code of `mg_match`.
2022-05-29 18:22:56 +04:30
Sergey Lyubka
21ffe8e3f3
docs
2022-05-29 12:59:33 +01:00
Sergey Lyubka
45f20d5089
Update http_message diagram
2022-05-29 12:03:54 +01:00
Sergey Lyubka
cea12a35b7
Merge pull request #1563 from vkoskiv/fix-docs
...
Small fix to mg_timer_add() documentation
2022-05-28 18:28:27 +01:00
Sergey Lyubka
686320a805
Remove verbose log in mg_iotest()
2022-05-27 23:18:23 +01:00
Sergey Lyubka
14ad51d2d2
More SNtp debug 12
2022-05-27 22:47:12 +01:00
Sergey Lyubka
28c15b3ff4
More SNtp debug 11
2022-05-27 22:36:34 +01:00
Sergey Lyubka
f5af28c886
More SNtp debug 10
2022-05-27 22:26:17 +01:00
Sergey Lyubka
6b50039863
More SNtp debug 9
2022-05-27 22:24:45 +01:00
Sergey Lyubka
34c5f63c00
More SNtp debug 8
2022-05-27 22:18:14 +01:00
Sergey Lyubka
53bca4efab
More SNtp debug 7
2022-05-27 22:08:05 +01:00
Sergey Lyubka
9029593691
More SNtp debug 6
2022-05-27 21:59:13 +01:00
Sergey Lyubka
4aad859e20
More SNtp debug 5
2022-05-27 21:44:03 +01:00
Sergey Lyubka
b9d1d4a94f
More SNtp debug 4
2022-05-27 20:48:19 +01:00
Sergey Lyubka
be8b01e289
More SNtp debug 4
2022-05-27 20:43:30 +01:00
Sergey Lyubka
360dedd9b2
More SNtp debug 3
2022-05-27 20:39:37 +01:00
Sergey Lyubka
e5d3d02307
More SNtp debug
2022-05-27 20:16:08 +01:00
Sergey Lyubka
d3e14ca7e5
More SNTP debug 3
2022-05-27 20:05:14 +01:00
Sergey Lyubka
5998208449
More SNTP debug
2022-05-27 19:57:15 +01:00
Sergey Lyubka
4fc84621ae
More SNTP debug
2022-05-27 19:55:39 +01:00
Valtteri Koskivuori
8253a84689
Small fix to mg_timer_add() documentation
...
The return value was not documented.
2022-05-26 23:43:56 +03:00
Sergey Lyubka
6b7f14c69d
docs
2022-05-26 20:25:20 +01:00
Sergey Lyubka
cfaca604f5
Debug SNTP issue 2
2022-05-26 17:50:56 +01:00
Sergey Lyubka
0226b9db31
Debug SNTP issue
2022-05-26 17:45:52 +01:00
Sergey Lyubka
7f8d12b9f7
Use time.windows.com too
2022-05-26 16:22:44 +01:00
Sergey Lyubka
2ae341cf5e
Add nucleo-f746zg-baremetal
2022-05-26 13:53:36 +01:00
Sergey Lyubka
7850b550d8
Unbreak test
2022-05-26 11:18:36 +01:00
Sergey Lyubka
10596a8bdc
Proper TLS handling for poll(). Make poll() default on linux
2022-05-26 08:55:28 +01:00
Sergey Lyubka
252e4715d4
Merge pull request #1561 from vkoskiv/add-poll
...
Add optional poll() implementation under MG_ENABLE_POLL define
2022-05-26 07:53:02 +01:00
Valtteri Koskivuori
420b989adb
Add optional poll() implementation under MG_ENABLE_POLL
...
This adds the ability to substitute select() with poll() on supported
unix environments when MG_ENABLE_POLL is defined. A make flag called
USE_POLL is provided as well.
Using poll() removes the limitation of FD_SETSIZE concurrent sockets,
generally 1024 on Linux environments.
2022-05-26 06:00:27 +03:00
Sergey Lyubka
bdb388c79d
Fix pedantic warnings
2022-05-26 03:08:08 +01:00
Sergey Lyubka
87148f95f2
Clean up pedantic warnings
2022-05-26 02:50:15 +01:00
Sergey Lyubka
fe124354cd
Update custom build instructions
2022-05-26 02:10:28 +01:00
Sergey Lyubka
9a28fa71f0
Add -pedantic to gcc/clang CFLAGS
2022-05-26 02:10:07 +01:00
Sergey Lyubka
4139cdaf35
Remove poll() support
2022-05-26 02:07:37 +01:00
Sergey Lyubka
ebe04620e1
Better custom build reference
2022-05-25 13:36:39 +01:00
Sergey Lyubka
7e053cd632
Typo fs docs
2022-05-25 13:29:49 +01:00
Sergey Lyubka
1fd65c77fe
Enhance fs docs
2022-05-25 13:28:25 +01:00
Sergey Lyubka
2bfc838614
Fix build
2022-05-25 11:18:54 +01:00
Sergey Lyubka
69082db381
Regenerated packed fs
2022-05-25 11:15:00 +01:00
Sergey Lyubka
5ce2130f05
Minor formatting fix
2022-05-25 11:14:42 +01:00
Sergey Lyubka
5b448ec7a6
Integrate #1561 with some minor tweaks - add MG_ENABLE_POLL for poll() support
2022-05-25 11:14:12 +01:00
Sergey Lyubka
f72b27d1c1
docs
2022-05-24 20:36:21 +01:00
Sergey Lyubka
9973c5f2b7
docs
2022-05-24 19:20:20 +01:00
Sergey Lyubka
88ee415dd1
docs
2022-05-24 19:19:42 +01:00
Sergey Lyubka
4f168cf346
docs
2022-05-24 19:18:42 +01:00
Sergey Lyubka
ad7b5d2cd8
Change packed image
2022-05-24 19:14:20 +01:00
Sergey Lyubka
1e522de4a7
Change mg_iobuf image
2022-05-24 18:57:22 +01:00
Sergey Lyubka
c2d2d085cd
Add chart example
2022-05-23 15:27:19 +01:00
Sergey Lyubka
b3a4c12d67
Handle #1559 - set no flags in send() call
2022-05-22 23:49:38 +01:00
Sergey Lyubka
d5993ba27e
Fix #1550 - excladdrinuse
2022-05-21 16:18:34 +01:00
Sergey Lyubka
ef563603a9
Merge pull request #1557 from cesanta/pc
...
Remove mg_log_set_callback. Use MG_PUTCHAR macro instead
2022-05-20 10:16:57 +01:00
Sergey Lyubka
7e2ca72310
Remove mg_log_set_callback. Use MG_PUTCHAR macro instead
2022-05-20 09:45:17 +01:00
Sergey Lyubka
7c17c806ad
7.6 -> 7.7
2022-05-19 11:44:32 +01:00
Sergey Lyubka
8e0f529a00
Add MIP - an experimental TCP/IP stack
2022-05-18 21:19:21 +01:00
Sergey Lyubka
47e15a3d47
RTX nits
2022-05-17 19:29:53 +01:00
Sergey Lyubka
cac7007069
Merge pull request #1554 from zudwalex/zephyr_ci
...
Use docker for Zephyr CI
2022-05-16 13:39:25 +01:00
Alex Alashkin
ac55c900e7
Use docker for Zephyr CI
2022-05-16 15:30:25 +03:00
Sergey Lyubka
25806e48dc
Fix ESP32 build
2022-05-16 11:54:26 +01:00
Sergey Lyubka
3871f4b6ab
Fix #1546 - dont send excess for range requests
2022-05-16 11:45:08 +01:00
Sergey Lyubka
27c892806b
Fix #1540 - case sensitive match in mg_is_chunked()
2022-05-16 11:19:45 +01:00
Sergey Lyubka
2b9f0480a1
Fix #1549 - fix typo in log format specifier
2022-05-15 21:02:41 +01:00
Sergey Lyubka
72cc433265
Make SNTP test more resilient
2022-05-15 19:41:37 +01:00
Sergey Lyubka
7721b074e6
Log ms in test_sntp()
2022-05-15 19:31:29 +01:00
Sergey Lyubka
f5fd176b35
Increate SNTP timeout 3s->5s. Change mg_sntp_send() to mg_sntp_request(), remove one unnecessary parameter
2022-05-15 18:41:01 +01:00
Sergey Lyubka
6db1d7925e
Merge pull request #1552 from zudwalex/ti_merged
...
Add TI support
2022-05-15 17:40:46 +01:00
Alex Alashkin
0ed7545947
Add TI support
2022-05-15 19:25:50 +03:00
Sergey Lyubka
95e22e8d4f
Exporting only dashboard func
2022-05-15 14:40:58 +01:00
Sergey Lyubka
cf7d1d8041
Address #1551 - better timers handling
2022-05-15 14:29:34 +01:00
Sergey Lyubka
443d0f0c6c
Rename complete -> device-dashboard, remove multiple-logins and dashboard
2022-05-14 09:08:23 +01:00
Sergey Lyubka
c20e48179f
Un-break the test and untie serving code in dash example
2022-05-13 22:15:33 +01:00
Sergey Lyubka
3fbb7de712
Refactor dashboard example
2022-05-13 20:08:08 +01:00
Sergey Lyubka
0294603dfc
MG_ARCH_RTX nits
2022-05-12 15:07:02 +01:00
Sergey Lyubka
5458252e4a
Add missing src/arch_rtx.h
2022-05-12 08:23:17 +01:00
Sergey Lyubka
31ce219544
Add MG_ARCH_RTX
2022-05-12 08:07:51 +01:00
Sergey Lyubka
86cd567968
Nit - use quotes, not brackets for custom arch
2022-05-11 21:14:44 +01:00
Sergey Lyubka
5c66d32bc0
Refactor mg_open_listener()
2022-05-10 13:43:47 +01:00
Sergey Lyubka
5ac5c93c90
Refactor mg_open_listener()
2022-05-10 13:41:45 +01:00
Sergey Lyubka
84480f4072
Fix #1539 - proper timer cleanup
2022-05-10 07:38:03 +01:00
Sergey Lyubka
b82953405d
Fix valgrind test
2022-05-09 19:11:27 +01:00
Sergey Lyubka
5271626947
Disable SSI by default
2022-05-08 21:54:15 +01:00
Sergey Lyubka
bc16854ccb
Get rid of MG_ENABLE_LOG, change mg_hexdump()
2022-05-06 21:09:13 +01:00
Sergey Lyubka
6db0485c7b
Set c->loc for accepted and UDP connections
2022-05-06 20:19:40 +01:00
Sergey Lyubka
b5fc0d30a8
Add extraconnsize
2022-05-04 17:18:35 +01:00
Sergey Lyubka
38557aac7f
Add MG_ARCH_NEWLIB
2022-05-01 13:47:33 +01:00
Sergey Lyubka
d621fbfab1
Remove unused macros
2022-05-01 08:18:18 +01:00
Sergey Lyubka
f19eec7fae
Refactor multithreading API
2022-04-25 14:56:15 +01:00
Sergey Lyubka
8174842b05
docs
2022-04-24 11:39:54 +01:00
Sergey Lyubka
ff07d261b2
docs
2022-04-24 11:37:23 +01:00
Sergey Lyubka
c55db8a895
docs
2022-04-24 11:33:47 +01:00
Sergey Lyubka
70a9554b72
docs
2022-04-24 11:26:25 +01:00
Sergey Lyubka
bdd7d92108
Fix #1533 - fix iotest error on windows
2022-04-22 20:53:54 +01:00
Sergey Lyubka
a7cbc19755
Fix #1532 - improve ipv6 DNS lookup
2022-04-22 20:44:53 +01:00
Sergey Lyubka
93ff3e4d1f
Add message sequence test
2022-04-21 03:13:31 +01:00
Sergey Lyubka
1dfc748e87
Add message sequence test
2022-04-21 02:50:50 +01:00
Sergey Lyubka
e1f17a7ff1
Merge pull request #1531 from zudwalex/fix_tests
...
Fix zephyr tests
2022-04-20 11:38:00 +01:00
Alex Alashkin
56c40ff0fd
Fix zephyr tests
2022-04-20 09:28:36 +03:00
Sergey Lyubka
9dd3b75165
Handle #1529 - do not mark normal conn termination as an error
2022-04-19 20:28:10 +01:00
Sergey Lyubka
20fc8f0279
Handle #1529 : add automatic linkage against ws2_32.lib on _WIN32 targets
2022-04-19 18:51:28 +01:00
Sergey Lyubka
944704a12d
Fix #1528 : pack.c build on Win32
2022-04-19 18:46:29 +01:00
Sergey Lyubka
fba9f14b2c
Merge pull request #1526 from zudwalex/zephyr3
...
Add Zephyr build to Github actions
2022-04-19 09:03:30 +01:00
Alex Alaskin
a7c24aeeee
Add Zephyr build to Github actions
2022-04-13 19:54:08 +03:00
Sergey Lyubka
186eb998ba
Adjust to timer API change, add root makefile
2022-04-13 14:03:00 +01:00
Sergey Lyubka
d630ba743d
Merge pull request #1524 from zudwalex/zephyr2
...
Add Zephyr examples
2022-04-13 11:17:22 +01:00
Sergey Lyubka
e9fabdcc96
Handle #1523 - multiple WS messages
2022-04-13 11:14:57 +01:00
Sergey Lyubka
31698678fb
Squash warning
2022-04-13 10:52:06 +01:00
Sergey Lyubka
ebd2e89faa
Handle #1522 - Fix TLS buffering
2022-04-13 10:48:17 +01:00
Alex Alashkin
17e0fb1c15
Add Zephyr examples
2022-04-13 11:10:22 +03:00
Sergey Lyubka
6e3e77a1a0
Enhance http-streaming-client
2022-04-12 19:06:37 +01:00
Sergey Lyubka
ef44f90491
Fix #1520 - move state to struct mg_mgr
2022-04-12 14:14:55 +01:00
Sergey Lyubka
66376885e9
Fix #1521 - add mg_tou64()
2022-04-12 10:20:43 +01:00
Sergey Lyubka
db941e2627
Fix #1519 - make opts structs in API calls const
2022-04-12 10:04:55 +01:00
Sergey Lyubka
5f78d34f4d
Fix #1513 - fix mg_strdup() documentation
2022-04-12 09:57:25 +01:00
Sergey Lyubka
85281ae128
Fix #1514 - explicitely initialize io in mg_iobuf_init()
2022-04-12 09:54:05 +01:00
Sergey Lyubka
e5d1b213c9
Merge pull request #1518 from jameshilliard/mqtt-suback
...
Ensure MQTT_CMD_SUBACK is received before calling mg_mqtt_pub in tests
2022-04-11 10:45:07 +01:00
James Hilliard
e4ab9a4130
Ensure MQTT_CMD_SUBACK is received before calling mg_mqtt_pub in tests
2022-04-07 19:11:51 -06:00
Sergey Lyubka
a1ec179229
Use uint64_t for uptime in millis, not int64_t
2022-04-07 13:50:25 +01:00
Sergey Lyubka
2f77855ec1
Handle #1502 - send CLOSE when CLOSE is received
2022-04-05 14:45:39 +01:00
Sergey Lyubka
d11173fe90
Fix #1510 - wrap X509_VERIFY_PARAM_set1_host() usage inside a conditional
2022-04-05 13:09:17 +01:00
Sergey Lyubka
fde8b82b78
Merge pull request #1507 from jameshilliard/mbedtls-reset
...
Handle MBEDTLS_ERR_NET_CONN_RESET errors
2022-04-05 13:06:06 +01:00
Sergey Lyubka
b20eded30e
Fix ESP32 example
2022-04-05 12:54:20 +01:00
James Hilliard
3ec17c41be
Handle MBEDTLS_ERR_NET_CONN_RESET errors
2022-04-04 17:17:17 -06:00
Sergey Lyubka
0ed64707f3
Introduce MG_ENABLE_CUSTOM_MILLIS
2022-04-04 18:14:59 +01:00
Sergey Lyubka
417533e90c
Merge pull request #1509 from jameshilliard/wakeup-conflict
...
Fix mg_mgr_wakeup conflicting types error
2022-04-04 09:16:34 +01:00
James Hilliard
e268affb5a
Fix mg_mgr_wakeup conflicting types error
2022-04-02 22:10:17 -06:00
Sergey Lyubka
4474ada291
Fix #1505 : let mg_wakeup() return status
2022-04-03 00:17:31 +01:00
Sergey Lyubka
a65c3288d8
Merge pull request #1508 from jameshilliard/mqtt-debug
...
Print mqtt buffer on error in tests
2022-04-03 00:11:25 +01:00
Sergey Lyubka
affcef7e37
Fix clean targets
2022-04-03 00:04:58 +01:00
James Hilliard
173c2ba338
Print mqtt buffer on error in tests
...
This test seems to fail randomly a lot, print the buffer on error to
make it easier to isolate issues.
2022-04-02 15:26:15 -06:00
Sergey Lyubka
b5fcf95b88
Enable mbedTLS
2022-04-01 21:33:09 +01:00
Sergey Lyubka
d954851d43
Drop CRL from mbedTLS integration - let customer do a custom init if required
2022-04-01 16:42:41 +01:00
Sergey Lyubka
df602c27d5
Disable SSI on Zephyr by default
2022-04-01 16:38:37 +01:00
Sergey Lyubka
3d9fa10485
Increase sock limit, fix multiple connections issue
2022-04-01 15:42:15 +01:00
Sergey Lyubka
6990040626
Set DNS error on UDP send error
2022-04-01 15:41:23 +01:00
Sergey Lyubka
b42ea6cd3c
Better logging
2022-04-01 15:41:03 +01:00
Sergey Lyubka
8c7fd8b330
Set default socket in mg_connect() to -1
2022-04-01 15:40:53 +01:00
Sergey Lyubka
4e0039625e
Remove cruft
2022-03-31 18:07:15 +01:00
Sergey Lyubka
6c909f8935
Disable SNTP
2022-03-31 18:02:29 +01:00
Sergey Lyubka
4f5d385e52
Enable SNTP in zephyr example
2022-03-31 17:42:09 +01:00
Sergey Lyubka
84fe1d87b3
Enable DHCP
2022-03-31 17:26:58 +01:00
Sergey Lyubka
bb0bc41f99
Add zephyr example skeleton
2022-03-31 16:58:27 +01:00
Sergey Lyubka
1c2d67ded7
Add missing arch_zephyr.h, add musl target
2022-03-30 09:06:00 +01:00
Sergey Lyubka
7372a05ce5
Add initial Zephyr support
2022-03-30 07:56:44 +01:00
Sergey Lyubka
642befa8d5
Remove unused mg_hmac_sha1()
2022-03-22 13:30:25 +00:00
Sergey Lyubka
3b5a9e2d4b
Add tests for mg_ws_wrap() and messages > 128 bytes
2022-03-22 12:46:55 +00:00
Sergey Lyubka
6b3d9d9baf
Add failed TLS host validation
2022-03-22 10:51:37 +00:00
Sergey Lyubka
436852d077
Enable TLS host validation in test_http_client()
2022-03-22 10:48:50 +00:00
Sergey Lyubka
b78ced4fa9
Honor hostname validation for openssl
2022-03-22 08:50:37 +00:00
Sergey Lyubka
1bc81df00e
Fix mg_dns_parse_name_depth()
2022-03-21 16:29:27 +00:00
Sergey Lyubka
bf025537b6
Merge pull request #1495 from jameshilliard/optimize-valgrind
...
Run valgrind tests with appropriate compiler optimizations.
2022-03-21 15:18:58 +00:00
Sergey Lyubka
ad4812218d
Handle #1497 - handshake format
2022-03-21 15:17:09 +00:00
Sergey Lyubka
0fbc4b8ff4
Reuse sock.c logic in mbedtls integration
2022-03-21 14:39:27 +00:00
Sergey Lyubka
7ef82f5caf
Add vc2017 target
2022-03-21 14:38:42 +00:00
Sergey Lyubka
1141ea7933
Add connection timeout
2022-03-20 18:50:01 +00:00
James Hilliard
1e9344161b
Run valgrind tests with appropriate compiler optimizations.
2022-03-18 13:51:05 -06:00
Sergey Lyubka
6c021765bb
Merge pull request #1479 from zudwalex/infineon_rtx_support
...
Add RTX-RTOS support
2022-03-18 09:18:49 +00:00
Sergey Lyubka
bc151af51d
Set IPv6=0 for valgrind test
2022-03-18 09:10:24 +00:00
Sergey Lyubka
8bd09e0e80
Add valgrind test
2022-03-18 09:03:18 +00:00
Sergey Lyubka
5978cb9703
Add valgrind test
2022-03-18 08:56:12 +00:00
Sergey Lyubka
8c447a95dd
Fix #1483 - add valgrind target, do not use stdlib strcasecmp()
2022-03-18 08:52:54 +00:00
Sergey Lyubka
870431dc1a
Enhance HTTP client example
2022-03-15 14:14:36 +00:00
Sergey Lyubka
1125b1f545
Fix #1490 - add winerror.h to fix old mingw build
2022-03-15 10:10:08 +00:00
Sergey Lyubka
d255fc737a
Fix mongoose.exe target
2022-03-15 10:03:00 +00:00
Sergey Lyubka
37cb51ee94
Fix #1488 - properly set non-blocking flags on accepted connections
2022-03-14 13:26:00 +00:00
Sergey Lyubka
02cabcc0ec
Fix busy loop in TLS case
2022-03-14 11:16:41 +00:00
Sergey Lyubka
3ffb6c046e
Merge branch 'master' of github.com:cesanta/mongoose
2022-03-11 15:40:22 +00:00
Sergey Lyubka
7bf8b81995
Fix mg_http_delete_chunk()
2022-03-11 15:38:59 +00:00
Sergey Lyubka
0ddda4a267
Merge pull request #1487 from jameshilliard/update-actions
...
Update actions/checkout@v2 to actions/checkout@v3
2022-03-08 12:06:08 +00:00
James Hilliard
c46ad970cb
Update actions/checkout@v2 to actions/checkout@v3
2022-03-06 21:59:25 -07:00
Sergey Lyubka
733abcffbc
Merge pull request #1485 from jameshilliard/fix-pack-rebuild
...
Regenerate pack file when dependencies are changed.
2022-03-06 16:50:03 +00:00
Sergey Lyubka
139f928731
Fix #1481 - use stricter compilation flags
2022-03-06 14:31:42 +00:00
James Hilliard
3da9986232
Regenerate pack file when dependencies are changed.
...
Should help prevent some spurious test failures due to stale
test/packed_fs.c file.
2022-03-02 10:12:48 -07:00
Sergey Lyubka
a284df01d1
Fix #1480 - use memmove instead of memcpy in mg_iobuf_resize()
2022-02-28 16:51:46 +00:00
Alex Alashkin
412f5cf3e0
Add RTX-RTOS support
2022-02-23 19:56:37 +02:00
Sergey Lyubka
42ba1e4aed
Fix #1473 - calm static analyzer
2022-02-23 13:34:20 +00:00
Sergey Lyubka
1893b06c13
Fix #1472 - calm static analyzer
2022-02-23 13:31:00 +00:00
Sergey Lyubka
b0cbb70e53
Fix #1471 - calm static analyzer
2022-02-23 13:30:14 +00:00
Sergey Lyubka
78e81fef27
Fix #1471 - calm static analyzer
2022-02-23 13:28:56 +00:00
Sergey Lyubka
dd08231a34
Fix #1470 - calm static analyzer
2022-02-23 13:25:25 +00:00
Sergey Lyubka
8c78b7ef53
Refactor mg_alloc_conn()
2022-02-23 10:51:01 +00:00
Sergey Lyubka
c650fdcdfc
Move mg_listen() to net.c
2022-02-23 03:06:02 +00:00
Sergey Lyubka
e99973d4b7
Introduce local address
2022-02-22 22:00:55 +00:00
Sergey Lyubka
4012a86bd8
Remove gitter chat link
2022-02-22 21:46:07 +00:00
Sergey Lyubka
048fee5c88
Fix build after mg_connect() move
2022-02-22 21:35:03 +00:00
Sergey Lyubka
a287fd97e4
Factor mg_connect() to net.c
2022-02-22 21:27:08 +00:00
Sergey Lyubka
3a249183f8
Factor out mg_alloc_conn()
2022-02-22 21:14:29 +00:00
Sergey Lyubka
393dad97e0
Get rid of ctype dependencies
2022-02-22 20:20:56 +00:00
Sergey Lyubka
113abc71d4
Add SPDX identifier. Fix #1387
2022-02-22 18:13:06 +00:00
Sergey Lyubka
63261ec0d5
Use mg_http_status()
2022-02-19 16:19:51 +00:00
Sergey Lyubka
507935d067
Tiny refactoring - move clearance of the c->is_resolving flag to the mg_connect_resolved()
2022-02-19 16:17:03 +00:00
Sergey Lyubka
c579b73f75
Update docs
2022-02-19 15:31:22 +00:00
Sergey Lyubka
e69ec148cc
Better mbedtls debug
2022-02-19 13:46:07 +00:00
Sergey Lyubka
a76ade9bb2
Update packed fs
2022-02-14 17:44:43 +00:00
Sergey Lyubka
4fec149345
Disable dirlist by default
2022-02-14 11:32:01 +00:00
Sergey Lyubka
5bc164de76
Remove MG_ENABLE_DIRLIST
2022-02-14 11:19:24 +00:00
Sergey Lyubka
969b84043c
Fix #1465 - rename LL_* constants, introduce MG_* log macros
2022-02-12 18:17:25 +00:00
Sergey Lyubka
da72dafbfb
Fix #1462 - add helper function for getting HTTP response status code.
2022-02-12 16:51:37 +00:00
Sergey Lyubka
1adf7f6b2b
Handle #1463 - add missing includes for windows
2022-02-12 16:43:08 +00:00
Sergey Lyubka
3e085ccbaa
Eliminate explicit _WIN32 checks
2022-02-12 14:33:43 +00:00
Sergey Lyubka
3e8e2ab513
Add optional zip cmd to pack.c
2022-02-12 14:28:02 +00:00
Sergey Lyubka
4f802ece52
Enhance mg_snrpintf tests
2022-02-11 18:15:34 +00:00
Sergey Lyubka
313ac34e59
Handle minus in the fmt spec
2022-02-11 11:02:06 +00:00
Sergey Lyubka
54f75889fa
Using mg_snprintf() everywhere
2022-02-10 17:11:03 +00:00
Sergey Lyubka
f64c86d23f
Use mg_snprintf()
2022-02-10 11:56:55 +00:00
Sergey Lyubka
9e634310b4
Use MG_EV_HTTP_CHUNK for streaming upload
2022-02-09 12:24:06 +00:00
Sergey Lyubka
33666e7d6b
Fix ESP32 example
2022-02-08 14:13:47 +00:00
Sergey Lyubka
40d4c7e410
Fix ESP32 example
2022-02-08 13:43:34 +00:00
Sergey Lyubka
8cd4699dbc
Rename FS API functions to avoid conflicts
2022-02-08 13:36:04 +00:00
Sergey Lyubka
49d5aff8f9
Call realpath() against root_dir only when there are no overrides
2022-02-01 11:10:01 +00:00
Sergey Lyubka
b2ee9cb363
Update docs
2022-01-29 11:12:31 +00:00
Sergey Lyubka
e9c20ad992
Update docs
2022-01-29 11:11:22 +00:00
Sergey Lyubka
63b880e624
Handle #1459 - deprecate mg_globmatch, introduce mg_match()
2022-01-29 11:03:54 +00:00
Sergey Lyubka
768f67ae0a
Fix #1458 - fail on example build error, and fix examples/mqtt-server
2022-01-27 12:10:03 +00:00
Sergey Lyubka
fbf5fa53c6
Refactor ff_open()
2022-01-25 10:50:08 +00:00
Sergey Lyubka
4a5824e7a7
Silence error in clean target
2022-01-24 13:07:56 +00:00
Sergey Lyubka
32f3c48b65
Fix FreeBSD build
2022-01-24 02:20:45 +00:00
Sergey Lyubka
f7fbcd2451
Disable leaks detection on macos
2022-01-23 06:58:06 +00:00
Sergey Lyubka
c6253854ba
Disable leaks detection on macos
2022-01-23 06:12:36 +00:00
Sergey Lyubka
544644e94b
Refactor - always enable LOG macro. Enhance iolog
2022-01-23 06:10:14 +00:00
Sergey Lyubka
f6cebf6956
Listen on INADDR_ANY by default
2022-01-22 17:03:27 +00:00
Sergey Lyubka
1b82aa02aa
7.5 -> 7.6
2022-01-21 12:41:52 +00:00
Sergey Lyubka
e565a7e73d
Fix #1453 - do not allow empty wakeup buffer
2022-01-21 12:35:28 +00:00
Sergey Lyubka
59c4dfa33b
Fix 1452 - byte order issue in mg_check_ip_acl
2022-01-21 12:24:58 +00:00
Sergey Lyubka
1a8e3c2e31
Decrese debug verbosity
2022-01-19 18:15:47 +00:00
Sergey Lyubka
226917e1cd
Use mg_str, not pointers, in mg_mqtt_{sub,pub}
2022-01-19 09:57:27 +00:00
Sergey Lyubka
fe813ee247
Add buf,len params to mg_mgr_wakeup()
2022-01-19 09:25:01 +00:00
Sergey Lyubka
4cd830a0bf
Improve ff_write - save large blocks in chunks
2022-01-19 08:43:34 +00:00
Sergey Lyubka
1259ca9ac9
Add missing mkdir() on ARM targets
2022-01-18 19:31:10 +00:00
Sergey Lyubka
d0857fe36c
Add mkdir to the FS API
2022-01-18 19:19:34 +00:00
Sergey Lyubka
56a7438114
Add fs arg to mg_file* and mg_http_upload API
2022-01-18 17:11:02 +00:00
Sergey Lyubka
09df542db8
Fix unamalgamated build
2022-01-18 08:02:41 +00:00
Sergey Lyubka
1df102ab93
Add Fat FS support
2022-01-18 07:44:30 +00:00
Sergey Lyubka
02b3b780bb
Add missing fs.c
2022-01-17 14:44:59 +00:00
Sergey Lyubka
f84f3da012
Change in FS API for fs->open() and fs->close()
2022-01-17 14:42:41 +00:00
Sergey Lyubka
c65c8fdaaa
Protect against the directory traversal in mg_upload()
2022-01-17 12:08:23 +00:00
Sergey Lyubka
b484123f1b
gcc and clang
2022-01-15 01:45:31 +00:00
Sergey Lyubka
b60119790e
Fix wrong memcmp usage in mg_url_port()
2022-01-14 12:45:55 +00:00
Sergey Lyubka
216427cea0
Cleanup suseconds_t usage
2022-01-14 12:33:06 +00:00
Sergey Lyubka
c53e2fcc14
Fix #1444 - clang warns on undefined behavior with null pointers
2022-01-14 09:55:15 +00:00
Sergey Lyubka
9fd80fd136
Fix #1445 - send error to a resolving connection when DNS error happens
2022-01-14 08:50:01 +00:00
Sergey Lyubka
5fc284722f
Fix #1448 - fix MG_ENABLE_FILE build
2022-01-14 08:21:12 +00:00
Sergey Lyubka
ad6e395da0
Fix #1447 - typo in mg_random()
2022-01-14 08:18:28 +00:00
Sergey Lyubka
6c79a406cd
Fix localtime_r and gmtmime_r signatures
2022-01-11 19:15:38 +00:00
Sergey Lyubka
456e8bd249
Use 3 params for fcntl()
2022-01-10 18:21:13 +00:00
Sergey Lyubka
de95f28598
Make stat and struct stat changeable
2022-01-10 18:07:45 +00:00
Sergey Lyubka
43405afdb2
Dont use ctype.h from str.h
2022-01-10 17:30:51 +00:00
Sergey Lyubka
97f95e17db
Better strategy for restoring multicast address
2022-01-07 18:40:48 +00:00
Sergey Lyubka
6725d61b3f
Re-init SSDP peer address before every search
2022-01-07 18:28:51 +00:00
Sergey Lyubka
ebda2cb100
Use sendto on Mac too
2022-01-07 16:31:29 +00:00
Sergey Lyubka
bb72b2494d
Fix unamalgamated target
2022-01-07 15:48:09 +00:00
Sergey Lyubka
3b0a509cae
Change mg_resolve()
2022-01-07 15:00:10 +00:00
Sergey Lyubka
2f981f9383
Skip connect() on UDP connection
2022-01-06 15:42:55 +00:00
Sergey Lyubka
fc3c08e411
Change mg_straddr() API
2022-01-05 19:09:11 +00:00
Sergey Lyubka
ff811f287a
Squash warnings
2022-01-05 13:57:30 +00:00
Sergey Lyubka
8ebb3bc37b
More detailed debug log - show ip/port for sender and receiver
2022-01-05 13:47:11 +00:00
Sergey Lyubka
f7ff571c5f
Added SSDP search example
2022-01-05 13:22:00 +00:00
Sergey Lyubka
6a82cbee71
Send MG_EV_WRITE for UDP messages
2022-01-05 13:03:56 +00:00
Sergey Lyubka
b0585bd0a9
Do not set c->label for DNS connections - let labels be user-only-settable
2022-01-05 11:46:26 +00:00
Sergey Lyubka
6ad4d242c2
Better cleanup
2022-01-05 11:45:22 +00:00
Sergey Lyubka
030b1d9826
Remove wrong comment
2021-12-27 03:31:33 +00:00
Sergey Lyubka
f6ffa7b3b9
Add huge-response example
2021-12-27 03:25:28 +00:00
Sergey Lyubka
137efe2233
Show requests in flight
2021-12-24 20:46:31 +00:00
Sergey Lyubka
62411d039e
Increase mqtt timeouts
2021-12-24 12:14:06 +00:00
novlean
54b1716e77
Merge pull request #1436 from cesanta/novlean-patch-1
...
Update README.md
2021-12-23 17:18:55 +00:00
novlean
9f7aba8039
Update README.md
2021-12-23 17:18:45 +00:00
Sergey Lyubka
a176b8d566
Upate docs w.r.t. mg_mqtt_opts
2021-12-23 11:12:10 +00:00
Sergey Lyubka
26a97ec36c
Fix #1434 - set will QoS in CONNECT message correctly, and rename qos -> will_qos in struct mg_mqtt_opts
2021-12-23 11:00:18 +00:00
Sergey Lyubka
f29807aad8
Resolve root path before serving to avoid double dots
2021-12-22 18:05:03 +00:00
Sergey Lyubka
92d3c7a4cd
Add realpath() for Win32
2021-12-22 18:04:36 +00:00
Sergey Lyubka
af3a0f6af0
Add realpath() for Win32
2021-12-22 18:04:27 +00:00
Sergey Lyubka
ce6164ca20
Fail stat() if S_ISDIR is not defined
2021-12-22 18:04:16 +00:00
Sergey Lyubka
e9fc3fcecf
Update event enum
2021-12-21 22:20:42 +00:00
Sergey Lyubka
25a1a24890
Fallback to time(0) in mg_millis()
2021-12-21 22:04:03 +00:00
Sergey Lyubka
bf7fc1d5a9
Amalgamate
2021-12-21 21:58:03 +00:00
Sergey Lyubka
2126b49ab3
Merge pull request #1433 from ryuukk/patch-2
...
Remove debugging left over
2021-12-21 21:56:41 +00:00
Sergey Lyubka
ae6767b1d2
Use int64_t for timers and mg_millis()
2021-12-21 21:50:18 +00:00
ryuukk
133629dbee
Remove debugging left over
2021-12-21 21:28:22 +01:00
Sergey Lyubka
fb0a9bc7e3
Fix build
2021-12-21 18:16:12 +00:00
Sergey Lyubka
2a3492766f
Remove mg_time() and mg_usleep()
2021-12-21 17:44:34 +00:00
Sergey Lyubka
2ec7e5653e
Merge branch 'master' of github.com:cesanta/mongoose
2021-12-21 17:40:04 +00:00
Sergey Lyubka
30bfb245f5
Make mongoose more bare-metal Keil friendly. Declare settings after arch. Introduce MG_ENABLE_FILE
2021-12-21 17:39:55 +00:00
Sergey Lyubka
84d89bc4f5
Merge pull request #1431 from ryuukk/patch-1
...
Closed WS connection is not an error for the logger
2021-12-21 08:47:21 +00:00
ryuukk
7f55fabfec
Closed WS connection is not an error for the logger
2021-12-21 01:34:48 +01:00
Sergey Lyubka
9e0f04dc8b
Add -S option
2021-12-20 16:35:16 +00:00
Sergey Lyubka
574c2954b3
Docs nitpick
2021-12-19 10:53:17 +00:00
Sergey Lyubka
9d38e26b81
Add MG_HTTP_INDEX build var
2021-12-17 13:54:01 +00:00
Sergey Lyubka
4e75a0c81e
7.4 -> 7.5
2021-12-17 13:34:32 +00:00
Sergey Lyubka
d311e967fa
Add mingw target
2021-12-16 09:22:28 +00:00
Sergey Lyubka
d0a6c111cb
Call MG_EV_ERROR with c->is_closing set
2021-12-15 11:31:42 +00:00
Sergey Lyubka
aa6d8b4662
Remove TLS custom_init() API
2021-12-15 11:04:43 +00:00
Sergey Lyubka
3f5fd89fd7
Pass more args to custom TLS init
2021-12-14 13:21:59 +00:00
Sergey Lyubka
f43a5a005c
Introduce custom TLS init function
2021-12-14 13:04:11 +00:00
Sergey Lyubka
755bf3c412
Split TLS files and introduce MG_ENABLE_CUSTOM_TLS
2021-12-14 12:42:41 +00:00
Sergey Lyubka
84f3fb0ba5
Move EXTERN_C to util.h
2021-12-14 12:11:05 +00:00
Sergey Lyubka
f2df6c114d
Example for mg_http_bauth
2021-12-13 15:14:29 +00:00
Sergey Lyubka
f93659e303
Merge branch 'master' of github.com:cesanta/mongoose
2021-12-13 15:08:14 +00:00
Sergey Lyubka
226404d39c
Example for mg_http_bauth
2021-12-13 15:08:05 +00:00
Sergey Lyubka
c1bcc143b9
Merge pull request #1417 from DavidKorczynski/cifuzz-integration
...
Add CIFuzz integration
2021-12-13 11:35:31 +00:00
Sergey Lyubka
5ca9062d45
Less verbose serve_dir
2021-12-07 15:23:02 +00:00
Sergey Lyubka
0b209eaabb
Add mg_http_get_header_var()
2021-12-03 09:54:03 +00:00
David Korczynski
47ef191ea2
Add CIFuzz integration
2021-11-30 22:48:20 +00:00
Sergey Lyubka
25e76d761e
Fix usage message
2021-11-29 14:00:03 +00:00
Sergey Lyubka
9731a51dae
Recognise :PORT as a valid URL
2021-11-29 13:57:33 +00:00
Sergey Lyubka
81220fa590
Remove noisy debug
2021-11-26 16:23:06 +00:00
Sergey Lyubka
24e8c4d81a
Increase SNMP test timeout
2021-11-25 17:31:41 +00:00
Sergey Lyubka
013520b0c0
Add note for mg_http_serve_dir()
2021-11-25 12:29:45 +00:00
Sergey Lyubka
f012bcb027
Update issue template
2021-11-25 11:47:26 +00:00
Sergey Lyubka
922e1ce529
Make captive portal work on Linux
2021-11-23 17:52:54 +00:00
Sergey Lyubka
7a707cc64b
Add README
2021-11-23 15:08:34 +00:00
Sergey Lyubka
1967acfef2
Make it build on vc98
2021-11-23 13:24:21 +00:00
Sergey Lyubka
e24cb04003
Update URL
2021-11-23 09:37:03 +00:00
Sergey Lyubka
67974746ff
Add json-rpc-over-ws example
2021-11-22 16:45:14 +00:00
Sergey Lyubka
8d916d41d7
Fix #1409 - remove VLA which confuses MSVC
2021-11-22 12:24:58 +00:00
Sergey Lyubka
08444e3942
Fix links and typos
2021-11-16 12:30:40 +00:00
Sergey Lyubka
9c41a0cd26
Fix links
2021-11-16 09:54:36 +00:00
Sergey Lyubka
2c50069d98
Do not clean the recv buffer
2021-11-14 16:47:40 +00:00
Sergey Lyubka
31059f6728
Add test.html
2021-11-14 14:31:51 +00:00
Sergey Lyubka
2000752b2c
Remove dead code
2021-11-11 15:15:47 +00:00
Sergey Lyubka
dd34830443
Update README
2021-11-11 15:11:57 +00:00
Sergey Lyubka
c58f4ee51b
Add symlinks
2021-11-11 14:21:52 +00:00
Sergey Lyubka
00f7e8cb2a
Support wildcards
2021-11-11 12:08:17 +00:00
Sergey Lyubka
439904e27f
Add signal handler
2021-11-11 10:35:41 +00:00
Sergey Lyubka
4d6590ece2
Add readme
2021-11-11 10:29:16 +00:00
Sergey Lyubka
9b0c4b970d
Add README.md
2021-11-11 08:26:31 +00:00
Sergey Lyubka
a80ce1b12a
Add signal handler
2021-11-11 07:36:25 +00:00
Sergey Lyubka
57dd74c180
Add reconnection logic
2021-11-10 12:57:02 +00:00
Sergey Lyubka
90c67e4226
Reformatting for better readability
2021-11-06 11:29:56 +00:00
Sergey Lyubka
093cd6a6a3
Fix FD_CLOEXEC setting
2021-11-05 13:30:12 +00:00
Sergey Lyubka
975db86306
Add READMEs
2021-11-05 13:02:36 +00:00
Sergey Lyubka
eba688e11b
Update docs
2021-11-04 23:07:47 +00:00
Sergey Lyubka
05b44204d5
Set FD_CLOEXEC properly
2021-11-04 18:28:32 +00:00
Sergey Lyubka
0bb017c1d5
Add examples/mqtt-client-aws-iot
2021-11-03 20:58:57 +00:00
Sergey Lyubka
a6efd0b335
Merge branch 'master' into dec
2021-11-02 22:43:59 +00:00
Sergey Lyubka
c3d237e9c6
More verbose log
2021-11-02 22:43:23 +00:00
Sergey Lyubka
09d28f5570
Print a clarifying message at start
2021-11-02 16:53:57 +00:00
Sergey Lyubka
ba02937ec6
Squash warnings
2021-11-02 16:40:25 +00:00
Sergey Lyubka
3d78b14deb
Fix #1396 - JS sorting code for dir listing
2021-11-02 16:01:06 +00:00
Sergey Lyubka
f558551d1d
Fix #1395 - show decoded URI in dir listing
2021-11-02 15:11:56 +00:00
Sergey Lyubka
12fe66370f
Fix #1393 - cleanup mime types
2021-11-01 20:31:45 +00:00
Sergey Lyubka
423aaa492c
Fix #1394 - mg_mqtt_sub(). Add MG_EV_OPEN, too.
2021-11-01 16:20:00 +00:00
Sergey Lyubka
2016586475
Clearer client init
2021-11-01 13:29:44 +00:00
Sergey Lyubka
bf88167152
Add missing test files
2021-10-31 12:50:06 +00:00
Sergey Lyubka
52be84f04e
Add user and pass to struct mg_mqtt_opts
2021-10-31 12:48:32 +00:00
Sergey Lyubka
03d187b147
Fix #1375 - change event processing order
2021-10-31 12:40:56 +00:00
Sergey Lyubka
3329047579
More explicit check on hm->uri.len
2021-10-31 12:37:40 +00:00
Sergey Lyubka
86c70e5abb
Fix #1391 - make remove_double_dots less aggressive
2021-10-31 12:36:34 +00:00
Sergey Lyubka
b17f4108ea
Change MG_PATH_MAX for ESP8266
2021-10-30 19:34:53 +01:00
Sergey Lyubka
4e523cc455
Remove binary section
2021-10-27 20:13:05 +01:00
Sergey Lyubka
49c9be9159
Set MG_IO_SIZE -> 128
2021-10-27 19:20:52 +01:00
Sergey Lyubka
f1bfe0760f
Optimise TLS read
2021-10-27 19:18:44 +01:00
Sergey Lyubka
35f02fdaad
Use small IO buffer
2021-10-27 19:18:19 +01:00
Sergey Lyubka
6ac09966ba
Fix #1374 - fix ESP32 build
2021-10-22 22:06:10 +01:00
Sergey Lyubka
af9a7617f5
Merge pull request #1381 from ptsolakos/master
...
Certificate revocation checking when using mbedtls
2021-10-22 20:30:47 +01:00
Sergey Lyubka
42c89732c8
Remove private.h
2021-10-22 19:41:26 +01:00
Sergey Lyubka
054475ddbf
Fix #1376 - handle comma for unquoted header vars
2021-10-22 14:33:51 +01:00
Sergey Lyubka
126d556d6a
Merge pull request #1380 from jameshilliard/fix-time
...
util: Actually return uptime on OSX/Linux for mg_millis
2021-10-22 14:06:44 +01:00
Sergey Lyubka
529a302e77
Merge pull request #1379 from jameshilliard/fix-sntp
...
sntp: Don't set Leap Indicator in client messages.
2021-10-22 14:04:54 +01:00
Sergey Lyubka
acbf978452
Merge pull request #1378 from jameshilliard/undef
...
Fix some undefined macro warnings.
2021-10-22 14:03:42 +01:00
Sergey Lyubka
90b22716ea
Merge branch 'master' into undef
2021-10-22 14:03:25 +01:00
Sergey Lyubka
fb90c504a6
Remove private.h
2021-10-22 14:00:31 +01:00
Sergey Lyubka
65fd834654
Increate mqtt test timeout
2021-10-22 13:58:51 +01:00
Sergey Lyubka
a84acf5b8b
Merge pull request #1385 from zudwalex/move_stm32_examples
...
Move STM32 examples to stm32 folder
2021-10-22 13:39:13 +01:00
Sergey Lyubka
e9505db146
Merge pull request #1384 from zudwalex/master
...
Add more NXP examples and move them to nxp folder
2021-10-22 13:39:02 +01:00
Sergey Lyubka
4fb49b011e
Merge pull request #1377 from jameshilliard/missing-prototypes
...
Make private functions static and add missing prototypes.
2021-10-22 13:16:06 +01:00
Alex Alashkin
6742991469
Move STM32 examples to stm32 folder
2021-10-22 14:19:50 +03:00
Alex Alashkin
2430cc5aac
Add more NXP examples and move them to nxp folder
2021-10-22 14:04:15 +03:00
Sergey Lyubka
54590aaf26
Use UDP sendto() on win32 only
2021-10-22 09:14:18 +01:00
Sergey Lyubka
7c5e67b272
Fix #1382 - use sendto for UDP send
2021-10-22 08:56:45 +01:00
Sergey Lyubka
c62c8ea4dd
Correct licensing URL
2021-10-20 10:04:49 +01:00
Panagiotis Tsolakos
383653d608
mbedtls CRL support
...
Certificate revocation checking when using mbedtls
2021-10-14 17:56:31 +02:00
James Hilliard
001dc3f33d
util: Actually return uptime on OSX/Linux for mg_millis
...
The documentation for mg_millis indicates it will:
Return current uptime in milliseconds.
So we should use API's that actually return uptime.
Signed-off-by: James Hilliard <james.hilliard1@gmail.com >
2021-10-13 17:06:18 -06:00
James Hilliard
37d45b3fbb
sntp: Don't set Leap Indicator in client messages.
...
Per RFC4330:
This field is significant only in server messages
Signed-off-by: James Hilliard <james.hilliard1@gmail.com >
2021-10-13 16:48:33 -06:00
James Hilliard
f72b8c6034
Fix some undefined macro warnings.
...
Signed-off-by: James Hilliard <james.hilliard1@gmail.com >
2021-10-13 13:06:00 -06:00
James Hilliard
c11e5a9383
Make private functions static and add missing prototypes.
...
Fixes:
mongoose/mongoose.c:180:8: warning: no previous prototype for ‘mg_dns_parse_name’ [-Wmissing-prototypes]
180 | size_t mg_dns_parse_name(const uint8_t *s, size_t n, size_t ofs, char *dst,
| ^~~~~~~~~~~~~~~~~
mongoose/mongoose.c:306:6: warning: no previous prototype for ‘mg_dns_send’ [-Wmissing-prototypes]
306 | void mg_dns_send(struct mg_connection *c, const struct mg_str *name,
| ^~~~~~~~~~~
mongoose/mongoose.c:925:6: warning: no previous prototype for ‘mg_http_parse_headers’ [-Wmissing-prototypes]
925 | void mg_http_parse_headers(const char *s, const char *end,
| ^~~~~~~~~~~~~~~~~~~~~
mongoose/mongoose.c:1125:7: warning: no previous prototype for ‘mg_http_etag’ [-Wmissing-prototypes]
1125 | char *mg_http_etag(char *buf, size_t len, size_t size, time_t mtime) {
| ^~~~~~~~~~~~
mongoose/mongoose.c:2578:6: warning: no previous prototype for ‘mg_sha1_transform’ [-Wmissing-prototypes]
2578 | void mg_sha1_transform(uint32_t state[5], const unsigned char buffer[64]) {
| ^~~~~~~~~~~~~~~~~
mongoose/mongoose.c:2976:8: warning: no previous prototype for ‘mg_open_listener’ [-Wmissing-prototypes]
2976 | SOCKET mg_open_listener(const char *url, struct mg_addr *addr) {
| ^~~~~~~~~~~~~~~~
Signed-off-by: James Hilliard <james.hilliard1@gmail.com >
2021-10-12 20:18:11 -06:00
Sergey Lyubka
b5147a149e
Merge pull request #1373 from zudwalex/fix_board_ci
...
Use mongoose.[ch] from main repo
2021-10-06 12:31:27 +01:00
Alex Alashkin
655529f30b
Use mongoose.[ch] from parent repo
2021-10-06 13:15:12 +03:00
novlean
fd5319e0ce
Merge pull request #1372 from cesanta/novlean-patch-1
...
license
2021-10-05 17:09:43 +01:00
novlean
f8c84ca672
license
2021-10-05 17:09:35 +01:00
novlean
1b81ac8916
Merge pull request #1371 from cesanta/novlean-patch-1
...
mongoose.ws
2021-10-05 16:54:43 +01:00
novlean
c64e2ebb16
mongoose.ws
2021-10-05 16:54:34 +01:00
Sergey Lyubka
3771f2c088
Merge branch 'master' of github.com:cesanta/mongoose
2021-10-04 19:47:34 +01:00
Sergey Lyubka
6d398bd5c7
Fix mg_random() for ESP32
2021-10-04 19:47:24 +01:00
Sergey Lyubka
5c355a5ff3
Merge pull request #1368 from zudwalex/nxp_examples
...
Add NXP examples
2021-10-04 12:04:00 +01:00
Alex Alashkin
d2f8b346e6
Add nxp to actions
2021-10-04 13:15:32 +03:00
Alex Alashkin
5cdaa931f9
Add NXP examples
2021-10-04 12:54:15 +03:00
Sergey Lyubka
693863a51e
Merge pull request #1366 from zudwalex/fix_rtos_lwip
...
Add missed include for FreeRTOS/LwIP arch
2021-10-02 22:45:08 +01:00
Sergey Lyubka
a204c80308
Update ca.pem links
2021-10-01 09:25:34 +01:00
Sergey Lyubka
7d620965e2
Update ca.pem: DST root CA has expired
2021-10-01 09:22:49 +01:00
Sergey Lyubka
0149654791
Update README
2021-10-01 08:26:34 +01:00
Sergey Lyubka
f08d280429
Version 7.4
2021-09-30 13:35:44 +01:00
Sergey Lyubka
6fbb749431
7.4 -> 7.5
2021-09-30 13:34:55 +01:00
Alex Alashkin
bc7178e5f7
Add missed include
2021-09-29 12:25:25 +03:00
Sergey Lyubka
61070d136d
Add nxp-mimxrt1020-azurertos to Actions
2021-09-27 13:55:19 +01:00
Sergey Lyubka
ea85f93e37
Merge branch 'master' of github.com:cesanta/mongoose
2021-09-27 13:52:59 +01:00
Sergey Lyubka
46029c501a
Fix #1359 - add conditional for MSVC, _DEBUG and strdup
2021-09-27 13:52:39 +01:00
Sergey Lyubka
78e1fdd1c9
Merge pull request #1365 from zudwalex/mimxrt1020_example
...
Add NXP MIMXRT1020 AzureRTOS example
2021-09-27 11:50:48 +01:00
Alex Alashkin
9ef5c7c667
Add NXP MIMXRT1020 AzureRTOS example
2021-09-27 11:12:15 +03:00
Sergey Lyubka
cdf279e438
Merge pull request #1358 from yermin/master
...
makes it more readable
2021-09-27 09:00:11 +01:00
Sergey Lyubka
cdd192abe4
Merge pull request #1363 from tophatgeeks/patch-1
...
Update README - Jordan Ramsey Edits.md
2021-09-27 08:44:42 +01:00
Sergey Lyubka
9af6f4b02e
Merge pull request #1360 from zudwalex/azure_basics
...
Add AzureRTOS basic support
2021-09-27 08:39:15 +01:00
Alex Alashkin
d86ceecd8c
Add AzureRTOS basic support
2021-09-26 10:25:44 +03:00
yermin
8f693b92a7
makes it more readable
...
Signed-off-by: yermin <yermin@buaa.edu.cn >
2021-09-24 11:30:21 +08:00
tophatgeeks
6b1ff37cf3
Update README.md
...
I have gone through and edited for consistency, punctuation, wording, and grammar. If you have questions feel free to reach out. I fixed some spelling errors "if" instead of "is" "update" instead of "updatw", etc.
-Jordan Ramsey
2021-09-23 12:07:00 -04:00
Sergey Lyubka
c490ff8ae7
Fix typo
2021-09-22 20:38:28 +01:00
Sergey Lyubka
f73ebbf689
Fix #1354 - report correct errno in mg_open_listener()
2021-09-22 18:52:42 +01:00
Sergey Lyubka
1928ba9c1f
Merge branch 'master' of github.com:cesanta/mongoose
2021-09-22 11:51:26 +01:00
Sergey Lyubka
ad3655fb92
Docs spelling
2021-09-22 11:51:16 +01:00
novlean
29e0158689
Merge pull request #1355 from cesanta/novlean-patch-1
...
2021
2021-09-21 18:07:33 +01:00
novlean
aaf55b6da0
2021
2021-09-21 18:02:11 +01:00
Sergey Lyubka
90a131bd29
Include ipv6 wrapping brackets [] in the result of mg_url_host()
2021-09-21 08:10:27 +01:00
Sergey Lyubka
8652006aea
Remove dead code
2021-09-20 12:26:09 +01:00
Sergey Lyubka
2139fbc4b7
Support multiple web roots
2021-09-20 12:24:44 +01:00
Sergey Lyubka
2b48e8b03a
Send suback
2021-09-18 20:56:56 +01:00
Sergey Lyubka
a7afea0963
Handle ipv4-mapped addresses
2021-09-18 19:38:59 +01:00
Sergey Lyubka
9d1e61de93
Update docs
2021-09-17 15:59:15 +01:00
Sergey Lyubka
9b6b1a68f4
Add MQTT version check
2021-09-17 14:02:29 +01:00
Sergey Lyubka
c7bd63ef53
Fix #1351 - squash warning
2021-09-17 11:07:20 +01:00
Sergey Lyubka
40b3382023
Enable WS data size check
2021-09-17 10:56:58 +01:00
Sergey Lyubka
a70c5e726d
Merge branch 'master' of github.com:cesanta/mongoose
2021-09-16 11:17:02 +01:00
Sergey Lyubka
409fdaec59
Rename posix_* -> p_* to avoid build conflict on linux
2021-09-16 11:16:10 +01:00
Sergey Lyubka
372aa369c4
Merge pull request #1350 from zudwalex/mg_parameters_retval
...
Add parameters descriptions to documentation
2021-09-15 20:51:18 +01:00
Alex Alashkin
eb94704d8d
Add params and retvals
2021-09-15 22:18:44 +03:00
Sergey Lyubka
894a168833
Get rid of fs->realpath
2021-09-15 07:43:48 +01:00
Sergey Lyubka
f3eb466af3
Update docs
2021-09-15 07:43:24 +01:00
Sergey Lyubka
df848973dc
Fix unamalgamated target
2021-09-14 12:27:02 +01:00
Sergey Lyubka
f37e5ecc38
WS frame len sanity check
2021-09-14 10:26:03 +01:00
Sergey Lyubka
6316609a5f
Show log level
2021-09-13 13:48:02 +01:00
Sergey Lyubka
dca08d32bd
Fix URL
2021-09-13 13:47:49 +01:00
Sergey Lyubka
2b287f50f1
Add gitter badge
2021-09-02 10:28:16 +01:00
Sergey Lyubka
acf58972f7
Fix posix_open()
2021-09-02 10:20:55 +01:00
Sergey Lyubka
5bf5516b29
struct iobuf doc
2021-08-30 13:06:45 +01:00
Sergey Lyubka
40b99e3751
Print openssl error on TLS error
2021-08-30 11:45:30 +01:00
Sergey Lyubka
28a56370d4
Fix zeromem() call in mg_iobuf_del()
2021-08-30 11:39:19 +01:00
Sergey Lyubka
e3589577ed
Update OpenSSL handshake error codepath
2021-08-29 16:54:24 +01:00
Sergey Lyubka
38beb4cbc0
Update readme
2021-08-28 22:00:46 +01:00
Sergey Lyubka
167af7f160
docs update
2021-08-28 20:27:55 +01:00
Sergey Lyubka
7d91885413
Update docs
2021-08-28 11:16:45 +01:00
Sergey Lyubka
0de83157dc
Update docs
2021-08-28 08:52:41 +01:00
Sergey Lyubka
cc9639b3cb
Update docs
2021-08-28 08:48:47 +01:00
Sergey Lyubka
cb0ac1868f
Update docs
2021-08-28 08:46:01 +01:00
Sergey Lyubka
e653147119
Merge pull request #1344 from timgates42/bugfix_typo_priority
...
docs: fix simple typo, priorty -> priority
2021-08-28 08:37:26 +01:00
Sergey Lyubka
f3d15a0440
Update docs
2021-08-28 08:25:31 +01:00
Sergey Lyubka
0bc736d384
Update docs
2021-08-28 08:23:33 +01:00
Sergey Lyubka
3bf7b817f6
Update docs
2021-08-28 08:21:29 +01:00
Sergey Lyubka
477e48bf54
mg_iobuf_append -> mg_iobuf_add
2021-08-28 08:08:54 +01:00
Sergey Lyubka
913e730ec2
mg_iobuf_delete -> mg_iobuf_del
2021-08-28 07:16:38 +01:00
Sergey Lyubka
bd64043377
mg_comma -> mg_commalist
2021-08-28 06:54:56 +01:00
Tim Gates
9f827feeaa
docs: fix simple typo, priorty -> priority
...
There is a small typo in examples/stm32-freertos-tcp/stm32f7/core_cm7.h.
Should read `priority` rather than `priorty`.
2021-08-28 07:46:08 +10:00
Sergey Lyubka
714b7a8145
Handle WS fragmentation
2021-08-27 10:25:24 +01:00
Sergey Lyubka
7ba6fda236
Add stm32-nucleo-h743z and stm32-nucleo-f429z
2021-08-26 11:40:47 +01:00
Sergey Lyubka
fc9c454518
Add mg_check_ip_acl()
2021-08-25 07:59:31 +01:00
Sergey Lyubka
1c456fc2df
mg_next_comma_entry -> mg_comma
2021-08-23 16:54:58 +01:00
Sergey Lyubka
9b37ac384f
Merge pull request #1341 from lnksz/bugfix-1340-http_chunked
...
Fix #1340 : Long HTTP Chunks
2021-08-23 14:50:39 +01:00
Sergey Lyubka
99b279d5e5
Add examples/stm32-nucleo-f746z
2021-08-23 10:38:11 +01:00
Kristof Havasi
4d07a99ee2
Fix bug in long HTTP chunk handling
...
Due to a copy/paste error, the start of the payload in the latest parsed
chunk was compared to chunk-length of the terminating chunk (5 chars).
So only chunks were parsed as expected, which also had a single hex
digit length.
2021-08-23 08:50:58 +02:00
Kristof Havasi
f6f0e49de4
Add failing test for HTTP chunk
...
This test would have caught #1340 : handling chunks longer than 15 chars
2021-08-23 08:19:46 +02:00
Sergey Lyubka
07568a8f06
Docs nits
2021-08-22 10:51:40 +01:00
Sergey Lyubka
71e9019211
Docs nitpicks
2021-08-20 20:31:32 +01:00
Sergey Lyubka
0937213f4b
Merge pull request #1336 from zudwalex/freertos_lwip_support
...
Update FREERTOS + LWIP support
2021-08-12 12:57:06 +01:00
Sergey Lyubka
6c42350fcf
docs
2021-08-12 12:24:28 +01:00
Alex Alashkin
453d4be4d0
Update FREERTOS + LWIP support
2021-08-12 13:54:43 +03:00
Sergey Lyubka
104c4fab19
More docs
2021-08-11 19:24:33 +01:00
Sergey Lyubka
fd5eb2d3f9
Refactor mg_mkpipe()
2021-08-11 19:17:04 +01:00
Sergey Lyubka
8b770d2a0d
Fix #1334 - typo in mg_call(..MG_EV_WS_OPEN) call
2021-08-11 04:52:39 +01:00
Sergey Lyubka
b739aa89f1
Update readme
2021-08-09 09:43:21 +01:00
Sergey Lyubka
11c07470bb
Refactor UDP handling
2021-08-07 22:55:13 +01:00
Sergey Lyubka
76865cbe14
Fix STM32 build
2021-08-07 17:52:51 +01:00
Sergey Lyubka
b7ce8213d7
Better multithreading support: remove mg_socketpair, add mg_mkpipe() and mg_rmpipe()
2021-08-07 17:22:47 +01:00
Sergey Lyubka
86f43cd8d6
Refactor mg_socketpair and document MG_ENABLE_NATIVE_SOCKETPAIR
2021-08-06 10:23:08 +01:00
Sergey Lyubka
2407509ce0
More detailed environment questions
2021-08-05 10:49:24 +01:00
Sergey Lyubka
47ce072af7
Fix #1331 - add comment about order of operations in conn_close()
2021-08-05 10:39:24 +01:00
Sergey Lyubka
c2c6ff11ed
Fix #1329 - send MG_EV_WS_OPEN for server connections
2021-08-04 11:38:32 +01:00
Sergey Lyubka
9b18a6350a
Make ws_upgrade() respond with error if request is not and upgrade
2021-08-03 23:37:50 +01:00
Sergey Lyubka
a36050ab4b
Fix #1326 - spelling errors
2021-08-02 00:23:01 +01:00
Sergey Lyubka
568484f079
Fix #920 - add MQTT over Websocket client example
2021-08-01 14:10:21 +01:00
Sergey Lyubka
3ea4f1fda8
Merge pull request #1324 from ignacionr/fix/issue-1323
...
allow for in-url colon, when port is not specified
2021-07-31 22:30:04 +01:00
Sergey Lyubka
5366844581
Fix #1325 - squash gcc 10 warning, and optimise casts
2021-07-31 22:26:43 +01:00
Ignacio Rodriguez
e52a6184c4
test and fix
2021-07-30 12:34:55 -05:00
Sergey Lyubka
b40b1232cc
Enhance packed fs serving
2021-07-30 17:41:23 +01:00
Sergey Lyubka
3a46055e52
Better packed test
2021-07-30 13:19:20 +01:00
Sergey Lyubka
2af5d07467
Fix stm32 GA
2021-07-29 14:28:20 +01:00
Sergey Lyubka
c2176f969b
Implement FS virtualization
2021-07-29 14:21:20 +01:00
Sergey Lyubka
9346122c29
Add FS API layer
2021-07-28 21:11:07 +01:00
Sergey Lyubka
b98556a4dc
Enable mg_fopen_packed on ARM
2021-07-27 09:54:45 +01:00
Sergey Lyubka
55d102e450
Enable mg_fopen_packed in newlib
2021-07-27 09:50:11 +01:00
Sergey Lyubka
dfc22af10f
Run docker non-interactive
2021-07-26 18:18:29 +01:00
Sergey Lyubka
2d585474c1
Add riscv target, enhance arm target
2021-07-26 11:00:37 +01:00
Sergey Lyubka
53ee984eb7
Fix mg_prefix test
2021-07-26 09:26:52 +01:00
Sergey Lyubka
bdb747f9de
Fix mg_prefix test
2021-07-26 09:15:17 +01:00
Sergey Lyubka
299075c930
Add test for fopen_packed()
2021-07-26 09:05:34 +01:00
Sergey Lyubka
b0e0247b21
Add ascii to the packed data
2021-07-25 21:08:02 +01:00
Sergey Lyubka
35abd695cd
Add packed FS
2021-07-25 10:22:56 +01:00
Sergey Lyubka
df2ffd1187
Refactor serve dir even more
2021-07-24 22:00:37 +01:00
Sergey Lyubka
b378082ec4
Refactor mg_http_serve_dir()
2021-07-24 21:48:19 +01:00
Sergey Lyubka
fb4fae9174
Optimise file serving path
2021-07-24 21:23:52 +01:00
Sergey Lyubka
cddff2b1b8
Cleanup on riscv baremetal build
2021-07-24 11:40:52 +01:00
Sergey Lyubka
d6dbf831f7
Remove mg_stat
2021-07-24 10:35:48 +01:00
Sergey Lyubka
7e1d4325ec
Fail examples target if any example fails
2021-07-24 08:45:51 +01:00
Sergey Lyubka
2a2c17a232
Remove MG_ENABLE_STDIO and cleanup
2021-07-24 03:44:00 +01:00
Sergey Lyubka
d130c6f42d
Remove leftovers
2021-07-24 02:44:25 +01:00
Sergey Lyubka
a09238debd
Place config.h before arch*.h
2021-07-23 20:48:48 +01:00
Sergey Lyubka
328a87b02a
Remove mg_file_size()
2021-07-23 20:18:34 +01:00
Sergey Lyubka
529faa1172
MG_ENABLE_FS -> MG_ENABLE_STDIO
2021-07-23 19:47:26 +01:00
Sergey Lyubka
8e5efd4804
7.3 -> 7.4
2021-07-23 12:17:05 +01:00
Sergey Lyubka
32406b678b
Increase sntp test timeout
2021-07-22 23:03:20 +01:00
Sergey Lyubka
55e2077a46
Use mg_fopen only on win32
2021-07-22 22:46:33 +01:00
Sergey Lyubka
a771d6a19d
Add unicode filename
2021-07-22 20:16:50 +01:00
Sergey Lyubka
0d5d7bb26f
Keep directory listing compile-time option
2021-07-21 11:05:27 +01:00
Sergey Lyubka
3808dd3222
Update issue template
2021-07-21 10:31:48 +01:00
Sergey Lyubka
8fc94e12af
Add enable_dirlist to mg_http_serve_opts
2021-07-20 17:22:41 +01:00
Sergey Lyubka
824e33ef8a
Merge pull request #1319 from ignacionr/patch-1
...
The sanitiser pointed out this problem
2021-07-20 16:46:30 +01:00
Sergey Lyubka
655f9a9f79
Add Content-Type header to the SSI files
2021-07-20 11:33:38 +01:00
Ignacio Rodríguez
6ac6aa521c
The sanitiser pointed out this problem
...
And I believe it's right. Other-side-close should be done only for the 'A' (proxy-client-side) connection.
2021-07-20 00:04:05 -05:00
Sergey Lyubka
3982e065c8
Fix #1315 , fix #1317 - use #ifndef instead of #pragma once for compilers that do not support #pragma once
2021-07-19 09:04:18 +01:00
Sergey Lyubka
497b8027f5
Fix #1314 - expose local port for listeners
2021-07-19 08:47:38 +01:00
Sergey Lyubka
89757388c7
Disable SSL v1.1
2021-07-16 12:10:48 +01:00
Sergey Lyubka
77fae5c562
Fix #1298 - shadowing struct mg_str constructor
2021-07-15 02:18:32 +01:00
Sergey Lyubka
80fcba91c8
Fix #1297 - %p warning
2021-07-14 04:00:27 +01:00
Sergey Lyubka
39d64be581
Fix FD_CLOEXEC setting
2021-07-13 22:49:36 +01:00
Sergey Lyubka
2bfd30ab4b
Fix mac test
2021-07-13 20:49:19 +01:00
Sergey Lyubka
60004eb209
Fix mac test
2021-07-13 20:01:46 +01:00
Sergey Lyubka
db11897d71
Fix #1302 - set FD_CLOEXEC on sockets
2021-07-13 19:32:31 +01:00
Sergey Lyubka
5e466f9037
Fix #1294 - add more common mime types
2021-07-13 19:24:46 +01:00
Sergey Lyubka
6b2698a503
Squash warning in mg_random()
2021-07-13 18:07:38 +01:00
Sergey Lyubka
4788db7e00
Fix #1301 - use correct openssl version conditional for SSL_use_certificate_chain_file()
2021-07-13 18:05:57 +01:00
Sergey Lyubka
d9680df510
Support mbedtls 3.x.x
2021-07-13 17:28:07 +01:00
Sergey Lyubka
f20ee1f305
Open HTTP and HTTPS ports
2021-07-13 14:40:52 +01:00
cpq
302bf865f9
Fix #1310 - wrap _CRT_SECURE_NO_WARNINGS into #ifndef
2021-07-13 07:13:06 +01:00
Sergey Lyubka
03929dcdaa
Merge pull request #1306 from SimonNitzsche/patch-1
...
Fixed typo on README
2021-07-13 07:06:30 +01:00
cpq
89af2e9638
Merge branch 'master' of github.com:cesanta/mongoose
2021-07-13 06:58:52 +01:00
cpq
015586950f
Fix #1305 - add #ifdef __cplusplus for C++ linkage
2021-07-13 06:58:34 +01:00
Simon Nitzsche
9df261a0eb
Fixed typo on README
...
Added a dot to "etc" on the README
2021-07-04 17:40:18 +02:00
Sergey Lyubka
a2a3c84450
Merge pull request #1303 from Jasper-Ben/master
...
Makefile: change curly brackets to round brackets
2021-07-02 18:28:53 +01:00
novlean
6611348ebf
added customers references
2021-07-01 15:02:51 +01:00
Jasper Orschulko
e69ee90acf
Makefile: change curly brackets to round brackets
...
Esthetic change which replaces the curly brackets introduced by me in
commit b6ee9e637b with round brackets.
2021-06-30 21:46:58 +02:00
Sergey Lyubka
8f3554d08a
Merge pull request #1295 from Jasper-Ben/add_linux_lib_targets
...
Add static and dynamic lib targets to Makefile
2021-06-21 11:35:43 +01:00
Jasper Orschulko
b6ee9e637b
Makefile: add static and dynamic lib targets
2021-06-21 11:51:42 +02:00
cpq
f46453f80f
Squash warnings
2021-06-10 19:37:03 +01:00
cpq
3deafaea7f
Extend mg_mqtt_{pub,sub} by adding qos and retain
2021-06-10 19:27:19 +01:00
cpq
a15d518571
Add mg_mqtt_pubex
2021-06-10 19:15:50 +01:00
cpq
886a29d659
Fix #1292 - allow requests with missing protocol version, responses with no reason fields
2021-05-29 10:07:05 +01:00
cpq
e69de57def
Optimise mg_iobuf_append()
2021-05-29 09:46:50 +01:00
cpq
9d68e20dcc
Fix #1288 - better mg_iobuf_append allocation strategy
2021-05-29 09:44:07 +01:00
cpq
c0a8546330
Add MG_ARCH_FREERTOS_LWIP
2021-05-28 23:49:26 +01:00
cpq
4c0002e28a
Separate examples job
2021-05-28 19:05:10 +01:00
cpq
7c37d75bf4
Squash even more warnings
2021-05-28 18:57:47 +01:00
cpq
879261981f
Squash more warnings
2021-05-28 18:54:39 +01:00
cpq
838b0bcd27
Squash more warnings
2021-05-28 18:45:35 +01:00
cpq
736b8ad7b7
Fix #1285 - __builtin___snprintf_chk warning. Tighten test flags and refactor the code to squash all warnings
2021-05-28 18:30:42 +01:00
cpq
db27fae40e
Update issue template
2021-05-24 10:18:44 +01:00
cpq
594111a255
Update issue template
2021-05-24 10:16:33 +01:00
cpq
53a46a2739
Change issue template
2021-05-24 09:53:39 +01:00
Sergey Lyubka
eef7a55904
Merge pull request #1290 from lnksz/patch-1
...
Propose an issue template
2021-05-24 09:49:35 +01:00
Kristóf Havasi
a68fa5e6e0
Propose an issue template
...
As it is in the discussion of raised issues to have some extra iteration because of architecture, library version, and other meta information, an issue template could save these extra rounds and possibly reduce the number of duplicates by highlighting where one can check for answers.
This is just a sketch based on what notifications I got from mongoose in the past months. Feel free to change it.
2021-05-23 22:44:16 +02:00
cpq
7c0d126edc
Build with -DMG_ENABLE_FS=1
2021-05-19 08:10:38 +01:00
cpq
1a5e3d3151
Fix #1286
2021-05-19 00:19:21 +01:00
cpq
95ff6c56af
Update readme
2021-05-19 00:15:45 +01:00
cpq
e2ef392633
Update readme
2021-05-19 00:14:27 +01:00
cpq
dbc2356768
FreeRTOS-Plus-TCP fixes
2021-05-19 00:00:32 +01:00
cpq
47e5e984df
stm32f7 example starts on real h/w, with plus-TCP driver
2021-05-17 17:36:57 +01:00
cpq
0f32f50c50
Add missing files
2021-05-13 22:05:00 +01:00
cpq
606cc1f538
Build w/semihosting support
2021-05-13 22:04:29 +01:00
cpq
2bb11888d5
Build w/semihosting support
2021-05-13 22:03:46 +01:00
cpq
09b1d6aa72
Running two blinkers
2021-05-13 15:05:09 +01:00
cpq
72f0489ec2
Using nucleo-f746zg. Moved 3party libs to test/. Using headers from ST
2021-05-13 14:56:14 +01:00
cpq
7b39973065
docs
2021-05-12 11:44:15 +01:00
cpq
30b64483fd
docs
2021-05-12 11:39:46 +01:00
cpq
5369fb0376
Remove low-level lwip stubs
2021-05-12 11:06:19 +01:00
cpq
5fe34fd6c3
Remove MG_ENABLE_MGOS
2021-05-12 11:05:05 +01:00
Sergey Lyubka
0fbdda4d2e
Merge pull request #1284 from cesanta/stm32
...
Stm32
2021-05-12 10:28:43 +01:00
cpq
a98e980c8f
Nits to have tests pass
2021-05-12 09:25:21 +01:00
cpq
2b836504ab
rename
2021-05-12 08:44:16 +01:00
cpq
0de3f0d985
f1 build works
2021-05-12 08:43:34 +01:00
cpq
151e375091
FreeRTOS w/blink works
2021-05-11 20:44:14 +01:00
cpq
c44549bfa5
Blinky works
2021-05-11 18:05:03 +01:00
cpq
d6852f5e74
First stab
2021-05-11 09:12:06 +01:00
novlean
9173034b96
Update README.md
2021-05-04 17:03:53 +01:00
novlean
2888ab1f52
Merge pull request #1277 from cesanta/novlean-patch-1
...
more typos + some fixes
2021-05-04 17:02:55 +01:00
novlean
26b5416641
more typos + some fixes
2021-05-04 17:02:46 +01:00
novlean
8bcac7e955
Merge pull request #1276 from cesanta/novlean-patch-1
...
fixed typo + added few things
2021-05-04 16:54:28 +01:00
novlean
ea25e8129c
fixed typo + added few things
2021-05-04 16:54:16 +01:00
cpq
26cb44f9d9
Typo in readme
2021-05-04 13:55:45 +01:00
cpq
7a37a44433
Update README
2021-05-04 13:53:17 +01:00
cpq
a752f3f8c7
Update README
2021-05-04 13:46:44 +01:00
Sergey Lyubka
946e07644c
Merge pull request #1275 from panosto/master
...
Corrected small typo in docs
2021-04-29 19:26:46 +01:00
Panagiotis
497b26a249
Corrected small typo in docs
2021-04-29 18:16:33 +02:00
cpq
79aad7fabf
Put Range support back
2021-04-29 11:00:57 +01:00
cpq
7851930ac3
Fix #1256
2021-04-29 09:50:33 +01:00
cpq
758572872d
Fix #1255
2021-04-29 09:26:37 +01:00
cpq
111551477a
Integrate #1266
2021-04-29 09:17:24 +01:00
cpq
31c9e3fb7e
Make mg_random() weak, see #1269
2021-04-29 09:09:21 +01:00
cpq
7061b7202f
Integrate 1265
2021-04-29 08:49:23 +01:00
novlean
d88b6a3c95
Update README.md
2021-04-28 17:07:39 +01:00
novlean
cea2a62ee0
Added Schneider Electric case study & testimonial
2021-04-28 17:06:27 +01:00
cpq
35a8b8e8e8
TLS nits, more DNS logging
2021-04-22 15:21:16 +01:00
cpq
1b8624f135
Better log trace
2021-04-13 21:02:05 +01:00
cpq
e217066bf6
Squash warning
2021-04-13 19:42:47 +01:00
cpq
5430408218
Merge branch 'master' of github.com:cesanta/mongoose
2021-04-09 16:55:16 +01:00
cpq
d2744063a0
Remove unused MG_SWAPxx macros
2021-04-09 16:55:12 +01:00
Sergey Lyubka
03356616ef
Merge pull request #1259 from mcottrell1/fix-msvc-compile-errors
...
fixed msvc errors around VLAs when using TLS
2021-04-09 16:54:23 +01:00
Mark Cottrell
6ce2e48dd3
fixed msvc errors around VLAs
2021-04-09 08:11:16 -07:00
novlean
16a7ba6bf0
Added 4 new sections
...
Why Mongoose
Used to implement
Case Studies
Testimonials
2021-03-25 17:50:56 +00:00
cpq
e9d122f231
Stricter checks for mg_url_*()
2021-03-24 15:49:35 +00:00
cpq
0ae5c61759
More comments
2021-03-23 14:02:24 +00:00
cpq
691460c5fc
Add linux target to http-server example
2021-03-22 11:30:48 +00:00
cpq
ab1c924388
Better check in mg_iobuf_resize()
2021-03-22 11:30:29 +00:00
cpq
05050eba38
Squash warning in mg_random
2021-03-22 11:29:59 +00:00
cpq
912dd518bf
Tests for mg_to64()
2021-03-21 16:18:44 +00:00
cpq
e0395a9907
Merge branch 'master' of github.com:cesanta/mongoose
2021-03-21 16:14:56 +00:00
cpq
0051f23e12
Even stricted check in mg_to64()
2021-03-21 16:14:44 +00:00
novlean
a9bb8fa9fc
Update README.md
2021-03-19 14:02:23 +00:00
novlean
09f5d2fdae
Merge pull request #1247 from cesanta/novlean-patch-1
...
added video call offer
2021-03-19 14:01:45 +00:00
novlean
006a9d914c
added video call offer
2021-03-19 14:01:30 +00:00
cpq
9009cbc528
Adjust recv.len after stripping chunked body
2021-03-19 13:13:24 +00:00
cpq
a1862986b8
Better docstring for file upload example
2021-03-18 12:23:03 +00:00
cpq
cc2989a848
Merge branch 'master' of github.com:cesanta/mongoose
2021-03-18 12:01:32 +00:00
cpq
4deb95776f
Remove multipart example code
2021-03-18 11:59:23 +00:00
Sergey Lyubka
f195b27884
Merge pull request #1245 from panosto/mbedtls_parse_crt_and_key_from_buffer
...
mbedtls parse cert and key from buffer
2021-03-18 08:51:04 +00:00
panosto
5036a71334
mbedtls parse cert and key from buffer
2021-03-17 15:23:45 +01:00
cpq
531c47b47c
mg_to64 overflow protection
2021-03-17 13:46:50 +00:00
cpq
4dbb2da78f
Add form-upload example
2021-03-17 13:28:36 +00:00
cpq
41c1e0f08d
Squash truncation warning
2021-03-17 12:22:19 +00:00
cpq
e7b1905e49
Add -Wno-error=format-truncation for test++ build
2021-03-17 12:15:46 +00:00
cpq
e00265f855
Add -Wno-error=format-truncation for linux++ build
2021-03-17 12:11:05 +00:00
cpq
cd36708b6d
Fix tests
2021-03-17 07:46:39 +00:00
cpq
5bd22cb5e4
Add mg_http_next_multipart()
2021-03-17 07:43:29 +00:00
cpq
bc00d5159a
Add mg_http_next_part
2021-03-15 13:20:53 +00:00
cpq
bcb0874477
Add file upload code example
2021-03-15 09:36:27 +00:00
cpq
5326e8d212
Update docs
2021-03-15 09:18:02 +00:00
cpq
4528cc28ef
Add sizep param to mg_file_read()
2021-03-15 09:16:34 +00:00
cpq
381d7cce54
Do not call setsockopts() on a listening connection
2021-03-13 12:36:00 +00:00
cpq
2594e7b37a
Stricter MG_ARCH_CUSTOM and type conversions in sock.c
2021-03-13 12:34:26 +00:00
Sergey Lyubka
4356b953ca
Merge pull request #1238 from cesanta/novlean-patch-1
...
Fixed typos
2021-03-11 13:16:06 +00:00
cpq
e788853156
Fix typos
2021-03-11 13:15:53 +00:00
novlean
91ed6de166
Fixed typos
2021-03-11 13:01:45 +00:00
novlean
cf3aafc32e
added .
2021-03-11 10:16:17 +00:00
cpq
c2d7ff8179
Update readme
2021-03-10 13:44:32 +00:00
cpq
e5eaa1c633
Update readme
2021-03-10 13:42:46 +00:00
cpq
6366c832b0
Add struct mg_http_serve_opts::extra_headers
2021-03-10 07:56:14 +00:00
cpq
f326cbedbe
Fix doc example
2021-03-09 17:44:15 +00:00
cpq
5b272c2b5c
Bump HEAD to 7.3
2021-03-09 11:38:37 +00:00
cpq
452bcc68a4
Add mg_mqtt_next_unsub() signature
2021-03-09 11:29:53 +00:00
cpq
829827d46f
Add mg_mqtt_next_unsub
2021-03-09 09:54:02 +00:00
cpq
ff9d0e462e
Tiny refactor in walkchunks()
2021-03-09 08:22:52 +00:00
cpq
e84ea91a4a
Process chunked body before sending MG_EV_HTTP_MSG
2021-03-09 08:21:29 +00:00
cpq
2dcb10ef36
Less verbose test
2021-03-08 15:45:09 +00:00
cpq
99fa7f0851
2020 -> 2021
2021-03-08 15:44:57 +00:00
cpq
1b5cc341a5
Add streaming client support, MG_EV_HTTP_CHUNK
2021-03-08 15:41:16 +00:00
cpq
d50dc288cd
Add mg_crc32
2021-03-08 15:40:39 +00:00
cpq
060bb29cdc
Restore mg_mqtt_{ping,pong,disconnect}
2021-03-07 12:21:59 +00:00
cpq
366426e8bb
Avoid extra allocation for static HTTP handling
2021-03-07 11:56:20 +00:00
cpq
e710df4c80
Define WEAK to nothing on Cygwin
2021-03-04 14:25:50 +00:00
cpq
79e5841483
Fix QNX build
2021-03-04 11:09:57 +00:00
cpq
374ab4ecf0
Add struct mg_mgr::userdata
2021-02-28 16:40:27 +00:00
cpq
56980be48c
Do not reveal full root dir path
2021-02-17 16:07:18 +00:00
cpq
602c5c0866
Refactor mg_url_encode
2021-02-15 14:42:55 +00:00
cpq
7ce5009de1
Remove reduntant code
2021-02-15 14:42:22 +00:00
cpq
51e3a1304b
Fix TLS build
2021-02-13 10:45:27 +00:00
cpq
d5a1d5a5e8
Stricter realpath checks
2021-02-11 15:03:22 +00:00
cpq
ae5f6c0920
Increase conn label size 32 -> 50
2021-02-10 11:09:13 +00:00
cpq
0a9303bb07
Stricter mg_http_parse()
2021-02-09 21:16:33 +00:00
cpq
42bc7b1f47
Add "struct mg_http_message::head" attr
2021-02-09 13:27:17 +00:00
cpq
4844ed60bd
Remove fflush in logging
2021-02-09 00:16:13 +00:00
cpq
41f5daeb47
Fix mg_random
2021-02-08 19:43:01 +00:00
cpq
a3f8f33d50
Allow mbedtls CA being inline PEM
2021-02-08 17:50:00 +00:00
cpq
fd8db5c53a
Better unicode handling on win32
2021-02-07 22:43:49 +00:00
cpq
a2f027e798
Change mws binary link
2021-02-07 14:51:37 +00:00
novlean
dad5c8fe87
Update README.md
2021-02-05 16:56:06 +00:00
novlean
98783a41ba
Update README.md
2021-02-05 16:55:26 +00:00
cpq
1517d2985a
Update README
2021-02-04 10:40:33 +00:00
Sergey Lyubka
acc0564957
Merge pull request #1213 from csimons/drainig
...
README.md: fix typo: is_drainig -> is_draining
2021-02-03 08:30:55 +00:00
Christopher Simons
421bc126b5
README.md: fix typo: is_drainig -> is_draining
2021-02-02 22:17:15 -05:00
cpq
ed1a98c381
Remove debug logs
2021-02-03 02:19:17 +00:00
cpq
457d76b049
Fix #1211 - adjust ESP32 example to serve FS
2021-02-03 02:13:05 +00:00
cpq
6827972f71
Fix #1210 - on win32, open upload file in binary mode
2021-02-02 08:43:56 +00:00
cpq
7eb998891e
Show served dir in the start message
2021-02-01 00:02:33 +00:00
cpq
582fde5c6e
Fix #1209
2021-01-31 19:54:42 +00:00
cpq
d327ee9834
Improve SNI
2021-01-30 13:03:11 +00:00
cpq
31cf6f8969
https://localhost -> http://0.0.0.0
2021-01-29 13:18:34 +00:00
cpq
86b1053678
Add error check for iobuf allocation
2021-01-29 12:32:34 +00:00
cpq
6678e36278
Use openssl/ssl.h
2021-01-28 08:45:24 +00:00
cpq
5118355732
Use 64bit file ops even on 32bit systems
2021-01-26 17:43:31 +00:00
cpq
5b4b7f7dc5
Fix test
2021-01-26 17:01:43 +00:00
cpq
7614a8101f
Wrap util funcs that use FILE into MG_ENABLE_FS
2021-01-26 16:34:42 +00:00
cpq
3c851bcfc3
mg_file_write -> mg_file_printf
2021-01-26 16:30:44 +00:00
cpq
01691dafa0
Released 7.1, move HEAD to 7.2
2021-01-26 13:07:42 +00:00
cpq
8e52075636
Handle calloc failures
2021-01-26 12:16:58 +00:00
cpq
7200f079bf
Remove dead code
2021-01-25 14:43:56 +00:00
cpq
d155db81de
Add socks5 server example
2021-01-25 14:43:08 +00:00
Sergey Lyubka
25e3bbf039
Merge pull request #1200 from Davonter/master
...
Fix README.md mg_mgr_free
2021-01-25 10:37:35 +00:00
cpq
eecf3d854b
Show accepted IPv6 peer corrently
2021-01-25 10:35:45 +00:00
cpq
7c2499fc06
-D -> -v
2021-01-25 10:35:14 +00:00
cpq
1aa605c620
desktop-server -> http-server
2021-01-25 10:09:48 +00:00
cpq
66287ad6c1
TLS nits 2
2021-01-25 10:08:15 +00:00
cpq
9a19485454
TLS nits
2021-01-24 13:57:40 +00:00
cpq
7d67d578fd
TLS krypton compat
2021-01-23 17:47:51 +00:00
wangtun
960d3c7880
Fix README.md mg_mgr_free
2021-01-23 15:49:55 +08:00
cpq
9eabf3fa81
URL decoding URI
2021-01-21 17:14:08 +00:00
cpq
89beadd2ce
Squash warning in unit test
2021-01-21 10:24:49 +00:00
cpq
6ecb6c1500
Fix DNS timeout, add unit test
2021-01-21 10:00:18 +00:00
cpq
51bc5f70c5
Disable native socketpair by default, fix multithreaded win32 example
2021-01-21 09:12:49 +00:00
cpq
be62ac9c14
Add more docs
2021-01-20 11:28:47 +00:00
cpq
161c34384d
Enable SO_EXCLUSIVEADDRUSE on Win32. Better listdir response.
2021-01-20 11:10:02 +00:00
cpq
89784ab90a
Restore to a simple version
2021-01-19 14:21:50 +00:00
cpq
d83e547fa9
Make mg_url_port() return 80 for ws://
2021-01-18 18:39:22 +00:00
Sergey Lyubka
30d86928d5
Merge pull request #1191 from RiccardoDalFiume/master
...
FIX README mg_http_serve*
2021-01-17 11:18:32 +00:00
cpq
12c32d09fb
Pass mg_http_message to MG_EV_WS_OPEN
2021-01-17 11:16:19 +00:00
cpq
ae6fd6aa35
Add extra headers param to mg_ws_upgrade()
2021-01-16 22:48:43 +00:00
cpq
72d3a49352
Restore SO_EXCLUSIVEADDRUSE
2021-01-13 03:47:11 +00:00
cpq
87b62390b7
No static for linux
2021-01-13 03:10:42 +00:00
cpq
6c93446a1f
Better reuseaddr handling on Win32
2021-01-13 03:08:11 +00:00
cpq
83c106a857
UI for Win32
2021-01-13 03:07:51 +00:00
cpq
facb2846fd
Bump version
2021-01-13 03:07:38 +00:00
cpq
596c70d3dc
Add config file processing
2021-01-12 15:18:19 +00:00
Riccardo Dal Fiume
7beff0201d
FIX README mg_http_serve*
2021-01-12 11:28:41 +01:00
cpq
a4c9d1ecb7
Update mg_http_serve_file() doc
2021-01-07 16:21:01 +00:00
cpq
b7a79a556a
Add extra headers param to mg_http_serve_file
2021-01-07 12:48:20 +00:00
cpq
03ab9e4e0d
Update axios
2021-01-06 17:11:53 +00:00
cpq
7e855f5c8f
Add oss-fuzz badge
2021-01-05 18:10:01 +00:00
Sergey Lyubka
9e510d5831
Merge pull request #1185 from hakabahitoyo/master
...
Suppress error: cast from ‘void*’ to ‘int’ loses precision [-fpermissive] in MG_ENABLE_OPENSSL build.
2021-01-05 11:46:49 +00:00
Hakaba Hitoyo
1689a0d56b
Update mongoose.c.
2021-01-05 12:35:28 +09:00
cpq
9ff774e7df
Trigger test on pull requests
2021-01-04 12:02:55 +00:00
Hakaba Hitoyo
c78ad0b574
Supress error: cast from ‘void*’ to ‘int’ loses precision [-fpermissive]
2021-01-04 16:25:06 +09:00
cpq
117aeaa15d
Fix fd leak for cached static files
2021-01-03 09:39:46 +00:00
cpq
e135743efa
Fix example build
2021-01-03 08:55:00 +00:00
cpq
2c1324dc0a
Remove -r option
2021-01-03 08:43:56 +00:00
cpq
c7e09bd7b4
Add SSI include file=, include virtual=
2021-01-02 17:57:51 +00:00
cpq
86824795a0
Pass opts structure to mg_http_serve_dir()
2021-01-02 12:30:09 +00:00
cpq
1b0636c2d2
More checks in mg_ws_send
2021-01-02 12:20:08 +00:00
cpq
2f9d2bbdf6
Update readme
2020-12-29 18:15:06 +00:00
cpq
21a1b2c15c
Update readme
2020-12-29 17:59:05 +00:00
cpq
bdef3d6afd
Fix win98 test
2020-12-28 06:32:55 +00:00
cpq
a882aab30e
Add captive dns server example
2020-12-28 05:25:29 +00:00
cpq
788b577d65
Add README
2020-12-27 01:32:58 +00:00
cpq
71a22adc06
Add ESP8266 example
2020-12-27 01:29:42 +00:00
cpq
7d1ef2ffe8
Add mingw tests to actions
2020-12-25 19:28:05 +00:00
cpq
55f5f74658
Add mingw gcc and g++ tests
2020-12-25 19:24:51 +00:00
cpq
e1fd82bc46
Remove unused code
2020-12-25 15:04:43 +00:00
cpq
49b8480bfb
Add http-reverse-proxy example
2020-12-25 04:32:56 +00:00
cpq
b2ab484883
Fix #954
2020-12-24 19:10:54 +00:00
cpq
4c3b97be7d
Squash -DMG_ENABLE_FS=0 build warning
2020-12-24 18:48:28 +00:00
cpq
60e1b64455
Fix https://github.com/cesanta/mongoose/issues/1030
2020-12-24 17:01:49 +00:00
cpq
6bcd02bb1c
Enhance HTTP client example
2020-12-24 16:52:58 +00:00
cpq
66f302a613
Make DNS debug log less verbose
2020-12-24 16:52:33 +00:00
cpq
1716af6c72
Add HTTP client code
2020-12-24 16:52:12 +00:00
cpq
749326c83a
Add more mg_http_parse unit tests
2020-12-24 14:33:23 +00:00
cpq
9657577c00
Fix typo in fuzz test
2020-12-24 09:09:25 +00:00
cpq
9f5216d259
Add more fuzz tests
2020-12-24 09:07:55 +00:00
cpq
c8826e8f9c
Refactor mg_ntoa and mg_straddr
2020-12-24 08:05:54 +00:00
cpq
25bc13ef1e
Squash some warnings under mingw crosscompiler
2020-12-24 07:26:50 +00:00
cpq
4d123a15f9
Drop deprecated register keyword
2020-12-23 21:20:48 +00:00
cpq
2cf1b09767
Workaround for WIN32 C++ snprintf/vsnprintf/strdup calls
2020-12-23 21:05:46 +00:00
cpq
abfd81cb9d
Fix WS frame length encoding for len 0xffff
2020-12-23 16:18:49 +00:00
cpq
3895678bee
Use MG_EV_WS_CTL for WS control messages
2020-12-23 11:58:08 +00:00
cpq
e0a1feafe0
Fix localhost resolution
2020-12-23 10:15:09 +00:00
cpq
c75eb24eb8
Add proxy client example
2020-12-22 21:01:14 +00:00
cpq
c3aae185df
Add ipv6 server test
2020-12-22 10:16:31 +00:00
cpq
2e87783246
Add IPv6 client test
2020-12-22 09:44:59 +00:00
cpq
fbab767b9f
Fix mg_prefix job
2020-12-21 12:39:03 +00:00
cpq
7bc38b5eaa
Add examples build, fix prefix build
2020-12-21 12:33:27 +00:00
cpq
b93456f512
Do not create socket until resolved
2020-12-21 12:26:44 +00:00
cpq
ddb700eee5
Fix openssl build
2020-12-20 21:50:46 +00:00
cpq
1052ee0766
Fix openssl build, and add openssl test
2020-12-20 21:45:58 +00:00
cpq
29534218d7
IPv6 related refactoring
2020-12-20 16:55:33 +00:00
cpq
d7abd53062
Always send MG_EV_CONNECT on TCP connect
2020-12-18 15:13:19 +00:00
cpq
aede72fa37
Refactor HTTP client
2020-12-18 14:29:30 +00:00
cpq
b0a5165b44
Uload coverage
2020-12-18 11:47:56 +00:00
cpq
4919f792f2
Make build badge a link
2020-12-18 11:32:59 +00:00
cpq
d5927f5d50
Remove travis - migrated to Github Actions
2020-12-18 11:31:31 +00:00
cpq
e68330e045
Rename workflow
2020-12-18 11:26:17 +00:00
cpq
b5d5b3763f
Add workflow badge
2020-12-18 11:24:36 +00:00
cpq
b6a6687c1e
Rename workflow
2020-12-18 11:24:06 +00:00
cpq
3843b670a5
Fix typo
2020-12-18 11:14:21 +00:00
cpq
249efdd378
Add windows test
2020-12-18 11:12:08 +00:00
cpq
18ce1669fc
Add mac test
2020-12-18 11:09:03 +00:00
cpq
e8d3b8030e
Install mbedtls
2020-12-18 10:56:35 +00:00
Sergey Lyubka
a752abf318
Create test.yml
2020-12-18 10:41:27 +00:00
cpq
d3ebcaf5d2
Remove unneeded defines that break vc2015 build
2020-12-18 09:48:28 +00:00
cpq
0abb8322d9
Disable noisy debug
2020-12-18 09:48:05 +00:00
cpq
99ed58ec4d
Better docstrings
2020-12-18 09:08:28 +00:00
cpq
04450ec659
Update http server example to showcase SSL
2020-12-18 09:01:14 +00:00
cpq
82a378e519
Add extra param to http_reply()
2020-12-17 22:47:55 +00:00
cpq
29d31ba919
More boundary checks for mg_dns_parse()
2020-12-17 19:14:17 +00:00
cpq
4519ea568d
Add conditional for SSL_use_certificate_chain_file()
2020-12-17 12:12:46 +00:00
cpq
9f88f31f01
Add timer example
2020-12-17 11:44:30 +00:00
cpq
4bdea2b467
Add README to the esp32 example
2020-12-17 11:24:28 +00:00
cpq
2252a74cd7
Note on UDP
2020-12-17 11:19:13 +00:00
cpq
d1fa7b88e0
Disable brew update
2020-12-16 14:05:36 +00:00
cpq
9ecf42578c
Fix screenshot link
2020-12-16 10:54:47 +00:00
cpq
754fc25924
Add description & screenshots
2020-12-16 10:54:09 +00:00
cpq
d9551c75b1
Refactor MQTT parsing
2020-12-16 10:14:00 +00:00
cpq
8d45cf6972
Add mqtt-server example
2020-12-15 20:29:47 +00:00
cpq
f176e1ae59
Handle more mime types
2020-12-15 11:58:30 +00:00
cpq
fa8f62fb5d
Squash warnings under linux
2020-12-14 14:05:01 +00:00
cpq
0c142f20d7
Using linux for docker tests
2020-12-14 13:09:56 +00:00
cpq
b641fc6b79
Add esp32 example
2020-12-14 12:58:27 +00:00
cpq
1252a61479
More docs
2020-12-14 09:36:46 +00:00
cpq
5f631c0b96
More docs
2020-12-14 09:35:03 +00:00
cpq
348c579521
Add dns test case
2020-12-14 09:31:23 +00:00
cpq
7ce9cdf0b9
More docs
2020-12-14 09:31:03 +00:00
cpq
09beadb98a
Fix c++ fuzzer build
2020-12-13 16:56:30 +00:00
cpq
5b265a76bd
Add minor case to fuzzer
2020-12-13 16:33:46 +00:00
cpq
c5a4a1c6f2
Remove debug leftover
2020-12-13 00:37:04 +00:00
cpq
88ada54045
More tests
2020-12-12 20:38:09 +00:00
cpq
c5b1c08d05
Use MSG_NONBLOCKING for recv/send
2020-12-12 16:48:47 +00:00
cpq
a0765ade6b
Use -DMG_ENABLE_LINES for fuzzer build
2020-12-12 14:23:28 +00:00
cpq
54250f5fbf
Rename, use hyphen
2020-12-12 10:22:45 +00:00
cpq
f3f397f31e
Add MQTT client example
2020-12-12 10:03:19 +00:00
cpq
d806ed5d5f
Better coverage
2020-12-11 22:58:50 +00:00
cpq
37e9a2ee95
Fix C++ build error
2020-12-11 18:26:54 +00:00
cpq
7ad6a08002
Fix C++ build error
2020-12-11 18:21:29 +00:00
cpq
90686ee5c9
Add ws examples
2020-12-11 17:35:58 +00:00
cpq
85c5577955
mg_dns_parse_name() recursion protection
2020-12-11 14:02:52 +00:00
cpq
30d4a1ad0f
Fix mg_sntp_parse()
2020-12-11 13:16:51 +00:00
cpq
1b551741b8
Fix mg_url_decode fuzz
2020-12-11 09:35:50 +00:00
cpq
369f44adfa
Add version.h
2020-12-10 17:46:26 +00:00
cpq
763f4551d5
More log messages
2020-12-10 17:42:59 +00:00
cpq
42d7865e14
Pre-built desktop server
2020-12-10 17:39:40 +00:00
cpq
cf62702f08
Switch to hivemq
2020-12-10 16:36:24 +00:00
cpq
14ccd78782
Update README
2020-12-10 14:21:38 +00:00
cpq
6c4b5efd98
Add restful and client example
2020-12-10 13:26:05 +00:00
cpq
05a43c563c
Update READMEs
2020-12-08 16:53:35 +00:00
cpq
94d2e86b60
More docs
2020-12-08 16:26:17 +00:00
cpq
d1b8f9e01f
Fuzz-test mg_http_var and base64
2020-12-07 18:52:40 +00:00
cpq
228acefa36
Fix native socketpair call
2020-12-07 10:55:50 +00:00
cpq
d1d8a77bf6
Use socketpair syscall when available
2020-12-07 10:25:28 +00:00
cpq
7ea3293aba
More tests
2020-12-07 08:54:58 +00:00
cpq
082a498afd
Fix badges
2020-12-07 08:08:21 +00:00
cpq
866c987409
Tuning test
2020-12-07 05:46:47 +00:00
cpq
1d0e65d17a
Tuning test
2020-12-07 05:39:07 +00:00
cpq
136a37ef73
Tuning test
2020-12-07 05:18:07 +00:00
cpq
0ce49b5c71
Tuning test
2020-12-07 05:08:21 +00:00
cpq
490ad3834b
Tuning test
2020-12-07 05:00:27 +00:00
cpq
bcc62c96c8
Tuning test
2020-12-07 04:56:50 +00:00
cpq
15d6cb3065
Tuning test
2020-12-07 04:44:23 +00:00
cpq
a490660b38
Tuning test
2020-12-07 04:19:26 +00:00
cpq
72019b7427
Tuning test
2020-12-07 04:18:29 +00:00
cpq
21c0024a2f
Tuning test
2020-12-07 03:59:42 +00:00
cpq
d7a02d13e4
Add test++ linx++
2020-12-07 03:47:37 +00:00
cpq
cb220837b9
Tuning test
2020-12-07 01:27:44 +00:00
cpq
ddaae51d42
Tuning test
2020-12-07 01:12:21 +00:00
cpq
629e55f97d
Tuning test
2020-12-07 01:00:35 +00:00
cpq
909ebad276
Install deps
2020-12-06 23:32:15 +00:00
cpq
cb7743fa39
Move tests -> test
2020-12-06 23:19:56 +00:00
cpq
6197842bca
Merge branch '7.0'
2020-12-06 22:52:11 +00:00
cpq
77d461dcbf
Remove travis build
2020-12-06 22:51:32 +00:00
cpq
47b6060910
Add docs
2020-12-06 21:12:05 +00:00
cpq
47d3fe5af6
Add travis build
2020-12-05 11:58:32 +00:00
cpq
6691a2fdad
Add badges
2020-12-05 11:46:12 +00:00
cpq
746f56f42a
README update
2020-12-05 11:41:23 +00:00
cpq
87de05881c
Add travis build
2020-12-05 11:34:58 +00:00
cpq
f2fba1d200
7.0 refactor
2020-12-05 11:26:32 +00:00
Sergey Lyubka
34d4fb8cf0
Merge pull request #1157 from rojer/qq
...
Add mg_next_query_string_entry_n() and mg_url_decode_n()
2020-10-26 13:25:31 +00:00
Deomid Ryabkov
be64f81eee
Add mg_next_query_string_entry_n() and mg_url_decode_n()
...
Move to mg_util.h so encode and decode are next ot each other.
Pull out mg_next_list_entry_n() for advanced use cases.
Add unit tests.
2020-10-24 22:53:50 +01:00
Sergey Lyubka
9fe1c93c9b
Merge pull request #1143 from rojer/cs_log_lock
...
Add cs_log_{lock,unlock}
2020-08-28 20:46:37 +01:00
Deomid Ryabkov
a4b6d58b24
Add cs_log_{lock,unlock}
...
In implementatiosn that have preemptive scheduelrs these can be implemented
to ensure logging from different threads is properly serialized.
2020-08-28 20:29:13 +01:00
Sergey Lyubka
86f391c701
Merge pull request #1139 from rojer/warns
...
Fix warnings and sync line numbers of unamalgamated sources
2020-08-20 00:45:02 +01:00
Sergey Lyubka
36de38bd11
Merge pull request #1138 from rojer/1135
...
Add missing range check in mg_get_http_header()
2020-08-20 00:44:36 +01:00
Deomid Ryabkov
a308872c88
Fix warnings and sync line numbers of unamalgamated sources
2020-08-19 22:02:50 +01:00
Deomid Ryabkov
a369160296
Add missing range check in mg_get_http_header()
...
h/t BushraAloraini
Fixes https://github.com/cesanta/mongoose/issues/1135
2020-08-19 21:48:45 +01:00
Sergey Lyubka
0a09b46c94
Merge pull request #1128 from rojer/amalgam
...
Sync src with amalgamated versions
2020-07-12 15:32:42 +01:00
Deomid Ryabkov
b0a1cd7b0d
Sync src with amalgamated versions
...
Now src contains exactly what's embedded in mongoose.c and .h, nothing more.
Added `tools/amalgam.sh` to aamlgamate both files at once.
There are no functional changes to mongoose.c, .h in this PR, only slight filename changes.
2020-07-08 02:08:49 +01:00
novlean
73a2b92278
Merge pull request #1124 from cesanta/novlean-patch-1
...
added MWS white paper
2020-06-24 17:08:49 +01:00
novlean
c3bb5bd89e
added MWS white paper
...
Download “9 Things NOT to do when embedding a web server” white paper.
2020-06-24 17:08:35 +01:00
Sergey Lyubka
d22ff2fce7
Really revert 4880069
2020-06-11 19:08:55 +01:00
Sergey Lyubka
fee2980d95
Merge branch 'master' of github.com:cesanta/mongoose
2020-06-11 19:04:45 +01:00
Sergey Lyubka
d6693ed360
Revert 4880069
2020-06-11 19:04:24 +01:00
Sergey Lyubka
4880069775
Fix #1112
2020-06-11 18:38:42 +01:00
Sergey Lyubka
5d217a1262
Merge branch 'dev' of github.com:cesanta/mongoose into dev
2020-06-11 18:29:58 +01:00
Sergey Lyubka
f778d22eac
Make it possible to override default FS update algorithm
...
PUBLISHED_FROM=774a111548da97bd9d195e177b5fb66b0fd66135
2020-06-11 18:27:48 +01:00
Sergey Lyubka
3aa76dcaec
Subst CREDPARAMS
...
PUBLISHED_FROM=545e8dff4ea0bef061c893252c613e3429f56184
2020-06-11 18:27:46 +01:00
Deomid "rojer" Ryabkov
4680573a6b
Fixes for -pedantic build mode
...
PUBLISHED_FROM=d0a15356cf047e579c74869ce3e8fe813752e8c7
2020-05-23 15:55:27 +00:00
Deomid "rojer" Ryabkov
95fcb261eb
Fix processing of keep-alive requests when chunks are consumed
...
PUBLISHED_FROM=136ce2ed4f143d7ee246e5fd1078c431e205bb3a
2020-05-22 23:07:38 +00:00
Sergey Lyubka
5867c67da2
Allow OpenSSL session reuse on 2-way SSL, integrate https://github.com/cesanta/mongoose/pull/877
...
PUBLISHED_FROM=6e2568b963869d062dd51b590f8e536d043c4ca2
2020-05-22 18:56:31 +00:00
Sergey Lyubka
80d74e9e34
Merge branch 'dev'
2020-05-21 16:45:34 +01:00
Sergey Lyubka
43a0b500f5
6.17 -> 6.18
...
PUBLISHED_FROM=7893a216b1f7e86e845122eb425e4fed271244b4
2020-05-21 16:42:09 +01:00
Sergey Lyubka
3d53ed17fb
Allow OpenSSL session reuse on 2-way SSL, integrate https://github.com/cesanta/mongoose/pull/877
...
PUBLISHED_FROM=6e2568b963869d062dd51b590f8e536d043c4ca2
2020-05-21 16:17:14 +01:00
Sergey Lyubka
4ea452307e
Update certs used for SSL test
...
PUBLISHED_FROM=2236ecf7fe06bdaf9a89e697b83ff69e1f8c805c
2020-05-21 16:17:12 +01:00
Deomid "rojer" Ryabkov
e61f20f1ed
Convert amalgam.py to Python 3
...
No mongoose.{c,h} diffs
PUBLISHED_FROM=a995a6d6548a914087969e28908f4e8c9ef1d379
2020-05-09 10:48:41 +00:00
Sergey Lyubka
ca11f5ab49
Fix OpenSSL error issue
...
PUBLISHED_FROM=a3bcdb68f48a4de4a4f55b4399792fdd5211c88d
2020-05-02 11:19:29 +00:00
Sergey Lyubka
000d24d31a
Add http proxy client example
...
PUBLISHED_FROM=443a0d3db63df1b78555a9fa4eff808bef3a9a01
2020-03-25 16:32:49 +00:00
Sergey Lyubka
ef92f2e9c5
Integrate cesanta/dev#1062 - Fix dereferencing in mg_http_free_proto_data_endpoints
...
PUBLISHED_FROM=47fd1a4de07d2c53c994d29c88ac1d3a7f61c1a0
2020-02-21 14:30:21 +00:00
Sergey Lyubka
4e89eac8dd
Integrate cesanta/dev#1074 - Fix typedef bool for MSC
...
PUBLISHED_FROM=f52fe15edd617d9f1ba2aa4051c116e79671554d
2020-02-21 14:24:50 +00:00
Sergey Lyubka
b015e33ea5
Integrate https://github.com/cesanta/mongoose/pull/1096 - dir listing nits
...
PUBLISHED_FROM=a343bd61f98cbcc0f8cab02a62b912e494c27601
2020-02-14 08:30:56 +00:00
Sergey Lyubka
96e762d4a1
Change contributions section
...
PUBLISHED_FROM=676548efdb09989c300693a81dd592fe1cd987b0
2020-02-14 08:30:54 +00:00
Sergey Lyubka
359060a151
mongoose.h 6.17
2020-02-11 12:11:10 +00:00
Sergey Lyubka
af1aff7fbb
mongoose.h 6.17
2020-02-11 12:10:13 +00:00
Sergey Lyubka
517ef216c1
6.16 -> 6.17
...
PUBLISHED_FROM=c0cbd13faf84fdac1f4566be02b596a232b68713
2020-02-11 11:54:54 +00:00
Sergey Lyubka
734c13cdf5
Squash win32 warnings
...
PUBLISHED_FROM=3819e74efb9ac8ff84a68105107afcacaeeab92a
2020-02-11 11:52:07 +00:00
Deomid "rojer" Ryabkov
1bf3ad2426
MQTT ping fixes
...
* Actually drop the connection when no response to ping arrives within the next interval.
* Avoid sending immediate ping when wall time is adjusted, it's usually spurious.
PUBLISHED_FROM=8049280b58edfb94dd0fcb6a1e89ffefe69bcea1
2020-02-11 08:04:02 +00:00
Deomid "rojer" Ryabkov
884b9a4813
Add Content-Encoding: gzip when serving .gz files
...
If file ends with .gz and has known "secondary extnesion", i.e. test.html.gz,
its content type is determined by the secondary extension and content-encoding is set to gzip.
PUBLISHED_FROM=a238763b4424bafabec2e58ccae4522cacdd7c78
2020-02-01 08:33:49 +00:00
Deomid "rojer" Ryabkov
7153690016
Keep the size of the structure the same in non-SSL build
...
PUBLISHED_FROM=8f93bee72bc18efff64354203ee6268f4f8e8768
2020-01-31 11:01:35 +00:00
Deomid "rojer" Ryabkov
f00b3a2b3a
Move ssl_if_data to the end of mg_connection
...
PUBLISHED_FROM=4fb65477b03bedc3206ac286e8236f0f9536f20e
2020-01-31 09:48:30 +00:00
Deomid "rojer" Ryabkov
c2b5e4f3b8
Fix a leak when CA certificate file is invalid
...
Also free up some RAM by not allocating ca_cert when `MBEDTLS_X509_CA_CHAIN_ON_DISK` is enabled.
PUBLISHED_FROM=5e5f4103707de98c929973d2aed0aaedf0bb60da
2020-01-22 10:03:30 +00:00
Deomid "rojer" Ryabkov
bc15e9ce9a
Fix value of MG_MQTT_DUP
...
PUBLISHED_FROM=de1772bd6ea01f3dc467ceebb3b2af5cbe8eb240
2020-01-20 09:33:25 +00:00
Deomid Ryabkov
70dc6d8dc9
Add mg_strcasecmp()
...
CL: Add mg_strcasecmp()
PUBLISHED_FROM=cd2a26fa12473bfa0f5e7a0a1d34fb86562ee082
2019-12-29 19:39:45 +00:00
Deomid Ryabkov
10b11b03a8
Add mg_dns_encode_name_s for non-NUL terminated strings
...
PUBLISHED_FROM=012e2939021d1b275a39632fd2982891d2c98c4e
2019-12-29 19:33:41 +00:00
Sergey Lyubka
cb602f178c
Fix int overflow in parse_mqtt()
...
PUBLISHED_FROM=f9106d2f746c67ae004aeab12685eaf9cd558cd8
2019-12-23 11:13:41 +00:00
Sergey Lyubka
464113c5ae
Sync mongoose changes
...
PUBLISHED_FROM=8b6ebf46728aca40f916dde88e372b4540ed6ea4
2019-12-19 11:12:57 +00:00
Deomid Ryabkov
c34f6c54e7
Fix ota-shadow logic
...
PUBLISHED_FROM=68a57c967f8864946244893c71a397ab4e27d75d
2019-12-07 09:03:26 +00:00
Sergey Lyubka
8fb58ebbca
Lsm
...
PUBLISHED_FROM=5f465d245bb9ada5202cdd23ddc5b9856df26951
2019-11-04 13:48:28 +00:00
Sergey Lyubka
dce60c6dbb
Merge pull request #1054 from M4GNV5/master
...
fix typo in tools/README.md
2019-10-07 09:08:58 +01:00
Jakob Löw
f668d08804
fix typo in tools/README.md
2019-10-01 00:14:11 +02:00
Sergey Lyubka
c41a22195c
Merge pull request #1020 from nliviu/patch-2
...
Fix ASAN build for examples/cookie_auth
2019-09-30 07:46:39 +01:00
Sergey Lyubka
900c05213b
6.15 -> 6.16
2019-09-30 07:44:10 +01:00
Sergey
c5850e4b05
Merge branch 'dev'
2019-09-30 07:41:04 +01:00
Sergey Lyubka
ff4649fe42
Better UI
...
PUBLISHED_FROM=50f0cafa84cd06428f0da376d85766dcf62af9da
2019-07-12 12:33:28 +00:00
Sergey Lyubka
1a38e91042
Next
...
PUBLISHED_FROM=6fa0be81ce429b8db9e3ed572cb4a876b6fb2693
2019-07-12 09:33:26 +00:00
Sergey Lyubka
b6196371bb
Lsm
...
PUBLISHED_FROM=18d9d1e6411db84788c527d1c34ad2adc846df00
2019-06-26 10:33:24 +00:00
Sergey Lyubka
d5beb7ba3f
Merge branch 'dev'
2019-06-13 09:50:09 +01:00
Sergey Lyubka
19acf23c49
6.14 -> 6.15
...
PUBLISHED_FROM=69f3a5f14d4ebce0fb89728fc345f90f1e7b1700
2019-06-13 08:49:37 +00:00
Sergey Lyubka
5cd3291fec
Merge branch 'dev'
2019-06-13 09:45:43 +01:00
Sergey Lyubka
b3e0f780c3
Fix heap-based overflow in parse_mqtt
...
PUBLISHED_FROM=3306592896298597fff5269634df0c1a1555113b
2019-06-13 08:18:14 +00:00
Sergey Lyubka
2bdbfc27f6
Integrate https://github.com/cesanta/mongoose/issues/1008
...
PUBLISHED_FROM=1b7bf2d7318568851e6c8f07451cd3982d9498b6
2019-06-13 07:48:28 +00:00
Sergey Lyubka
3fc61a3edc
Fix mg_resolve2()
...
PUBLISHED_FROM=b0df728a75073c6ea9fc1984bb6a6b463f539347
2019-05-24 12:33:25 +00:00
Liviu
12339bbf4c
Fix ASAN build
...
The ASAN build fails with
```
cookie_auth.c:62:7: error: variable 'ret' is used uninitialized whenever 'if' condition is true [-Werror,-Wsometimes-uninitialized]
if (cookie_header == NULL) goto clean;
^~~~~~~~~~~~~~~~~~~~~
cookie_auth.c:84:10: note: uninitialized use occurs here
return ret;
^~~
cookie_auth.c:62:3: note: remove the 'if' if its condition is always false
if (cookie_header == NULL) goto clean;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cookie_auth.c:65:3: note: variable 'ret' is declared here
struct session *ret = NULL;
^
cookie_auth.c:62:7: error: variable 'ssid' is used uninitialized whenever 'if' condition is true [-Werror,-Wsometimes-uninitialized]
if (cookie_header == NULL) goto clean;
^~~~~~~~~~~~~~~~~~~~~
cookie_auth.c:81:7: note: uninitialized use occurs here
if (ssid != ssid_buf) {
^~~~
cookie_auth.c:62:3: note: remove the 'if' if its condition is always false
if (cookie_header == NULL) goto clean;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cookie_auth.c:64:3: note: variable 'ssid' is declared here
char *ssid = ssid_buf;
^
2 errors generated.
```
2019-05-08 14:54:31 +03:00
Deomid Ryabkov
1fb9f922b0
Fix mgos compile check
...
CL: none
PUBLISHED_FROM=a1320658181aa19cd1a269d7ae62e11b3439ef84
2019-05-03 16:36:08 +00:00
Deomid Ryabkov
b93bc02ab0
Delete mos tool and related libraries from dev
...
Moved to https://github.com/mongoose-os/mos
PUBLISHED_FROM=8a0475678dba38fd6e057b8a530e9d08054ff74f
2019-05-02 12:03:33 +00:00
novlean
747e393a54
updated link to forum
...
PUBLISHED_FROM=784159d816e78f18fbfa6826f18bdea7d88dccbb
2019-04-29 12:40:14 +00:00
Deomid Ryabkov
4e8660a21f
RS14100 fixes
...
CL: none
PUBLISHED_FROM=4d5d68f92d6c082b5b0c25ed8935fc097939001f
2019-04-24 19:16:41 +00:00
Deomid Ryabkov
3fe77fa9a6
RS14100: Optimize flash reads
...
CL: none
PUBLISHED_FROM=49d4f4a3c83520fd6ec9714b74333f75f3a2aa1c
2019-04-24 16:18:28 +00:00
Deomid Ryabkov
b4fbaf7c13
Fix locking in lwip net_if
...
Was not being enabled when it should have been.
CL: Fix locking in lwip net_if
PUBLISHED_FROM=4810e73417c7599f0ea08a09812ed320d02f7cae
2019-04-23 20:03:44 +00:00
Deomid Ryabkov
9884241df8
mg_net_if_lwip: Fix invoking callbacks on tcpip thread
...
tcpip_callback doesn't wait for the callback to run (as was previosuly assumed).
CL: mg_net_if_lwip: Fix invoking callbacks on tcpip thread
PUBLISHED_FROM=930c45f1346f9c3b024e5e684f4a452c762db92b
2019-04-15 16:33:40 +00:00
Deomid Ryabkov
63d7a4fa45
Core dump analysis improvements
...
* ARM
* Provide MSP and PSP
* Provide FreeRTOS task info
* Profide target specification XML (extra regs and FPU / no FPU Cortex cores)
* ESP32
* Use uxTaskGetSystemState instead of uxTaskGetTaskHandles
* General cleanup and refactoring
CL: Core dump analysis improvements
PUBLISHED_FROM=3297ffb2e6069a3a6a598367273bc2183063cf1e
2019-04-10 19:18:33 +00:00
Deomid Ryabkov
8f4b6c41a2
Make FreeRTOS a library, upgrade to 10.2.0
...
All the platforms except esp32 (which uses heavily patched 9.0 from IDF) and esp8266 (doesn't use RTOS at all) are using the same version of FreeRTOS now.
CL: Make FreeRTOS a library, upgrade to 10.2.0
PUBLISHED_FROM=a4f7949a9f1546d23fc183412445859830f02d1a
2019-04-01 19:02:26 +00:00
Deomid Ryabkov
4493d65ec9
RS14100: Flash and FS support, increase CPU and flash clock
...
Run CPU at 180 MHz, flash at up to 100.
CL: RS14100: FS support, increase CPU and flash clock
PUBLISHED_FROM=e9f995bf03e4e36dc66e19a2a2d60ae1675ecaae
2019-03-28 23:18:36 +00:00
Deomid Ryabkov
e5910da300
Deliver EV_CLOSE to the last endpoint handler
...
CL: mg: Deliver EV_CLOSE to the last endpoint handler
PUBLISHED_FROM=02ee2c6627ed9ee1d35022244f71dfe1877ce2c0
2019-03-19 13:15:41 +00:00
Deomid Ryabkov
c277a1d878
Do not amalgamate platform_custom.h include
...
CL: none
PUBLISHED_FROM=4f84111ef76bd609348c439304f46556ce5d4497
2019-03-12 11:48:27 +00:00
Deomid Ryabkov
7820ad3a59
RS14100: Blinky
...
The humble beginning...
CL: RS14100: Blinky
PUBLISHED_FROM=7f1dc4d826122ababae44b52c52ed84b15d0ae5c
2019-03-08 23:03:39 +00:00
Sergey Lyubka
23533b83a4
Allow NULL handler for mg_bind and mg_connect
...
CL: Allow NULL handler for mg_bind and mg_connect
PUBLISHED_FROM=4963d5c022c2c57dd03101d9c7e72ca910c3bb61
2019-03-06 12:33:24 +00:00
Deomid Ryabkov
ab650ec5c9
Merge branch 'dev'
2019-03-04 15:19:32 +00:00
Deomid Ryabkov
8f36597048
Mongoose 6.14
...
PUBLISHED_FROM=3e6e17d1f1cfb05efc37d76279dcbedb7f1add5d
2019-03-04 15:15:35 +00:00
Deomid Ryabkov
d0213ee90a
ESP32: Add support for the 3/4 key encoding scheme
...
* Add calculated redundancy values when writing eFuse blocks 1-3
* Perform 192 -> 256 bit key extension when encrypting images for flashing
Fixes https://github.com/cesanta/mos-tool/issues/37
CL: mos: ESP32: Add support for the 3/4 key encoding scheme
PUBLISHED_FROM=16639fb25d5200550ad2097929239d896e188b5b
2019-03-04 09:18:28 +00:00
Deomid Ryabkov
1e9fabe1ca
Fix handling of WS handshake error response
...
Check response code, make sure it's 101.
Pass http_message to the client to keep it appraised.
This represents a slight change in the API -
in case of an error MG_EV_WEBSOCKET_HANDSHAKE_DONE will now be delivered where previosuly connection would just hang.
Clients that do not examine the argument may for a moment think handshake has succeeded but in fact connection will be closed immediately.
CL: mg: Fix handling of WS handshake error response
PUBLISHED_FROM=645a43d9e5bee216e54411f85827c9b974e9a7d1
2019-02-14 21:19:34 +00:00
Deomid Ryabkov
148d3f0562
STM32F2 and Particle Electron board support
...
CL: STM32F2 and Particle Electron board support
PUBLISHED_FROM=20dede6546e9f99d2829508177924790d87e985a
2019-02-12 13:36:54 +00:00
Deomid Ryabkov
c3057df3f5
Fix mongoose CI test
...
CL: none
PUBLISHED_FROM=9510e460251c250cb6a67a40edc0af515044f9fe
2019-02-08 17:38:56 +00:00
Deomid Ryabkov
0b2e474d52
Improve ESP flasher baud rate setting
...
Use old baud rate and autodetected divider to calculate new divider.
This works better with higher baud rates and drifting clocks.
CL: mos: Improve ESP flasher baud rate setting
PUBLISHED_FROM=7761e756c3ae7cc76e3b9a4fe3e40d06a779b2e8
2019-02-08 17:38:55 +00:00
Deomid Ryabkov
95a36b1759
Log file:line instead of function; add cs_log_set_file_level()
...
cs_log_set_filter() is removed in favor of cs_log_set_file_level() which
allows setting log verbosity of individual files and/or lines.
E.g.: `mg_=1,mjs=1,=4` - level for for everything except mjs and mongoose.
We use the fact that we are usually pretty careful with our file names and use prefixes consistently.
In mos, `debug.file_level` sets the option on boot and `Sys.SetDebug` is updated to parse `file_level` option to change it at runtime.
CL: Log file:line instead of function; add cs_log_set_file_level()
PUBLISHED_FROM=49f18d4d0d3dd224865129a4f8fe6cccd1d9bc12
2019-01-30 12:57:19 +00:00
Deomid Ryabkov
86ffa3a3ea
Properly support MQTT wildcards when matching topics
...
CL: mg: Properly support MQTT wildcards when matching topics
PUBLISHED_FROM=aa60a71d488f4b56dff0951886c8a9a4066fd4f2
2019-01-22 12:19:04 +00:00
Deomid Ryabkov
69e2b2985d
Add mg_strfree()
...
CL: Add mg_strfree()
PUBLISHED_FROM=b80566218986e0607a9d2758bf776a1031b27212
2019-01-16 22:48:59 +00:00
Бобби
c431904b56
Send extra options with OPTIONS
...
CL: Send extra options with OPTIONS. Integrate https://github.com/cesanta/mongoose/pull/657
PUBLISHED_FROM=6ee609a92febd8d908f7713f94fb73657443a09a
2019-01-16 11:33:57 +00:00
Deomid Ryabkov
c2a10601b9
Fix nsleep100 on STM32
...
CL: Fix nsleep100 on STM32
PUBLISHED_FROM=cabb98a0541bac9bb66bfa702d54bf8ff20063e7
2019-01-08 20:43:55 +00:00
Deomid Ryabkov
e9a8e5468d
Convert Python scripts to Python 3, delete unused ones
...
CL: none
PUBLISHED_FROM=4bbc2175634e20a726dd4b2dadff57f945b261d0
2018-12-25 20:38:58 +00:00
Sergey Lyubka
22e602debb
Check for NULL in tcp_recved_tcpip()
...
CL: Check for NULL in tcp_recved_tcpip()
PUBLISHED_FROM=3f5bbc2e35b79d363eac4b99a1f0d17c9b81d4ec
2018-12-21 13:03:48 +00:00
Deomid Ryabkov
455cec67a5
CC3220: Enterprise auth support
...
CL: wifi: CC3220: Enterprise auth support
PUBLISHED_FROM=ce445eb5b740073c9a3f9811f1acd404ce134f2e
2018-12-18 18:19:21 +00:00
Deomid Ryabkov
e2dfac946d
Ensure that user sees all the data before connection is closed
...
If user throttles receive by setting recv_mbuf_limit,
after the net interface reports connection as closed we must wait
for data to trickle through before disposing of it.
There can still b data in the buffers (e.g. SSL).
CL: mg: Ensure that user sees all the data before connection is closed
PUBLISHED_FROM=22be0fa368950a9fdb03cfb00febc7c0a1674b01
2018-12-10 21:04:49 +00:00
Бобби
c198d2e5f1
Make MG_CTL_MSG_MESSAGE_SIZE overridable
...
CL: Make MG_CTL_MSG_MESSAGE_SIZE overridable
Fix https://github.com/cesanta/mongoose/pull/987
PUBLISHED_FROM=b0a7c67297b98f616c9eadcd3c34b8747939c918
2018-12-07 10:04:00 +00:00
Deomid Ryabkov
9a70abef24
Add mbuf_append_and_free() and mbuf_move()
...
CL: Add mbuf_append_and_free() and mbuf_move()
PUBLISHED_FROM=bdf73906dd93b2ebeace160596508e15480b54b4
2018-12-05 21:49:01 +00:00
Deomid Ryabkov
53e1c469a2
Add ability for multipart data handler to provide pushback
...
It can specify how much data was actually processed and the rest will be re-delivered on next poll.
CL: mg: Add ability for multipart data handler to provide pushback
PUBLISHED_FROM=e0168c5064c3a32921c9209bc09f4da2079cd616
2018-12-05 16:02:56 +00:00
Deomid Ryabkov
139c2061a8
Add create-fw-bundle command
...
Replacement for fw_meta.py commands and also supports unbundling .hex files.
General syntax is:
```
$ mos create-fw-bundle -o fw.zip part1:prop1=val1,prop2=val2,... part2:...
```
Example of building a mos fw bundle for ESP8266:
```
$ mos create-fw-bundle -o fw.zip --platform esp8266 --build-info=build_info.json \
boot:addr=0x0,src=rboot.bin,update=false \
boot_cfg:addr=0x7000,size=0x1000,fill=0xff \
fw:addr=0x100000,src=demo-c.bin \
fs:src=fs.bin,type=fs,addr=0x8000,fs_size=262144,fs_block_size=4096,fs_page_size=256,fs_erase_size=4096
```
Example of converting a HEX file to a bundle:
```
$ mos create-fw-bundle -o fw.zip host:type=host,src=hostfw.hex
```
CL: mos: Add create-fw-bundle command
PUBLISHED_FROM=35f52ea53e4b5900463415257323a4c08cf45deb
2018-11-28 20:34:06 +00:00
Deomid Ryabkov
15b361fbac
Add mbuf_clear()
...
PUBLISHED_FROM=754b98b3000b24ad3b3d9cc0b4c480ca005a1c3f
2018-11-23 15:50:55 +00:00
Deomid Ryabkov
3130e59244
Stop reading if connection is closing
...
CL: none
PUBLISHED_FROM=3b74ca02e2960bbbf130f6d95aef679f2917e824
2018-11-02 18:12:34 +00:00
Deomid Ryabkov
93286836f9
Read all available data during recv poll
...
CL: mg: Read all available data during recv poll
PUBLISHED_FROM=b081025b9fb392c988924c7097b5333c38053f6f
2018-11-02 14:50:32 +00:00
Deomid Ryabkov
91b57aa9a8
Add MG_MK_STR_N() and mg_str_starts_with()
...
CL: Add MG_MK_STR_N() and mg_str_starts_with()
PUBLISHED_FROM=f01003efc6aa6ff45fa99c7ad6e5319f5002f22d
2018-10-29 15:50:31 +00:00
Deomid Ryabkov
220231e647
Fix digest auth result comparison
...
Should use length of the exected response, not the response sent by the user.
CL: mg: Fix digest auth result comparison
PUBLISHED_FROM=23375133b8babac0b276b51395917ad975e1bd3c
2018-10-15 16:47:18 +00:00
Deomid Ryabkov
c438bb0bc5
Make mg_rpc more easily portable
...
CL: none
PUBLISHED_FROM=2e77d72cdf82454349a7fe29cc77bd0b90ac4369
2018-10-09 12:04:12 +00:00
Deomid Ryabkov
95afa323c0
Merge pull request #978 from cesanta/dev
...
Mongoose 6.13
2018-10-08 14:06:45 +01:00
Deomid Ryabkov
bc56353a79
Mongoose 6.13
...
CL: none
PUBLISHED_FROM=32418b7da17a68193e88405547152f58a4dd877f
2018-10-08 12:20:32 +00:00
Deomid Ryabkov
1ffccdb7b2
Remove a spammy log line
...
PUBLISHED_FROM=b3ec2b3b43a464700a6e6d75b7336f823549cce3
2018-10-04 15:48:48 +00:00
Deomid Ryabkov
e79fe4b8f0
Update mbedTLS to 2.13.1
...
CL: Update mbedTLS to 2.13.1
PUBLISHED_FROM=bd1216f727605a901f062a044c0c0ca762f4a6d1
2018-10-04 10:06:35 +00:00
Deomid Ryabkov
aaf1fc3a4a
Schedule a poll when LwIP reports TCP data sent
...
PUBLISHED_FROM=0cf3029d9a9b851882325e2298b878bc83fc2d33
2018-09-28 11:03:47 +00:00
Deomid Ryabkov
8b42353039
Check HTTP chunk size, ensure it's reasonable
...
CL: mg: Check HTTP chunk size, ensure it's reasonable
PUBLISHED_FROM=d9f6babd314c092b42ce9e7fe31d6b30a38366a2
2018-09-27 12:51:21 +00:00
Deomid Ryabkov
05c687e251
Fix handling of keepalive HTTP requests/responses
...
Clean the HTTP connection state when ia request/response has been fully
buffered and handler invoked.
Fixes https://github.com/cesanta/mongoose/issues/971
CL: mg: Fix handling of keepalive HTTP requests/responses
PUBLISHED_FROM=70c854aa306aacb9161f6ee48841f38dc0312e6b
2018-09-27 12:51:18 +00:00
Deomid Ryabkov
492b8f6950
CC3200: Fix boot loader regression
...
Go back to Ubuntu 16.04 and older gcc-arm (4.9.3).
Boot loader just won't run when compiled with newer GCC (7.x).
It's likely that it can be fixed with compile switches but I couldn't figure it out quickly, so going to just downgrade for now to get it back to workign state.
CL: CC3200: Fix boot loader regression
PUBLISHED_FROM=b70b03bd17e03c7dae02328b32b855f3ca3ad6a9
2018-09-25 20:32:35 +00:00
Deomid Ryabkov
8ccee82059
Add mgos_gpio_blink()
...
CL: Add mgos_gpio_blink()
PUBLISHED_FROM=a5d2e2f44413d1ab363abeeaf0fb497bd8f63d6d
2018-09-25 20:32:33 +00:00
Deomid Ryabkov
b99a94a652
Fix build w/o logging
...
PUBLISHED_FROM=694346bd6562c55e5ab00886df47f7cbfb0a3720
2018-09-25 11:34:05 +00:00
Deomid Ryabkov
41e5d7e471
Use mbedTLS from mongoose-os-libs/mbedtls
...
mbedTLS is just another lib now
CL: Use mbedTLS from mongoose-os-libs/mbedtls
PUBLISHED_FROM=bae4739d22e871bd268b8a3233dbb69634770243
2018-09-20 20:38:11 +00:00
Sergey Lyubka
1adea37c45
Integrate https://github.com/cesanta/mongoose/pull/667 , fix documentation
...
CL: Integrate https://github.com/cesanta/mongoose/pull/667 , fix documentation
PUBLISHED_FROM=80a939fc3276b89c29716e7373f674dba86769ee
2018-09-20 15:34:36 +00:00
Deomid Ryabkov
98f6c8aa4f
Trim recv_mbuf when we know the size of the data
...
CL: none
PUBLISHED_FROM=e354b67ab6f8246af50c601f5f70d36c029601ea
2018-09-17 16:04:00 +00:00
Deomid Ryabkov
341ae53e85
Update mongoose.h (amalgamation)
...
PUBLISHED_FROM=1fbe72f99bda5745c4b9b9def0601bdc5bf70e65
2018-09-14 21:19:15 +00:00
Sergey Lyubka
291fc024cd
Docs nits
...
CL: Docs nits
PUBLISHED_FROM=1a2fc8080d94673acf300c6f07aba3a1e6272295
2018-09-14 08:03:58 +00:00
Deomid Ryabkov
f63d833a33
Update STM32 build image
...
* Update CubeL4 to 1.13.0
* Rebuild OurTLS with `-DMBEDTLS_X509_CA_CHAIN_ON_DISK`
* Add `-Wextra` and fix build issues
CL: Update STM32 build image
PUBLISHED_FROM=a7eacff7580bab6c6e40bdaf6164df575a717c55
2018-09-11 11:49:08 +00:00
Deomid Ryabkov
ab035901f8
ISM43XXX networking support (TCP, UDP client)
...
Listeners still TODO
CL: ISM43XXX networking support (TCP, UDP client)
PUBLISHED_FROM=b58ba88b9e6bd7b55ccb607d0b69cea98cb52fa5
2018-09-11 06:34:08 +00:00
Deomid Ryabkov
20f54059ad
STM32: Make LWIP optional
...
CL: STM32: Make LWIP optional
PUBLISHED_FROM=eebffe7800a74d7b69aafd95e476b2e90328be98
2018-09-06 11:27:58 +00:00
Deomid Ryabkov
563c31303e
Add net_if_null, a no-op net interface
...
Can be used for cases where device has no networking but mongoose is still needed for its event loop.
CL: mg: Add net_if_null, a no-op net interface
PUBLISHED_FROM=e79b4a8667508bbde1437dda9dad77ce3a3aa630
2018-09-06 08:34:17 +00:00
Deomid Ryabkov
421e099f2b
Refactor mg polling
...
* Change return type of mg_mgr_poll to return number of events
* Add mg_mgr_min_timer
* Refactor main poll loop to remove LwIP-specific stuff
CL: Refactor mg polling
PUBLISHED_FROM=dc94618b32fa3c84a2f053bd04d134297780ec82
2018-09-06 06:34:18 +00:00
Бобби
955d4a3129
Fix file upload on windows
...
CL: Fix https://github.com/cesanta/mongoose/issues/962 - file upload on windows
PUBLISHED_FROM=85688eee147a1df468cca92f4ac61526ce9c02bf
2018-08-21 15:06:40 +00:00
Deomid Ryabkov
b84981ad03
STM32 OTA support for L475-IOT01 and DISCO-F746
...
A smattering of other related changes
CL: STM32 OTA support for L475-IOT01 and DISCO-F746
PUBLISHED_FROM=e7142337086d09ba21437455b22d00db47ab33f1
2018-08-18 07:49:30 +00:00
Deomid Ryabkov
777b8e94e2
Merge branch 'dev' (Mongoose 6.12)
2018-08-13 19:30:06 +03:00
Sergey Lyubka
6df642623a
Delete CONTRIBUTING.md
2018-08-13 19:28:18 +03:00
Deomid Ryabkov
0a3e186f11
Mongoose 6.12
...
CL: Mongoose 6.12
PUBLISHED_FROM=8008e4db2f6d94d972fb6e1077525e262c8744aa
2018-08-13 14:41:42 +00:00
Deomid Ryabkov
c2d83a9db0
Don't touch send_mbuf when sending MQTT messages
...
h/t @M4GNV5
Fixes https://github.com/cesanta/mongoose/issues/943
Closes https://github.com/cesanta/mongoose/issues/944
CL: mg: Don't touch send_mbuf when sending MQTT messages
PUBLISHED_FROM=da7b4f8acec2e403caa4addd5739d036a6a74c76
2018-08-13 14:04:49 +00:00
Deomid Ryabkov
f33d3a4e02
Fix body length calculation in mg_handle_cgi
...
Fixes https://nvd.nist.gov/vuln/detail/CVE-2018-10945
CL: mg: Fix body length calculation in mg_handle_cgi
PUBLISHED_FROM=0c30cf36fdb67c75f6148468701e23d6ee72d953
2018-08-13 13:05:22 +00:00
Deomid Ryabkov
86b8a56b05
Add host name verification for OpenSSL
...
Closes https://github.com/cesanta/mongoose/pull/955
CL: mg: Add host name verification for OpenSSL
PUBLISHED_FROM=e35dd636ba7ce63116f0a38031074d22f6cd5dac
2018-08-13 13:05:21 +00:00
Бобби
ac6ec15aed
Make esp8266 compilation a little less verbose
...
CL: Make esp8266 compilation a little less verbose
PUBLISHED_FROM=0ec1412ea32243f263d52fbe0877ecca1efc5aef
2018-07-23 15:26:47 +00:00
Deomid Ryabkov
31632c6361
Fix build with CS_ENABLE_STDIO=0
...
Closes https://github.com/cesanta/mongoose/pull/945
CL: Fix build with CS_ENABLE_STDIO=0
PUBLISHED_FROM=7d15f17fc42241facdba5b1004b5b7f3dda599dc
2018-07-12 20:42:45 +00:00
Deomid Ryabkov
98c99279c3
Fix warnings on newer versions of GCC
...
PUBLISHED_FROM=f1d25145446057fed9e8d634ca637364ca43a5e8
2018-07-09 08:34:29 +00:00
Deomid Ryabkov
cdb8d7b692
Add mg_strstrip: trims whitespace at the ends of s
...
CL: Add mg_strstrip: trims whitespace at the ends of s
PUBLISHED_FROM=a7e10054ac25fa2b3a878876da93a6b30d9507b3
2018-07-07 14:04:42 +00:00
Deomid Ryabkov
93ac3e19f0
Stringify multi-word macros correctly
...
Use vararg macros for this.
PUBLISHED_FROM=735c40b79dedef17a1fdbb5b846e984df0ae7018
2018-07-03 15:05:23 +00:00
Deomid Ryabkov
6a51af9efe
Fix a bug in mg_mgr_init_opt with opts.num_ifaces
...
h/t @YankunLi
Closes https://github.com/cesanta/mongoose/pull/939
CL: mg: Fix a bug in mg_mgr_init_opt with opts.num_ifaces
PUBLISHED_FROM=a87518b3505429a3cf9cd6d84b3b781e7dbdcfd5
2018-06-27 08:50:07 +00:00
Deomid Ryabkov
9d73b3470b
Add LFS (littleFS) library
...
CL: mos support for LFS (littlefs) https://github.com/ARMmbed/littlefs
PUBLISHED_FROM=e72957b4fb2c78949af4cf6d5bfef135ddba9fd9
2018-06-26 16:49:42 +00:00
Deomid Ryabkov
1c8449cea6
Fix pipelining issue with multipart upload
...
Do not clear buffer at the end of multipart request to allow following request to proceed.
Closes https://github.com/cesanta/mongoose/pull/940
CL: mg: Fix pipelining issue with multipart upload
PUBLISHED_FROM=cc7d38b126eaa863553ee4e124cfafcd72030fcf
2018-06-26 12:05:04 +00:00
Deomid Ryabkov
3bbbd41196
Add missing CC3220 sub-header to mongoose.h
...
CL: Add missing CC3220 sub-header to mongoose.h
PUBLISHED_FROM=a143485b629109c6e16c66b035f02f7552f76129
2018-06-21 16:34:56 +00:00
Deomid Ryabkov
339bbee0df
mg_file_upload_handler: Support multiple files
...
curl -F file1 -F file2 ...
Add a unit test and fix a minor memory leak when returning an error.
CL: mg_file_upload_handler: Support multiple files
PUBLISHED_FROM=5c4bf2be676346fb782e80f50f79df6a6721ac88
2018-06-20 13:35:31 +00:00
Deomid Ryabkov
9ba6eb716d
mg_lwip: Fix race during clean conenction teardown
...
Set CLOSE_IMMEDIATELY flag when destroying conn.
This avoid some races in LWIP adapter.
CL: mg_lwip: Fix race during clean conenction teardown
PUBLISHED_FROM=5c67982390dfaf83527e85d1291f64c6050aa932
2018-06-18 16:35:04 +00:00
Deomid Ryabkov
d949c19c7e
mgos_nsleep100 impl for ARM-based platforms
...
startup cleanup on CC3220
CL: none
PUBLISHED_FROM=0998fad82fbcdbde30dca42833f2e48d148592bf
2018-06-06 08:04:33 +00:00
Deomid Ryabkov
1299d6118f
Add MG_HIDE_SERVER_INFO
...
Closes https://github.com/cesanta/mos-libs/pull/2
CL: Add MG_HIDE_SERVER_INFO
PUBLISHED_FROM=ed8a5b65f1c8238df414cd1c1f8bb1f579082f55
2018-05-17 16:20:44 +00:00
Deomid Ryabkov
244ff92e78
Minor build optimization
...
PUBLISHED_FROM=9997c64ed0c713b5b8b29df7a49b532e880eac53
2018-05-10 19:05:40 +00:00
Deomid Ryabkov
53f34dea04
Fix TZ on ESP8266
...
CL: Fix TZ on ESP8266
PUBLISHED_FROM=435a501a8b52524bccb67bb5a8ae7e09dfb4d44a
2018-04-26 15:26:39 +00:00
Sergey Lyubka
1f5c3fac31
Delete CONTRIBUTING.md
2018-04-17 15:08:35 +01:00
Sergey Lyubka
7014258c8d
Remove copyright notices - that explained in the CLA.
...
CL: none
PUBLISHED_FROM=9cb4b915906d471ef5de4e0825567d0b942d3f7b
2018-04-17 11:45:31 +00:00
Deomid Ryabkov
1614e7ba8d
Restore FFI-ability of struct mg_str
...
mgos_dlsym needs to include mg_str for ffi_exports to be able to use it
PUBLISHED_FROM=a2dd167c8e8f9e9b7316a856f19a4603080c3632
2018-04-13 17:12:07 +00:00
Deomid Ryabkov
43b5a4e735
Add a special attribute to printf-like funcs
...
Enables extra compile-time checks
CL: none
PUBLISHED_FROM=9f7d658fbda5c721cf40293bf29967bb056d0437
2018-04-13 17:12:06 +00:00
Deomid Ryabkov
43191db63e
Fix boot loader UART baud rate on soft reboot
...
Also remove `-O3` optimization flasg, it negates `-Os`. Saves ~400 bytes.
CL: none
PUBLISHED_FROM=f40f42e4f54a8e0e003ab65ec8f5838c2d932876
2018-04-11 18:35:15 +00:00
Deomid Ryabkov
e89be2e944
Add mg_url_encode_opt()
...
CL: Add `mg_url_encode_opt()` - a parametrized version of `mg_url_encode()`
PUBLISHED_FROM=17fa57a7a5325b51b6e3aef3855eac4e82c35782
2018-04-10 11:04:31 +00:00
Deomid Ryabkov
c2fbff6d0e
Fix mg_http_parse_header
...
Per standard, cookies are delimited by `; `.
CL: Fix mg_http_parse_header: treat ";" as a delimiter.
PUBLISHED_FROM=039243c30f5fabf4a4700a43506f841b3268306a
2018-04-10 10:19:36 +00:00
Deomid Ryabkov
b8eca17c55
Reamalgam mongoose.{c,h}
...
PUBLISHED_FROM=8828792097bd19774472b8a2e61420565684d174
2018-04-03 16:08:21 +00:00
Sergey Lyubka
4650e491df
Apache license to common/
...
CL: Apache license to common/
PUBLISHED_FROM=901e9e4b12a31289b3515d1f86dd56a7f0f35c5e
2018-04-03 11:49:59 +00:00
Deomid Ryabkov
3e33e57707
Mongoose net_if and ssl_if refactoring
...
A major cleanup, disentangling net_if and ssl_if.
Pulled a lot of common logic into the core and reduced size of net_if implementations.
CL: Mongoose net_if and ssl_if refactoring
PUBLISHED_FROM=29bd4dcb264a1fd96b3dd164e2d880e1c2c0921e
2018-03-30 23:19:49 +00:00
Deomid Ryabkov
c80f4c5313
Fix an edge case in multipart HTTP upload parsing
...
Consume buffer as soon as we know there is no boundary there, no need to delay until next chunk arrives.
This prevents stall where buffer fills up in one go and next chunk never arrives.
CL: Fix an edge case in multipart HTTP upload parsing
PUBLISHED_FROM=025f9001d272df2a75ece22b199b1944d5db9840
2018-03-30 19:35:20 +00:00
Deomid Ryabkov
132ecbec2f
Fix Mongoose and Frozen include paths
...
In preparation for making moving to lib.
Reduce amount of makefile copypasta a bit.
CL: none
PUBLISHED_FROM=70a016491f9605e37708385bdd698f48a8d64119
2018-03-28 14:12:23 +00:00
Deomid Ryabkov
0a90cab44a
Improve mbuf allocation behavior
...
* Limit total amount of headroom, in absolute terms (`MBUF_SIZE_MAX_HEADROOM`).
* If unable to allocate with headroom, fall back to allocating the required minimum.
* For mOS, set default `MBUF_SIZE_MULTIPLIER` to 2 to avoid floating point operations.
Since max headroom size is now capped to 128 bytes, this will not result in much of a bloat.
PUBLISHED_FROM=11d4fc65a46a805bb7c8960f89a3d0b753c58bb8
2018-03-22 07:49:57 +00:00
Serge A. Zaitsev
d16dbc197f
mongoose: fix http pipeline
...
mongoose: fix formatting
mongoose: fix formatting
mongoose: remove debugging messages
PUBLISHED_FROM=1194e018001cc5f2b598096593d7aac4ec8dc04d
2018-03-20 16:41:56 +00:00
Serge A. Zaitsev
127f27e375
mongoose: unit test for http get pipeline
...
PUBLISHED_FROM=00e8634913232eb2e50a0d739f85e81706dbc400
2018-03-17 16:35:04 +00:00
novlean
6523cc4da0
2018
...
PUBLISHED_FROM=63ce52177f5f13cb76f0fcb4689efb65a04318a2
2018-03-12 21:20:20 +00:00
novlean
2516da1c89
updated to 2018
2018-03-12 16:49:45 +00:00
Serge A. Zaitsev
0ae2b82b60
freshen: early attempts to make ota and config work
...
freshen: implement ota rollback
freshen: api for rpc
freshen: implement rpc api (without transport)
PUBLISHED_FROM=9f935f676161c81464a0dc53d5d8d085b2437ffb
2018-02-27 14:19:33 +00:00
Sergey Lyubka
dab526936f
Add missing test files to mongoose repo
...
PUBLISHED_FROM=9a81cc34aa0039a75c851bc3685055f46936252e
2018-02-23 11:19:42 +00:00
Бобби
780077d118
Fix mg_socketpair for lwip + UDP
...
CL: Fix mg_socketpair for lwip + UDP
PUBLISHED_FROM=6dd09136b3837016026523fb34acb5cc893cadbe
2018-02-18 16:49:38 +00:00
Deomid Ryabkov
ad8f1d88d4
Fix buffer size passed to inet_ntop()
...
Fixes https://github.com/cesanta/mongoose-os/issues/394
CL: Fix buffer size passed to inet_ntop()
PUBLISHED_FROM=4a6702527627ccbb780f45200274b09a28be69ee
2018-02-13 12:49:53 +00:00
Deomid Ryabkov
a3c4a48ef7
Make sure test assertions are evaluated once
...
E.g. if `ASSERT_EQ(myfunc(), 123)` fails, `myfunc()` would be invoked again to print the actual value.
This can cause confusion sometimes.
To avoid this, we cast arguments to double, which is wide enough for most cases and we provide a variant for 64 bit value types for when it's not.
We also perform a check and fail if argument to the check results in loss of precision.
CL: none
PUBLISHED_FROM=a14551289d92e8a5dead21d16471ebddebe938a8
2018-02-10 12:19:40 +00:00
Deomid Ryabkov
84a11fe3b1
Count both tests and individual checks
...
CL: none
PUBLISHED_FROM=ab7f50e1c68154832e862ebfb4a02d385ef7c6be
2018-02-08 19:20:00 +00:00
Dmitry Frank
2a3cfc9858
Bump mongoose version to 6.11
...
PUBLISHED_FROM=92604e1b7c65009a6214fea9f1b2460df721d38e
2018-02-08 16:51:43 +00:00
Dmitry Frank
b9b20c6494
Implement mg_http_parse_header2()
...
Which is a replacement of (deprecated) `mg_http_parse_header`, but,
similarly to `asprintf`, allocates a new buffer if the client-provided
one is not large enough.
Also use it throughout mongoose code, and thus some header-related
limitations are removed; in particular,
https://github.com/cesanta/mongoose/issues/813 is fixed.
CL: Mongoose Web Server: Deprecate `mg_http_parse_header()` and implement `mg_http_parse_header2()` instead, which allocates a new buffer if the client-provided one is not large enough (similarly to `asprintf`).
CL: Mongoose Web Server: Fix limitations of header value lengths, e.g. when parsing authentication headers such as nonce, etc.
PUBLISHED_FROM=c75b1bbbbdb294ea85075ce69b1368f115fdd1ef
2018-02-07 23:04:29 +00:00
Deomid Ryabkov
a8a7d2cf7e
Minor tweaks for testing
...
PUBLISHED_FROM=d52aea1648ed8ec8dd2e71168884795d995b1826
2018-02-07 20:19:31 +00:00
Deomid Ryabkov
50ecc30b4d
Commonize unit test main()
...
CL: none
PUBLISHED_FROM=ee76407d89f3fcbe3da23810117a374d06af0a25
2018-02-07 16:19:32 +00:00
Deomid Ryabkov
cd89db5c2f
Add a convenience macro invoke subroutines
...
To properly fail a test in a subroutine, return value needs to be passed up.
This snippet makes it short.
PUBLISHED_FROM=2f6328b5eb2921a4caa53d8887c02f73a5d817ea
2018-02-07 14:49:23 +00:00
Deomid Ryabkov
1ed99999bd
Add ASSERT_{TRUE,FALSE} convenience macros
...
PUBLISHED_FROM=3cd6dd7f04b650ca637788d1017b6b5146c79569
2018-02-06 16:49:32 +00:00
Dmitry Frank
4afebdcb2b
Add UDP client example
...
CL: Mongoose Web Server: Add UDP client example
Resolves https://github.com/cesanta/mongoose/issues/886
PUBLISHED_FROM=fcce2f1de3a800147e9246ffa01c428c1b8f552b
2018-02-06 13:34:33 +00:00
Dmitry Frank
c3d9d17e34
Remove "mongoose" prefix from includes
...
In certain files it was necessary to make tests work from public
mongoose repo, so this commit makes things consistent.
PUBLISHED_FROM=694454d0ff007229c65d524a2a2beaf126420f15
2018-02-05 20:20:05 +00:00
Dmitry Frank
7bf5144e62
Make tests work on public repo as well
...
PUBLISHED_FROM=78acb18d597b6f47f31da13087fa6685f21ce445
2018-02-05 14:35:37 +00:00
Dmitry Frank
3eb4eb8074
Fix mongoose docs generation
...
PUBLISHED_FROM=331821dcd1f7dc8a94581cd8a9b51aa00a89fddc
2018-02-03 01:20:48 +02:00
Deomid Ryabkov
ab000c684a
Fix includes
...
Even though it makes no prectical difference due to the way amalgamation works
CL: none
PUBLISHED_FROM=6977833f2b469e5b969385ad9ae21a28af76746f
2018-02-03 01:20:47 +02:00
Dmitry Frank
aba60dadec
Add mg_ prefix to mongoose sources
...
CL: none
PUBLISHED_FROM=d6ebe5fa88c61ae3b8569897d9b09d54610bec73
2018-02-03 01:20:47 +02:00
Dmitry Frank
f29457e967
Remove tunneling from mongoose
...
CL: Mongoose Web Server: Remove tunneling functionality which was used by nobody
PUBLISHED_FROM=38b9e8ae7b0a5a1dbba5cff4074843dc681267d3
2018-02-02 21:50:13 +00:00
Dmitry Frank
8742fac5d8
Publish mongoose src and tests
...
CL: Mongoose Web Server: Publish sources and tests
Resolves https://github.com/cesanta/mongoose/issues/745
PUBLISHED_FROM=7ecd7a3c518cfa614a6ba0838678dcb91b75a8c0
2018-02-02 15:49:55 +00:00
Dmitry Frank
0ab1c7ef76
Fail if passed a NULL handler
...
Before it resulted in an endless recursion.
Resolves https://github.com/cesanta/mongoose/issues/871
CL: Mongoose Web Server: Fail if passed a NULL handler to `mg_bind` or `mg_bind_opt`.
PUBLISHED_FROM=376e5d330a643fa530f6a27a422a1500f986c721
2018-02-02 06:35:12 +00:00
Dmitry Frank
47abc641f1
Fix nonce in digest authentication
...
CL: Mongoose Web Server: Digest authentication: Fix nonce validity check (expired nonce or nonce from the future did not cause the the check to fail)
CL: Mongoose Web Server: Digest authentication: Fix nonce request value; it worked before because nonce validity check was broken as well
CL: Mongoose Web Server: Digest authentication: Add `nonce` argument to `mg_http_create_digest_auth_header()`: clients should use the value received from the server's authentication request.
Resolves https://github.com/cesanta/mongoose/issues/809
PUBLISHED_FROM=5e59f90ed6b2a4311ed6763159da81c2aaf6af4c
2018-02-01 22:05:43 +00:00
Dmitry Frank
7519b2ef3a
Improve websocket implementation
...
CL: Mongoose Web Server: Websocket: Respond to Ping with Pong
CL: Mongoose Web Server: Websocket: Properly close a connection with Close frame (in response to a client's close and when protocol failure is detected)
CL: Mongoose Web Server: Websocket: Fix support of fragmented messages
CL: Mongoose Web Server: Websocket: Add support for control frames interjected in the middle of a fragmented message
PUBLISHED_FROM=e2b3794aaacc64633540c493194cccc62afa2077
2018-02-01 13:20:19 +00:00
Dmitry Frank
ce8657f12f
Fix corner case in preparing cgi env
...
`path_info` was dereferenced without checking for NULL, and a few lines
below, it was checked for NULL.
CL: none
PUBLISHED_FROM=9f14dc68c152b9b1119b276f047686d831bace38
2018-01-30 20:39:54 +00:00
Dmitry Frank
8e366916d5
Ensure that the name buffer is null-terminated
...
CL: none
PUBLISHED_FROM=f165b556582f712c2c1c752e01c41d22fe593397
2018-01-30 20:39:53 +00:00
Dmitry Frank
33f53ab000
Don't ignore setsockopt return value
...
PUBLISHED_FROM=f3c1fcf015f6f72eca2eb3d5dad469cd66a837a9
2018-01-30 20:39:52 +00:00
Dmitry Frank
bd15ad4301
Improve err handling in pubsub example
...
PUBLISHED_FROM=7660e252e1ac84bf2245718c548fb00288ff4e47
2018-01-30 20:39:51 +00:00
Dmitry Frank
e5b3b8ad32
Ensure not to overflow buf in udp server example
...
PUBLISHED_FROM=413f5073b0fc267d66ce04d8d40e9e9d7abac94d
2018-01-30 20:39:50 +00:00
Julien Ammous
e116c48bef
Remove redundant initialization
...
CL: none
PUBLISHED_FROM=9d68cdc298c520798468b43a19c84251bd0c21b4
2018-01-30 19:39:08 +00:00
Julien Ammous
7d7bb3b388
Don't use user_data in mqtt server
...
Integrates https://github.com/cesanta/mongoose/pull/884
Closes https://github.com/cesanta/mongoose/issues/883
CL: Mongoose Web Server: Don't use user_data in mqtt server
PUBLISHED_FROM=7785784a766e0ba7514bbba604cde14e7bad3f73
2018-01-30 19:39:05 +00:00
Dmitry Frank
0b4bf13335
Fix mg_parse_multipart in case of malformed req
...
CL: Mongoose Web Server: Fix mg_parse_multipart in case of malformed request
PUBLISHED_FROM=9b33b03e9ab2ca204ad2f8d061df169246644072
2018-01-30 19:39:03 +00:00
Dmitry Frank
228984a3fc
Fix a corner case in receiving UDP data
...
CL: none
PUBLISHED_FROM=9c13882517374644c6d799976f1048f04ae446d7
2018-01-30 14:35:15 +00:00
Dmitry Frank
f084ad8008
Fix pubsub example
...
CL: Mongoose Web Server: Fix publish-subscribe example
PUBLISHED_FROM=04fdb66c1d4eb56798a5be2634f9f9bb2f18f288
2018-01-30 14:35:14 +00:00
Dmitry Frank
255da78bed
Fix socket leak when there are too many open fds
...
CL: Mongoose Web Server: Fix socket leak when there are too many open file descriptors
Fixes https://github.com/cesanta/mongoose/issues/870
PUBLISHED_FROM=c802b6834a54eca37821d46efde192c527e0a6b7
2018-01-30 13:37:42 +00:00
Dmitry Frank
5d5badfcee
Fix memory leak in big_upload example
...
PUBLISHED_FROM=e6ccbd73b27985fbf9949adc3e07c90a75f75603
2018-01-30 12:51:15 +00:00
Dmitry Frank
4cf9f99ae9
Fix docs link
...
PUBLISHED_FROM=2b18b68e500a3d6123e80bd4db19e3b3b9900012
2018-01-30 09:50:44 +00:00
Dmitry Frank
673f25f75a
Include stdbool.h for NRF52
...
Fixes https://github.com/cesanta/mjs/issues/82
Integrates https://github.com/cesanta/mjs/pull/85
PUBLISHED_FROM=2f5f50c25ec1c92fdfb783cd95cb57f0cb20642b
2018-01-29 22:35:15 +00:00
Бобби
961fb96bb7
Fix OOB access in mg_match_prefix_n()
...
CL: Fix OOB access in mg_match_prefix_n().
Made mg_match_prefix_n() return non-negative result.
PUBLISHED_FROM=611454df6a6c55bfa7ddf05e7d268a86fa0457a8
2018-01-27 13:50:13 +00:00
Deomid Ryabkov
d6475fcd19
Fix TCP RX path regression in SSL mode
...
CL: Fix TCP RX path regression in SSL mode
PUBLISHED_FROM=2cfdb33e5f711bbc4b98e2d24ba3377de0f1d3c5
2018-01-18 11:04:45 +00:00
Dmitry Frank
ac538f755f
Close undrained and stuck http connections
...
CL: - Mongoose Web Server: close undrained and stuck http connections
PUBLISHED_FROM=a11656b195dbe2ef8473455a171a583e37cedb2c
2018-01-16 15:20:47 +00:00
Deomid Ryabkov
5b2eb4f0e1
Enable building with CS_ENABLE_STDIO=0
...
h/t @kzyapkov
PUBLISHED_FROM=d15a5a0057f69f2f755af6436e676b1b179d069d
2018-01-15 20:20:36 +00:00
Deomid Ryabkov
10c274c774
STM32 Ethernet support
...
AWS MQTT connection works
Also fixes https://github.com/mongoose-os-libs/ethernet/issues/1 (because why not).
PUBLISHED_FROM=7b0fa8894f2127335d075f2a97fcd37b932006b2
2018-01-12 13:02:29 +00:00
Deomid Ryabkov
eb3b81297d
Use stock ARM GCC and Newlib from Ubuntu distro
...
Standardize common packages in build images, to make better use of Docker image cache.
PUBLISHED_FROM=a080e83cf5dd80feaf7960147dee36413244a92c
2018-01-04 11:56:42 +00:00
Dmitry Frank
80f4133bbf
Get rid of magic numbers in parse_mqtt
...
PUBLISHED_FROM=63cc7ed8c3378bebf209d3620efb09d73675370c
2018-01-02 10:50:38 +00:00
Dmitry Frank
d10fb9451c
Move the recv limit check to mqtt
...
PUBLISHED_FROM=028d6f56ec1cc15484c995335f00d087b590faef
2017-12-29 17:35:29 +00:00
Dmitry Frank
88ae2ecadb
Drain rx_chain before closing the connection
...
PUBLISHED_FROM=08eee4052dd9bbc364875a577409cb78665dee30
2017-12-29 07:50:43 +00:00
Dmitry Frank
85d19dad47
Respect recv_mbuf_limit in lwip
...
PUBLISHED_FROM=470ff0f484bff3e4478651f0b64cc160bba8ebfc
2017-12-28 12:49:54 +00:00
Dmitry Frank
c5cc414181
Improve docs of str_util.h
...
PUBLISHED_FROM=de02f5cc6a9d854e92cf674e5382f793709da831
2017-12-17 14:50:54 +00:00
Dmitry Frank
17703fe3e8
Improve docs for logging
...
PUBLISHED_FROM=72f0892ecfba5b1c3c2a70f0ecd5715578d7ffce
2017-12-16 17:55:53 +00:00
Dmitry Frank
04aeeba2fa
Add inet_ntop and inet_pton to esp8266
...
PUBLISHED_FROM=0a321ace3753a518e299b795fb7a4eed19708bb6
2017-12-14 21:51:00 +00:00
Бобби
4e11d5cdbf
Move shadow to event API
...
PUBLISHED_FROM=cd059adee921dd10fd89100b0e2500ff8d7743eb
2017-12-14 13:32:11 +00:00
Dmitry Frank
be63c0dc89
Improve docs
...
PUBLISHED_FROM=3b75fd8247ba9028e0ef0c3e211e7c1a80013951
2017-12-04 10:06:08 +00:00
Sergey Lyubka
987bc1d580
Use 8k iobuf limit for aws
...
PUBLISHED_FROM=971951e1eeb82078b986cd6e25e52cfc1ccef286
2017-12-02 21:26:35 +00:00
Dmitry Frank
ddd35c0cba
Fail if authn file is configured but doesn't exist
...
PUBLISHED_FROM=2c176091ffb6c7c5cfe8ea4f05b6109e00b33383
2017-11-28 19:35:22 +00:00
Sergey Lyubka
c97b615785
Fix mg_parse_uri()
...
PUBLISHED_FROM=e5b829d93ecf946e5bdbbf33132be7068ffe0dd2
2017-11-28 16:45:52 +00:00
Dmitry Frank
9ab6d084df
Expose digest auth checking functions
...
PUBLISHED_FROM=1bfc6e332f56b68eb6155bb729a97a0d8d5a316c
2017-11-28 10:05:36 +00:00
Deomid Ryabkov
cf8d0a25aa
Rename base64.{c,h} to cs_base64.{c,h}
...
To avoid name clashes.
PUBLISHED_FROM=e6ae32ec48f9b599eace7a9214a1863cdc185fd9
2017-11-24 11:36:12 +00:00
Бобби
0a0852b576
Document mg_match_prefix
...
PUBLISHED_FROM=b85fe1ee1e7bae4528c1240d8531c410728d0709
2017-11-23 11:53:02 +00:00
Deomid Ryabkov
90716417c9
Compatibility with LwIP 2.0
...
2.0 redefined LWIP_VERSION in a way that is no longer compatible with use by preprocessor (boo).
also, tcp_pcb.acked is gone, but we only use it for debug, so it doesn't matter.
PUBLISHED_FROM=776f90a08bd5024fa8a61dae257af6c60ec6710d
2017-11-23 10:05:43 +00:00
Deomid Ryabkov
101afbc9b8
Use weaker but faster cipher suites
...
ECDHE is way too slow on ESP8266 w/o cryptochip, this sometimes results in WiFi STA deauths.
Disable DHE completely because it's just hopelessly slow.
PUBLISHED_FROM=d9c8e95b7d5c992f9e127726c569f187b1e0b453
2017-11-21 15:33:00 +00:00
Бобби
a197646867
Integrate cesanta/mongoose-os/pull/370
...
PUBLISHED_FROM=5bee629477514370f9b670771e786c4f4ddae934
2017-11-09 09:49:28 +00:00
Бобби
00d1d2c0e7
Make mjs & frozen vc98 & vc2017 friendly
...
PUBLISHED_FROM=7cde8b374d5e318b5cdd69fc5b4de86b2a9552f5
2017-11-08 16:04:08 +00:00
Deomid Ryabkov
6e50fe4475
Mongoose 6.10
...
PUBLISHED_FROM=c61fa89018f8cef4f798e094acff8d36c72869f2
2017-10-31 10:01:27 +00:00
Deomid Ryabkov
7942803a75
Fix MQTT SUBSCRIBE parsing
...
Make sure topic is properly NUL-terminated.
Ignore SUBSCRIBE requests with no topic expressions.
PUBLISHED_FROM=a00f39dda44fe63299e971a91a98f8ee57dd2a64
2017-10-30 15:34:22 +00:00
Deomid Ryabkov
a8b74a9021
Fix bug when network conn is closed before CGI
...
NULL out cgi_nc->user_data so it doesn't touch nc anymore.
PUBLISHED_FROM=de2f76981c377d8951fb8e18e8b3d41dbfcf38b1
2017-10-30 14:20:27 +00:00
Deomid Ryabkov
27a9a62843
Fix SimpleLink listener for SSL
...
Must set SSL parameters before invoking sl_Listen
PUBLISHED_FROM=9147e7aa945f75e73d5c7cd7987cb5749025a86b
2017-10-24 07:19:45 +00:00
Deomid Ryabkov
9b268b6c77
Fix timer handling
...
ev_timer_time may remain the same for legit reason, so to prevent looping, instead, reset it before invoking the handler.
To let user know what the initial setting was, pass it as the argument instead of current time (which is kind of pointless).
PUBLISHED_FROM=fa328009f097f9b49b5b0dd13a38ee6d6e6518de
2017-10-21 09:19:42 +00:00
Sergey Lyubka
3b3ac48edd
Fix potential leak in socks client
...
PUBLISHED_FROM=2cb4449d2f36d59db2b0dc37c46b35de6a461810
2017-10-19 13:49:43 +00:00
Sergey Lyubka
598e96a0cc
Make amalgam work on windows
...
PUBLISHED_FROM=92f43c7b0a705ff40c4aea07f2ee0627f8e0e4a1
2017-10-19 13:49:42 +00:00
Бобби
b5dd0e8093
Use verbose flags in both socks client and server
...
PUBLISHED_FROM=d17e96a97e1621e9788844bcd627c3143d37315c
2017-10-19 13:24:30 +00:00
Deomid Ryabkov
9b24fdfd1d
Reformat mongoose
...
PUBLISHED_FROM=5202fa46a6a834bde35168ba566d3dce7c48f453
2017-10-19 13:24:26 +00:00
Бобби
8313896a85
Unbind things from v7
...
PUBLISHED_FROM=d20f138ae37c99a34cc29e7bfb327d7834404d93
2017-10-18 16:05:25 +00:00
Бобби
8193302162
Initial socks5 client & server implementation
...
PUBLISHED_FROM=05d3cca6223c963e7ae89dde3628fa8fad46e6bd
2017-10-18 14:05:13 +00:00
Бобби
6e3e5560d0
Move mongoose docs to https://cesanta.com/docs/
...
PUBLISHED_FROM=ebf5568abe82952ab2751298185a10189098013f
2017-10-16 15:18:24 +00:00
Dmitry Frank
f0c6630a16
BREAKING: Sys config API change
...
Now apps should use getters and setters instead of accessing struct
fields directly, e.g. instead of `get_cfg()->update.timeout` it should
be `mgos_sys_config_get_update_timeout()` to get the current value, and
`mgos_sys_config_set_update_timeout(123)` to update the value.
For now, the config structs are public, but they will be made private
soon, so use accessors to keep your code working.
PUBLISHED_FROM=f7d582421a8d7e4d1ed50a280f2670d8b62f8d45
2017-10-11 11:15:48 +00:00
Deomid Ryabkov
1db747da29
Do not double-count recved bytes
...
Mongoose would report consumed bytes twice if mg_call is invoked recursively (e.g. proto_handler uses mg_call to invoke user's handler).
Reporting twice as much recved as was delivered effectively disables LwIP's TCP throttling and causes buffers to grow too big.
PUBLISHED_FROM=4ad5cd5db4dd54623bd6de2d50d32ddcc9e2b08a
2017-09-14 13:51:03 +00:00
Deomid Ryabkov
8065439f96
Acquire lock when manipulating rx in SSL recv path
...
PUBLISHED_FROM=a34cfa3ebc12daf75d7f24c8d3f3707dcc33d9a2
2017-09-14 11:06:24 +00:00
Deomid Ryabkov
62c896a872
Merge pull request #856 from cesanta/dev
...
Mongoose 6.9
2017-09-13 14:57:33 +03:00
Deomid Ryabkov
2db07dfc3b
Mongoose 6.9
...
PUBLISHED_FROM=9e9047060b688291655ed227d19b7937fa9a147d
2017-09-13 11:36:46 +00:00
Sergey Lyubka
34eb3f1e66
Merge pull request #855 from cesanta/dev
...
Mongoose 6.8
2017-09-13 11:48:50 +01:00
Deomid Ryabkov
9d30e892e9
Mongoose 6.8
...
PUBLISHED_FROM=082d0bf5e9b06b850382ce502c7f5b4d68a6a328
2017-09-13 09:21:30 +00:00
Dmitry Frank
0aaba7a461
Add cs_timegm
...
Which is a slightly modified version from
https://stackoverflow.com/questions/283166/easy-way-to-convert-a-struct-tm-expressed-in-utc-to-time-t-type
PUBLISHED_FROM=b73f920ca42c45473c23337782e815306bdf69f1
2017-09-12 16:20:16 +00:00
Deomid Ryabkov
3d6b568c6e
Prefer ECDHE with CBC over DHE ciphersuites
...
PUBLISHED_FROM=4ddfc25af77247fac7e7d04cc0e56d6f3800f87b
2017-09-07 11:04:38 +00:00
Deomid Ryabkov
2b2816cfe4
Store reassembled WS frame length in proto_data
...
PUBLISHED_FROM=7bbe7dd20dca8435c786dca30200a4973ae0827d
2017-09-06 19:05:00 +00:00
Deomid Ryabkov
2fa18b47db
Fix DNS name uncompression
...
PUBLISHED_FROM=07e820f539fa5feca2ad1cf81faca8404b773a65
2017-09-06 18:05:29 +00:00
Deomid Ryabkov
c8af7cdd27
Check for int overflow when parsing WS frames
...
PUBLISHED_FROM=b7325b38e881455df703b0b628c41931565ccb33
2017-09-06 17:34:37 +00:00
Deomid Ryabkov
f857f6394f
Access QoS field after validating topic length
...
PUBLISHED_FROM=6f2d9849d75ca1ec2b6dade11ccad8d0c5d4b3bd
2017-09-06 15:35:15 +00:00
Deomid Ryabkov
97d733e129
Fix MQTT broker SUBSCRIBE request parsing
...
Add checks on the number of subscribe requests per packet and overall per-session subscription limit.
PUBLISHED_FROM=faaf5c50af31a0694c9308a664f2e418dbb0eb18
2017-09-06 13:23:13 +00:00
Deomid Ryabkov
77e44c7c0e
Harden MQTT variable length parsing
...
PUBLISHED_FROM=e16ee57bc30277e5b5684e53da78e69baaf9f779
2017-09-06 11:49:43 +00:00
Наше вам с кисточкой
abf89d32d9
Make C ws client work with Go
...
PUBLISHED_FROM=263553121b992ec0f66b0275b4e10f4176281812
2017-09-01 08:35:53 +00:00
Deomid Ryabkov
177e05deb2
CC3220: AWS connection works
...
PUBLISHED_FROM=5831462c5be0b79afff32130a1f45784f32bc524
2017-08-31 21:52:31 +00:00
Deomid Ryabkov
eb5645241c
CC3220: WiFi, basic networking support
...
PUBLISHED_FROM=db89a45a536f0234d6d5cf740354c0dbeeff1f26
2017-08-31 15:32:50 +00:00
Deomid Ryabkov
202300952c
CC3220: GPIO, sys_config and mgos_init support
...
```
Using port /dev/ttyACM0
[Aug 30 19:33:02.105]
[Aug 30 19:33:02.114] cc32xx_init c_no_libs 1.0 (20170830-163205/mos8@6587ffd6+)
[Aug 30 19:33:02.123] cc32xx_init Mongoose OS 2017083016 (20170830-163205/mos8@6587ffd6+)
[Aug 30 19:33:02.130] cc32xx_init RAM: 253588 total, 240044 free
[Aug 30 19:33:04.430] cc32xx_start_nwp NWP v3.4.0.0 started, host driver v2.0.1.19
[Aug 30 19:33:04.437] mgos_vfs_dev_open slfs_container ({"prefix": "spiffs.img.0"}) -> 20005a64
[Aug 30 19:33:04.450] cc32xx_vfs_dev_slfs_ 20005a64 spiffs.img.0.0 262144 0xfffffffffffffffe
[Aug 30 19:33:04.457] mgos_vfs_mount Mount SPIFFS @ / (dev 20005a64, opts ) -> 20005a74
[Aug 30 19:33:06.102] mgos_vfs_mount /: size 233681, used: 4016, free: 229665
[Aug 30 19:33:06.108] mgos_vfs_mount Mount SLFS @ /slfs (dev 0, opts ) -> 20005ed4
[Aug 30 19:33:06.114] mgos_vfs_mount /slfs: size 0, used: 0, free: 0
[Aug 30 19:33:06.718] mgos_sys_config_init MAC: 04A316459442
[Aug 30 19:33:06.720] mgos_sys_config_init WDT: 30 seconds
[Aug 30 19:33:06.724] Hello, world!
[Aug 30 19:33:06.728] mgos_init Init done, RAM: 253588 total, 236544 free, 235864 min free
```
PUBLISHED_FROM=7e83c9ddcc642bd324a40e125d6636ece824fb18
2017-08-30 17:49:34 +00:00
Deomid Ryabkov
c7bea65ae7
CC3220 FS support
...
For now, we only support SPIFFS-in-a-box, same as CC3200.
On CC3200SF it should be possible to have SPIFFS on built-in flash, but that is left for later.
PUBLISHED_FROM=dee337c8cd8ed288c22abe9960eef81e6e90cc4a
2017-08-30 16:50:03 +00:00
Deomid Ryabkov
d5a9000d46
Harden MQTT parser some more
...
PUBLISHED_FROM=5e7fcc7bf145aa8e1045e8d627b1c0731bb4341b
2017-08-30 12:49:30 +00:00
Deomid Ryabkov
f62018451f
Fix subscription parsing in MQTT broker
...
Also, do not accept PUBLISH and SUBSCRIBE before a sucessful CONNECT.
PUBLISHED_FROM=b5096cdc2ec5da1358244c428efbbb2e20be1a05
2017-08-30 08:49:35 +00:00
Deomid Ryabkov
0a93e301c9
CC3220: Exception handling, NWP init
...
Also make CC3200 use newer ARM compiler, generates slightly smaller code.
PUBLISHED_FROM=a0be49d7ea864a95886f7110887a59f6f11802d7
2017-08-29 21:49:53 +00:00
Dmitry Frank
6fe9cae62a
Add mg_next_comma_list_entry_n()
...
And mgos_conf_check_access_n()
PUBLISHED_FROM=c7de937b4f5463ca463d604183a4ee831617bd6d
2017-08-27 12:49:28 +00:00
Deomid Ryabkov
38e984a008
CC3220 first steps
...
Achievement unlocked: CC3220 port prints a boot banner.
Then locks up.
Included in this PR is refactoring to pull out common parts to be shared with CC3200.
PUBLISHED_FROM=5fb9d9a00bb9ce7f63dde20bc1876076b76d5257
2017-08-26 17:05:00 +00:00
Our CI Bot
09e4254718
Add mqtt_over_websocket_server example
...
Fixed bug in websocket handshake:
now adding Sec-WebSocket-Protocol header in handshake response.
PUBLISHED_FROM=e4a71ff9dc4aeec63db40cb7f356dc5b25c1215a
2017-08-24 10:34:35 +00:00
Dmitry Frank
d4b55c4ceb
Separate digest auth from HTTP headers parsing
...
PUBLISHED_FROM=f97569ae2f31ab94ce4875eae4d0a198f719c388
2017-08-22 19:51:53 +00:00
Deomid Ryabkov
7d5479985d
Enable LWIP net_if locking on ESP32 (doh!)
...
https://forum.mongoose-os.com/discussion/comment/4620/#Comment_4620
PUBLISHED_FROM=679dd48e078615ef4f57d1879957b734f549ef2e
2017-08-21 14:24:51 +00:00
Deomid Ryabkov
6517af3dea
CC3220 blinky
...
Ignore all the mess, this is just the beginning...
PUBLISHED_FROM=41ab3c5af0b1d07204619dd4d8dc2e84b6a54f32
2017-08-21 07:52:09 +00:00
ruslanvaliullin
7632a5e4af
Fix ignoring DhcpNameServer
...
PUBLISHED_FROM=73d6767e4aaa7249eeb5d76f9e7160be041292ca
2017-08-17 15:51:21 +00:00
ruslanvaliullin
7f20c41dd5
Implement rmdir & sleep func instead macros
...
PUBLISHED_FROM=62c73e5fb4f70e2b5b8824ce092012508640b173
2017-08-17 14:32:36 +00:00
ruslanvaliullin
66b23b11b0
Fix Nmap reset on ESP8266
...
PUBLISHED_FROM=7b9c85e7708721f2c6d0e2fc8ad5c32c61b48854
2017-08-16 17:40:48 +00:00
Deomid Ryabkov
448b44094a
Add automated check for extern "C"
...
Fix headers that didn't have it
PUBLISHED_FROM=ce8140783d4b661f16278a4a5adc957b21965473
2017-07-27 11:19:56 +00:00
Sergey Lyubka
8bbb44f90c
Always send MG_EV_HTTP_CHUNK
...
PUBLISHED_FROM=33957356e1510b73b37768496c74a6bf12630215
2017-07-21 13:34:52 +00:00
Deomid Ryabkov
0fba87c755
Make mg_url_encode public
...
Change the API to heap-allocate the string and get rid of a bunch of fat stack buffers.
PUBLISHED_FROM=c793dc64a9a044a9769d92ea16859f5d704a2181
2017-07-21 12:06:52 +00:00
Sergey Lyubka
fea648496c
Fix https://github.com/cesanta/mongoose-os/issues/318
...
PUBLISHED_FROM=2fc7b59b2edd0f473acd22067439471778acef8e
2017-07-20 08:05:12 +00:00
Sergey Lyubka
944a6b761c
Fix https://github.com/cesanta/mongoose/pull/824
...
PUBLISHED_FROM=ed2c39b9e00a7374af7fed5af0c9acd6c330334a
2017-07-17 14:28:35 +00:00
Sergey Lyubka
f1ae183752
Fix https://github.com/cesanta/mongoose/pull/829
...
PUBLISHED_FROM=6e56c250fe62010e25b6ed489c0d608163ba629c
2017-07-17 14:28:34 +00:00
Sergey Lyubka
a0ece4e969
Fix links for MWS readme
...
PUBLISHED_FROM=c6c31d47eedcfe09b675e3f56d967da5b22809f6
2017-07-17 12:18:57 +00:00
Sergey Lyubka
0bb14abbdd
Nitpick for MQTT example
...
PUBLISHED_FROM=a0dd26c00b41363f1cc58c28f530fbdf272ed146
2017-07-14 10:52:37 +00:00
Deomid Ryabkov
4c37e49274
Disable insecure and deprectaed SSL protocols
...
Also allow disabling conmpression and forcing server cipher list.
PUBLISHED_FROM=5539deec9c2382ba34597872dd7f3a5abc0cc311
2017-07-05 17:04:31 +00:00
Deomid Ryabkov
2a2bc33a89
Add mg_strstr
...
PUBLISHED_FROM=4306e870e2cab854febb6becc198ca2247e2e002
2017-07-05 16:20:32 +00:00
Dmitry Frank
41558bbf64
Fix formatting
...
PUBLISHED_FROM=4d4d49136e13ba8035d452a4f64fcaf48f15bdb3
2017-07-04 19:35:55 +00:00
Sergey Lyubka
4d0cc95ff4
Add JS net api test
...
PUBLISHED_FROM=f2821b104f8f2fc196ce4064b7c9f35ea152368d
2017-07-04 19:04:45 +00:00
Deomid Ryabkov
cfd28a4f7a
Add mg_strchr
...
Write unit tests for some mg_str functions.
PUBLISHED_FROM=1fc7e1d5d5ef259d4023f295aec8651caa3e7e86
2017-07-03 15:05:54 +00:00
Deomid Ryabkov
5a0b6fc35a
Use SSL_CTX_{get,set}_app_data to store context
...
h/t @hendrikw01
Fixes https://github.com/cesanta/mongoose/issues/826
Closes https://github.com/cesanta/mongoose/pull/831
PUBLISHED_FROM=d5e1285bee9bcbb85d581ee62972a2fde7d9c0db
2017-07-03 11:04:40 +00:00
Dmitry Frank
3e59e1c465
Fix formatting
...
PUBLISHED_FROM=1803e726eee7bb64496d70389655083eb70257ab
2017-07-02 20:05:53 +00:00
Sergey Lyubka
ae611a6e55
Clean up v7 from mongoose
...
PUBLISHED_FROM=efa9cc3aaf0c5ae8841e029370f882b615cebf1b
2017-07-01 08:51:09 +00:00
Sergey Lyubka
a7a2e3deb1
Introduce log filter
...
PUBLISHED_FROM=b8f538f87e034452032284d45b78090338e87f72
2017-06-29 14:34:28 +00:00
Deomid Ryabkov
cae0a1cbc0
Fix mongoose amalgamation
...
PUBLISHED_FROM=16ae777c949caf87e7dce428d62fa8878a30d318
2017-06-28 19:13:47 +00:00
Sergey Lyubka
244e5f67d3
Commonize pattern matching functions
...
PUBLISHED_FROM=e69e298a51dbe0f9c47184169ecad06eef0676fc
2017-06-28 18:35:37 +00:00
Dmitry Frank
ff078882d5
Don't define fileno stub in C++
...
PUBLISHED_FROM=98fb6c78d20a98dfba07ba6671bd51a394bbc4ca
2017-06-27 15:19:50 +00:00
Sergey Lyubka
8d76733fad
Make mg_conn_addr_to_str return len
...
Also amend api_net.js to use returned length.
PUBLISHED_FROM=38e15f9587edf28049c5b9e5f126b4db159910e8
2017-06-26 21:02:02 +00:00
Deomid Ryabkov
fb3a5a7d90
Disable cert verification when ssl_ca_cert is '*'
...
PUBLISHED_FROM=578706e48a2c1fbbf5e9aaab3eba743e7d13fa61
2017-06-21 14:23:30 +00:00
Deomid Ryabkov
f374ac5f9a
Do not close already closed connection
...
PUBLISHED_FROM=9e345f2319141f20b89e28a2d29adba21ea213e1
2017-06-20 20:06:18 +00:00
Deomid Ryabkov
02707364f0
Lower conn accept message verbosity to DEBUG
...
Raised in previous commit by mistake
PUBLISHED_FROM=31a73fb610c34ed0c85d081bfa11a8067f216696
2017-06-20 19:14:33 +00:00
Deomid Ryabkov
104106b9cf
Invoke tcp_accepted() on the listening pcb
...
As required by the LWIP API
PUBLISHED_FROM=7bfc6d816aa69f8fdd7592ade48b2d52e2d4991a
2017-06-20 19:14:31 +00:00
Deomid Ryabkov
474e065a30
MAX_PATH_SIZE -> MG_MAX_PATH
...
PUBLISHED_FROM=32bda9e86a11cad3b908d211a1f7bc9d27312874
2017-06-20 18:06:36 +00:00
Deomid Ryabkov
27094896b1
mOS filesystem refactoring: introduce VFS
...
With different filesystem implementations and storage drivers, like grown-ups have :)
This is not currently used to add any new functionality, we still have
only one FS and driver on ESP8266 and ESP32; CC3200 has two: SPIFFS and SLFS.
This will be used soon to implement filesystems on additional SPI flash chips and SD cards.
PUBLISHED_FROM=293960fef82952c505e9b1925aac7724c7308362
2017-06-13 15:35:38 +00:00
Dmitry Frank
cd48bcfd7d
Don't ignore userdata in mg_bind
...
PUBLISHED_FROM=0ffcd770535efa66ff1b6f9201f2caf832bd5055
2017-06-09 19:05:40 +00:00
Sergey Lyubka
5baeba53d7
Reorg docs
...
PUBLISHED_FROM=657a53762ada0ab3fe715a15939eb510a637e37f
2017-06-09 19:05:34 +00:00
Dmitry Frank
3a3b433849
Don't ignore userdata in mg_bind
...
PUBLISHED_FROM=0ffcd770535efa66ff1b6f9201f2caf832bd5055
2017-06-09 16:18:45 +03:00
ruslanvaliullin
a2192ae483
Add mbuf_append result check
...
PUBLISHED_FROM=967a7ff3684e548ddbfe92365f7718a99e14d098
2017-06-07 18:50:24 +00:00
Deomid Ryabkov
023b55f2e5
MQTT client keep alive fixes
...
- Move keep alive management up to the Mongoose library
- Only outgoing control messgaes should reset keepalive timer
- Add unit test
https://forum.mongoose-os.com/discussion/1155/mqtt-keep-alive-compliance-issue
PUBLISHED_FROM=f86e30744ded53a6f7f96afec066b4ff3b4372c0
2017-06-04 21:50:23 +00:00
Deomid Ryabkov
e4309d472b
Annotate cs_log_printf with format attribute
...
This adds compile-time checks for format strings.
Fix issues exposed by this.
PUBLISHED_FROM=b9f820d8ad44fce9186dfdad4fe109fafa5371ce
2017-05-30 12:05:34 +00:00
Deomid Ryabkov
c5452fc2ec
Don't ignore non-merge commits when publishing
...
Merge commits are not explicitly ignored either: they're just naturally
ignored as empty commits.
PUBLISHED_FROM=12871fd4c9b1e9de4e57e13d810bffd98ddba299
2017-05-28 13:22:49 +00:00
Dmitry Frank
f78ee9d42e
Don't ignore non-merge commits when publishing
...
Merge commits are not explicitly ignored either: they're just naturally
ignored as empty commits.
PUBLISHED_FROM=2c814104eedd76ee90813488277ecaaf2baf6315
2017-05-28 13:22:48 +00:00
Deomid Ryabkov
c8416cc17d
NULL out name server field properly
...
Fixes https://github.com/cesanta/mongoose-os/issues/260
PUBLISHED_FROM=e95076915d52edb2298e3ea386281c277e42c89a
2017-05-26 14:44:11 +00:00
Deomid Ryabkov
cf0a969a65
ESP8266 and ESP32 build image updates
...
ESP32: 2.0-r6
ESP8266: 2.0.0-1.5.0-r5
This brings updated mbedTLS with support for on-disk CA chains:
https://github.com/cesanta/mbedtls/compare/esp32_2.0-r5...esp32_2.0-r6
ESP8266 gets bigger rollup (ESP32 got those changes earlier, seems ok):
https://github.com/cesanta/mbedtls/compare/esp8266...esp8266_2.0.0-1.5.0-r5
Saves ~1.5K RAM for now, but will allow adding more roots to ca.pem without wasting RAM.
Refactored docker build for ESP8266 in the same way as was done earlier for ESP32.
PUBLISHED_FROM=db8eb0f91875d02266a8baaf1141c0d65eb59674
2017-05-25 17:20:18 +00:00
Deomid Ryabkov
06670d3401
Fix double-removal of send_mbuf data with SSL on
...
Other minor fixes.
Also decrease idle poll interval to 100 ms, as a workaround for some cases of incorrect next poll delay computation.
Added HW tests for SSL fetches.
Fixes cesanta/mongoose-os#262
PUBLISHED_FROM=4d19f845768b4b3b990d25959d4211972368d7fc
2017-05-19 16:20:00 +00:00
Deomid Ryabkov
7c0493071f
Fix a typo
...
PUBLISHED_FROM=183a1bb571d0e2f5c23181107d30417f73c1eeb1
2017-04-11 11:22:42 +01:00
Alexander Alashkin
c60fe0c6f6
Fix crash in multipart handling
...
Close cesanta/dev#6974
PUBLISHED_FROM=4d4e4a46eceba10aec8dacb7f8f58bd078c92307
2017-04-11 11:22:18 +01:00