Sergio R. Caprile
2297fb17c8
Squashed commit of the following:
...
update for tag movement
updated to new release
update pack in examples
new release number
rename to extra
Cleanup
Added ready-made examples to ST pack
Add Keil examples
Fix CRLF, start adding examples descriptions
Remove examples
STM32Cube Expansion Pack with no examples
Add STM32Cube Expansion Pack skeleton
Added examples for discussion
Add support for Cube
Working on examples
pack skeleton ready
2024-11-20 13:39:04 -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
2b8b0ebe95
Pico-SDK support fixes and cleanups
2024-11-11 14:52:28 -03:00
Sergey Lyubka
51a5dc78d7
zip only web_root files
2024-11-09 08:09:50 +00: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
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
5b52529295
Add/fix Zephyr tests (again)
2024-10-10 15:49:53 -03:00
Sergio R. Caprile
fa24a3e09e
Add test Makefiles for more IDEs
...
Expand Wizard test script
2024-10-08 18:55:32 -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
23ada5c7a5
try to get abort texts from GH
2024-10-03 13:46:50 -03:00
Sergio R. Caprile
9bcf1d662b
fix tests
2024-09-27 18:33:26 -03:00
Sergio R. Caprile
882dd1f3a7
add Wizard examples
2024-09-26 20:20:00 -03:00
Sergio R. Caprile
877cbbd11d
Revert "fix printf precision handling"
2024-09-24 18:01:07 -03:00
Sergio R. Caprile
3742da8770
fix printf precision handling
2024-09-20 20:40:54 -03: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
eeecbbcff9
Fix #2871 - accept *
in mg_http_serve_opts::mime_types
2024-09-02 06:12:02 +01: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
Sergio R. Caprile
9bdc910327
do proper connect
2024-07-23 14:35:32 -03:00
Sergio R. Caprile
91606a9e3f
improve MIP tests
2024-07-22 20:22:29 -03:00
Sergio R. Caprile
be8dbb0dc7
fix 411 not draining header data
2024-07-01 14:38:27 -03: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
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
df257a8e8a
Add mtls and chacha20
2024-06-09 17:43:49 +01:00
Sergio R. Caprile
ab75bfa6e7
bring mg_strdup() back
2024-05-31 17:45:53 -03:00
Sergey Lyubka
03402cf359
Add pack.js
2024-05-19 15:45:03 +01:00
Sergio R. Caprile
9dc3d09981
fix WolfSSL
2024-05-17 17:54:52 -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
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
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
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
3c531897b6
cleanup 'str' API
2024-05-09 14:10:27 -03:00
Sergio R. Caprile
4be3dfd52b
Fix nomadic brew
2024-05-07 14:56:48 -03:00
Sergey Lyubka
379e047289
regenerate certs
2024-05-07 15:40:13 +01:00
Sergio R. Caprile
205a564482
move to new skeleton
2024-05-01 14:16:43 -03:00
Sergio R. Caprile
fe0b144b84
move to new skeleton
2024-04-29 11:23:00 -03:00
Sergio R. Caprile
a0b6e70ff8
move to new skeleton
2024-04-29 10:58:43 -03:00
Sergio R. Caprile
4843323f87
move to new skeleton
2024-04-24 16:09:24 -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
312ca8e978
Tiny nit - fix dependencies
2024-04-20 18:24:41 +01:00
Sergio R. Caprile
89aaf1c30c
move Makefile to test/
2024-04-19 18:53:25 -03:00
Sergio R. Caprile
0a168b6791
fix fuzzer
2024-04-18 10:05:41 -03:00
Sergio R. Caprile
ef61d6ea48
remove http_match_uri()
2024-04-17 16:13:10 -03:00
Sergio R. Caprile
2bd188f3d6
add simple API support for app MQTT pub retries
2024-04-16 19:17:37 -03:00
Sergey Lyubka
e0e599ffa1
Fix #2612 - struct mg_str::ptr -> buf
2024-04-16 22:42:45 +01:00
Sergey Lyubka
ba678b9ad1
TLS client implementation
2024-03-25 19:20:40 +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
3ac9bd0468
Fix #2619 - use mg_tls_pending() API to check for buffered TLS data
2024-03-12 08:30:04 +00: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
309668ccbc
Increase local file buffer size in mg_http_upload()
2024-03-02 10:56:06 +00:00
robert
c59bf6613a
HTTP: respond to messages which have no explicit lengths
2024-02-28 04:01:39 -05:00
Sergio R. Caprile
6862981640
test returned content-type for user page404
2024-02-23 09:11:42 -03:00
Sergey Lyubka
01ae80ecd1
Fix fuzzer call for mg_span()
2024-02-22 08:36:25 +00:00
Sergey Lyubka
0e2f3de154
Change mg_file_read() signature: return mg_str
2024-02-16 12:07:35 +00:00
Sergey Lyubka
5baa4d969e
Fill c->loc for outbound connections
2024-02-14 12:32:26 +00:00
Sergey Lyubka
2419f02766
Fix #2592 : do not close pipelined connection prematurely
2024-02-11 09:05:19 +00:00
Sergio R. Caprile
1a5ea930ab
Update fuzz.c for mg_commalist -> mg_span
2024-02-04 23:41:16 -03:00
Sergey Lyubka
936e7bbc88
mg_split -> mg_span. Remove mg_commalist
2024-02-04 09:26:42 +00:00
Sergey Lyubka
e0668bc1c0
Allow user specify file in mg_http_upload
2024-02-04 08:56:32 +00:00
Sergey Lyubka
f8898b016e
More unit tests for mg_split()
2024-02-01 18:21:46 +00:00
Sergey Lyubka
0fc0230364
Changed the order of handlers: protocol first, user second
2024-01-26 10:34:24 -03:00
Sergey Lyubka
6b0e4a425d
Fix #2552 - reject requests with invalid/absent chunk length
2024-01-20 09:35:01 +00:00
Sergio R. Caprile
deca1aaf46
remove fn_data from event handler signature
2024-01-09 14:51:19 -03:00
cpq
144c2f443e
TLS layer: c->rtls to optimise recvd TLS data
2023-12-10 12:18:07 +00:00
cpq
693316de44
Add profiling capability
2023-12-08 17:00:42 +00:00
cpq
bd53e46873
Do not allow invalid UTF8 in method, uri, header names
2023-11-25 11:33:07 +00:00
Sergio R. Caprile
07936343c8
improve randomness in non-random environments
2023-10-31 19:17:58 -03:00
Sergio R. Caprile
f0a927831e
improve MQTT test speed
2023-10-30 16:20:55 -03:00
robert
34639f86b0
Improved test coverage
2023-10-13 07:22:21 -04:00
Sergio R. Caprile
a51802ecaf
Fix tcp example for 2-way TLS
2023-10-11 16:25:24 -03:00
cpq
293ee2162c
Add mg_json_next() for iterating objects/arrays
2023-10-07 22:40:51 +01:00
cpq
46ecb07fc8
Fix #2192 - honor addr%scopeid ipv6 notation
2023-09-29 15:49:47 +01:00
cpq
7884a2f3c7
Get rid of MG_EV_HTTP_CHUNK
2023-09-26 20:45:24 +01:00
cpq
377d6acc74
Fix leak in unit test
2023-09-22 08:12:09 +01: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
Sergio R. Caprile
fdfad8462c
Optimize test coverage
2023-09-12 16:28:10 -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
robert
264026acde
added TCP/UDP packet splitting to fit within MTU
2023-09-12 07:05:13 -04:00
Sergio R. Caprile
310ffcd4eb
add host only validation
2023-09-11 16:34:24 -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
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
cpq
527e89754e
Change base64 API
2023-08-22 12:11:13 +01:00
Sergio R. Caprile
b4c645f703
Add MQTT test for MIP
2023-08-21 17:22:42 -03:00
cpq
b32d1c15f0
Store certs in certs/. Add mg_unpacked()
2023-08-20 23:43:04 +01:00