Commit Graph

474 Commits

Author SHA1 Message Date
cpq
cca771e70e Stricter check for test_dns_error() 2023-07-01 20:23:59 +01:00
Sergey Lyubka
415bbf2932
Merge pull request #2278 from cesanta/httpheaders
fix header truncation
2023-06-29 22:59:51 +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
Sergio R. Caprile
0adc858c85 add unit test 2023-06-28 11:01:59 -03:00
Sergio R. Caprile
661ed61779 add hw test support for Keil 2023-06-26 18:20:38 -03:00
Sergio R. Caprile
d6be9a2bba wip 2023-06-19 14:36:49 -03: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
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
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
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
e762bbdbf8 disambiguate comments 2023-06-05 18:39:13 -03:00
Sergio R. Caprile
f8579131e8 MQTT QoS + v5 2023-05-31 21:35:03 -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
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
Allan Park
4663090a8f Added check for negative value for HTTP Content-Length header 2023-05-16 18:52:33 +03:00
scaprile
fbe626e791 simplify RTOS-related Keil examples 2023-05-05 17:41:47 -03:00
cpq
9f5d8c4280 Fix #1927: respect Accept-Encoding when serving .gz files 2023-04-26 09:07:43 +01:00
robert
6c13df1aff MQTT: support for properties feature added 2023-04-23 16:35:50 +03:00
Sergio R. Caprile
cd64bfe84b Remove %H %V %Q %q modifiers 2023-04-14 10:13:22 -03:00
scaprile
838a2236a1 Add preliminary test 2023-04-11 17:47:38 -03:00
cpq
6b29a2a724 Fix #2104 - %.*f formatting 2023-04-07 08:38:28 +01:00
Sergio R. Caprile
84b92096d4 Add STM32CubeIDE examples and test for build 2023-04-06 17:33:45 -03:00
Sergio R. Caprile
49579eb2b4 Test host only TLS mode 2023-03-31 17:00:05 -03:00
Sergio R. Caprile
a819513a92 Remove old example and its breadcrumbs 2023-03-27 18:14:55 -03:00
Sergio R. Caprile
2ece3a8b4c MIP_STATE_* -> MG_TCPIP_STATE_* 2023-03-09 11:25:02 -03:00
cpq
f2076fe309 Add more tests for mg_strstr() 2023-02-26 01:32:03 +00:00
cpq
910f19fe55 Use mg_queue in mip 2023-02-24 19:40:31 +00:00
cpq
515e438d4f Refactor queue 2023-02-15 18:53:44 +00:00
cpq
6f011fce3b Serialize HW tests 2023-02-13 03:10:09 +00:00
cpq
bf9d69ab56 Add struct mg_queue and API, change examples/multi-threaded, add tests 2023-02-11 13:24:26 +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
b513d40bd6
add coverage ws.c (#2050)
Co-authored-by: Jean-Francois Simon <jfsimon@startmail.com>
2023-02-10 15:51:44 +01:00
Jean-François Simon
de1ff6ed49
Add test to mqtt (#2041)
Test coverage mqtt
2023-02-09 15:05:55 +01:00
Jean-François Simon
ad1d8cbedd
Add test to mqtt (#2040)
coverage: mqtt
2023-02-09 11:36:08 +01:00
cpq
2c62e58dbd Move mip/ -> src/tcpip/, rename mip_ -> mg_tcpip_ 2023-02-07 21:35:37 +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
4bf39e18d9 Add mg_print_ip, mg_print_ip_port helper functions 2023-01-29 14:30:06 +00:00
Sergio R. Caprile
44e781d7da Make MacOS happy be getting rid of sprintf() 2023-01-20 11:54:56 -03: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
b259bdeddd Rename mip_rxcb to mip_qwrite, add mip_qread and enforce rx() for drivers 2023-01-03 19:33:26 -03:00
cpq
57a5c0ba38 Add TinyUSB example 2022-12-19 14:31:54 +00: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
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