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 |
|
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 |
|
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 |
|
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 |
|
Jean-Francois Simon
|
754c68fccc
|
Release MIP tests using tuntap
|
2022-11-29 11:20:22 +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 |
|
jfsimon1981
|
d958ec2ac8
|
Revert "mip_test.c http fetch (#1851)" (#1864)
This reverts commit 07aac8e6e948c92d5eec6384daa54216eced92a0.
|
2022-11-16 18:02:23 +01:00 |
|
jfsimon1981
|
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 7ba68dd20dc34147cd545479edde909c6c4f8832
Author: Jean-Francois Simon <jfsimon@startmail.com>
Date: Wed Nov 16 16:19:50 2022 +0100
Proper C/C++ struct initialization.
commit aeab3ef7acb3315c7f356f6a2dc21f80e9341161
Author: Jean-Francois Simon <jfsimon@startmail.com>
Date: Tue Nov 15 17:09:29 2022 +0100
Fixed C++ builds.
commit 2afd52910724a6bdb75d0aba551fb0eac0c3eebb
Merge: 14710b81 f8445a4c
Author: jfsimon1981 <jfsimon1981@gmail.com>
Date: Tue Nov 15 11:33:56 2022 +0100
Merge branch 'cesanta:master' into master
commit 14710b81e43640688a1d5603d6ea3b2d72850947
Author: Jean-Francois Simon <jfsimon@startmail.com>
Date: Tue Nov 15 11:07:15 2022 +0100
Added MIP free.
commit 6393cd149dc77f8f14f816b3607b0bb25031fceb
Author: Jean-Francois Simon <jfsimon@startmail.com>
Date: Tue Nov 15 11:06:44 2022 +0100
Adding mip_free() function.
commit feee81b7339b660dc130e45468ad87daf559659e
Author: Jean-Francois Simon <jfsimon@startmail.com>
Date: Tue Nov 15 11:05:55 2022 +0100
Adding mip_free() function.
commit f8445a4c8589a08b5afd9c08829fc0138a322ab5
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 71f5be011bebdd472890f036fa1fbaa2c6b69af7
Author: Sergio R. Caprile <scaprile@users.noreply.github.com>
Date: Fri Nov 11 20:15:01 2022 -0300
Update test.yml
commit b53d3cf0329611e3cd17f977050fda702c244fa0
Merge: 7a71038a a39b7ddb
Author: jfsimon1981 <jfsimon1981@gmail.com>
Date: Fri Nov 11 16:10:53 2022 +0100
Merge branch 'cesanta:master' into master
commit 7a71038a2755727763895c20b9bba1ad5dd08862
Author: jfsimon1981 <jfsimon1981@gmail.com>
Date: Fri Nov 11 16:09:22 2022 +0100
Update mip_test.c
commit a39b7ddbac3f3ce94ee289cace8a7bda609a2c9f
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 192ae56ece70384b4504928e93f732ce45bfea2e
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 7b0509c878d758e7148da1665f9b92adee025d7e
Author: Jean-Francois Simon <jfsimon@startmail.com>
Date: Wed Nov 16 17:43:33 2022 +0100
Squashed commit of the following:
commit 7ba68dd20dc34147cd545479edde909c6c4f8832
Author: Jean-Francois Simon <jfsimon@startmail.com>
Date: Wed Nov 16 16:19:50 2022 +0100
Proper C/C++ struct initialization.
commit aeab3ef7acb3315c7f356f6a2dc21f80e9341161
Author: Jean-Francois Simon <jfsimon@startmail.com>
Date: Tue Nov 15 17:09:29 2022 +0100
Fixed C++ builds.
commit 2afd52910724a6bdb75d0aba551fb0eac0c3eebb
Merge: 14710b81 f8445a4c
Author: jfsimon1981 <jfsimon1981@gmail.com>
Date: Tue Nov 15 11:33:56 2022 +0100
Merge branch 'cesanta:master' into master
commit 14710b81e43640688a1d5603d6ea3b2d72850947
Author: Jean-Francois Simon <jfsimon@startmail.com>
Date: Tue Nov 15 11:07:15 2022 +0100
Added MIP free.
commit 6393cd149dc77f8f14f816b3607b0bb25031fceb
Author: Jean-Francois Simon <jfsimon@startmail.com>
Date: Tue Nov 15 11:06:44 2022 +0100
Adding mip_free() function.
commit feee81b7339b660dc130e45468ad87daf559659e
Author: Jean-Francois Simon <jfsimon@startmail.com>
Date: Tue Nov 15 11:05:55 2022 +0100
Adding mip_free() function.
commit f8445a4c8589a08b5afd9c08829fc0138a322ab5
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 71f5be011bebdd472890f036fa1fbaa2c6b69af7
Author: Sergio R. Caprile <scaprile@users.noreply.github.com>
Date: Fri Nov 11 20:15:01 2022 -0300
Update test.yml
commit b53d3cf0329611e3cd17f977050fda702c244fa0
Merge: 7a71038a a39b7ddb
Author: jfsimon1981 <jfsimon1981@gmail.com>
Date: Fri Nov 11 16:10:53 2022 +0100
Merge branch 'cesanta:master' into master
commit 7a71038a2755727763895c20b9bba1ad5dd08862
Author: jfsimon1981 <jfsimon1981@gmail.com>
Date: Fri Nov 11 16:09:22 2022 +0100
Update mip_test.c
commit a39b7ddbac3f3ce94ee289cace8a7bda609a2c9f
Author: cpq <valenok@gmail.com>
Date: Fri Nov 11 15:03:48 2022 +0000
Fix fuzzer use-after-poison READ 1
commit 7ba68dd20dc34147cd545479edde909c6c4f8832
Author: Jean-Francois Simon <jfsimon@startmail.com>
Date: Wed Nov 16 16:19:50 2022 +0100
Proper C/C++ struct initialization.
commit aeab3ef7acb3315c7f356f6a2dc21f80e9341161
Author: Jean-Francois Simon <jfsimon@startmail.com>
Date: Tue Nov 15 17:09:29 2022 +0100
Fixed C++ builds.
commit 2afd52910724a6bdb75d0aba551fb0eac0c3eebb
Merge: 14710b81 f8445a4c
Author: jfsimon1981 <jfsimon1981@gmail.com>
Date: Tue Nov 15 11:33:56 2022 +0100
Merge branch 'cesanta:master' into master
commit 14710b81e43640688a1d5603d6ea3b2d72850947
Author: Jean-Francois Simon <jfsimon@startmail.com>
Date: Tue Nov 15 11:07:15 2022 +0100
Added MIP free.
commit 6393cd149dc77f8f14f816b3607b0bb25031fceb
Author: Jean-Francois Simon <jfsimon@startmail.com>
Date: Tue Nov 15 11:06:44 2022 +0100
Adding mip_free() function.
commit feee81b7339b660dc130e45468ad87daf559659e
Author: Jean-Francois Simon <jfsimon@startmail.com>
Date: Tue Nov 15 11:05:55 2022 +0100
Adding mip_free() function.
commit f8445a4c8589a08b5afd9c08829fc0138a322ab5
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 71f5be011bebdd472890f036fa1fbaa2c6b69af7
Author: Sergio R. Caprile <scaprile@users.noreply.github.com>
Date: Fri Nov 11 20:15:01 2022 -0300
Update test.yml
commit b53d3cf0329611e3cd17f977050fda702c244fa0
Merge: 7a71038a a39b7ddb
Author: jfsimon1981 <jfsimon1981@gmail.com>
Date: Fri Nov 11 16:10:53 2022 +0100
Merge branch 'cesanta:master' into master
commit a39b7ddbac3f3ce94ee289cace8a7bda609a2c9f
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 |
|
cpq
|
abfac8aa40
|
Expose mip guts
|
2022-11-09 19:25:40 +00:00 |
|
cpq
|
28a4778187
|
Endianness test
|
2022-11-09 09:20:15 +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 |
|
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
|
aacae6444e
|
Fix stack overflow in fuzzer - too big on-stack array
|
2022-10-15 17:18:31 +01:00 |
|
cpq
|
0b3f6d6aab
|
Use CC for fuzzer, not CXX
|
2022-09-30 11:44:50 +01: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 |
|
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 |
|
cpq
|
88097f1829
|
Fix endianness issues in unit test
|
2022-09-28 20:22:09 +01:00 |
|
James Hilliard
|
76f693e5d7
|
Test on big endian CPU architectures
|
2022-09-26 05:16:49 -04:00 |
|
cpq
|
41960b4212
|
Optimize fuzzer
|
2022-09-25 11:58:28 +01:00 |
|
cpq
|
c409cca20e
|
Optimize fuzzer
|
2022-09-25 10:19:17 +01: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 |
|
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
|
b538bc3871
|
Optimize makefile
|
2022-09-22 12:55:45 +01:00 |
|
cpq
|
a12bd2271e
|
Fuzzing MIP
|
2022-09-21 20:29:49 +01:00 |
|
cpq
|
a57c0f4700
|
Fix #1712 - JSON parsing for keys with arrays
|
2022-09-08 10:59:23 +01:00 |
|
Sergio R. Caprile
|
443351e95a
|
Make mip_test fail with current queue algo
|
2022-09-07 14:46:36 -03:00 |
|
cpq
|
1c181e091e
|
Add mip test
|
2022-09-05 15:56:03 +01:00 |
|
cpq
|
0d385c29a3
|
More JSON tests
|
2022-09-02 16:23:39 +01:00 |
|
oakfire
|
8131e30002
|
Fix mg_json_get for the array element result not as expected.
|
2022-09-01 15:02:17 +08:00 |
|
oakfire
|
a686beb9a7
|
fix: #1696 mg_json_get() bugs.
|
2022-08-30 14:22:58 +08:00 |
|
cpq
|
0661f5921a
|
Fix #1690 - mg_json_get for keys with the same prefix
|
2022-08-29 12:40:50 +01:00 |
|