jfsimon1981
|
d958ec2ac8
|
Revert "mip_test.c http fetch (#1851)" (#1864)
This reverts commit 07aac8e6e9 .
|
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 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 |
|
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 |
|
cpq
|
b73022096d
|
Let RPC handle responses too
|
2022-08-26 17:41:13 +01:00 |
|
cpq
|
fee6de6a7f
|
Allow NULL head in struct mg_rpc
|
2022-08-19 15:08:01 +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
|
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
|
6615a821f1
|
Test WS frames that are larger than 64k
|
2022-08-13 11:16:13 +01:00 |
|
Sergio R. Caprile
|
4d9338323a
|
Add unit test for gzipped index when / is requested
|
2022-08-10 19:06:04 -03:00 |
|
cpq
|
2ba3630de9
|
Remove dangerous mg_pfn_realloc(). Add %q printf specifier
|
2022-08-10 18:27:58 +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
|
b7406357c5
|
Fix #1600 - more precise SNTP time calculation
|
2022-08-09 12:13:23 +01:00 |
|
cpq
|
4d3d0995c9
|
Use only time.windows.com in SNTP test
|
2022-08-08 20:56:10 +01:00 |
|
cpq
|
740b609e1e
|
Fix for deliver_normal_chunks() and a test case
|
2022-08-06 09:01:34 +01:00 |
|
cpq
|
779c825e92
|
Fixes to chunked support when pipelining
|
2022-08-05 19:18:06 +01:00 |
|
cpq
|
457ce5e563
|
Refactor chunking support. Fix #1656
|
2022-08-04 17:10:53 +01: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
|
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
|
54d6bad5e5
|
Refactor JSON and RPC API
|
2022-07-30 07:55:26 +01:00 |
|
Sergey Lyubka
|
0dabc45780
|
Add RPC API
|
2022-07-27 00:46:05 +01:00 |
|
Sergio R. Caprile
|
1eed80375d
|
Fix MG_EOO
|
2022-07-22 11:50:23 -03:00 |
|
Sergey Lyubka
|
3f46ae7beb
|
Make generated packed_fs.c independent
|
2022-07-12 15:09:33 +01:00 |
|
Sergey Lyubka
|
f40b272eeb
|
Fix #1626 - ignore @ in query string
|
2022-07-10 15:41:43 +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
|
6c796b8552
|
Fix memset in mg_iotest, add mg_random_str test
|
2022-07-04 16:13:38 +01: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
|
dca43f430b
|
Fix poll support for win32
|
2022-07-02 12:45:44 +01:00 |
|
Sergey Lyubka
|
99f0688377
|
Change mg_http_upload API
|
2022-06-30 21:54:50 +01:00 |
|
Sergey Lyubka
|
c5751b0bd3
|
Add mg_json_get_long
|
2022-06-30 20:03:29 +01:00 |
|
Sergey Lyubka
|
5b8979a0f1
|
Better connect() result test
|
2022-06-29 19:19:19 +01:00 |
|
Sergey Lyubka
|
017c7290d6
|
Better error handling - report from iotest
|
2022-06-29 17:02:37 +01: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
|
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
|
3774f676cf
|
Less verbose unit test
|
2022-06-13 21:12:11 +01:00 |
|
Sergey Lyubka
|
a71262437d
|
Use mip for arm and riscv targets
|
2022-06-12 12:43:01 +01:00 |
|
Sergey Lyubka
|
dfca896a64
|
Update huge response. More tests
|
2022-06-10 12:14:42 +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
|
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
|
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
|
4dd1891594
|
Add mg_http_serve_opts.page404
|
2022-05-31 23:44:03 +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
|
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
|
34c5f63c00
|
More SNtp debug 8
|
2022-05-27 22:18:14 +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
|
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 |
|
Sergey Lyubka
|
cfaca604f5
|
Debug SNTP issue 2
|
2022-05-26 17:50:56 +01:00 |
|
Sergey Lyubka
|
7f8d12b9f7
|
Use time.windows.com too
|
2022-05-26 16:22:44 +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
|
cf7d1d8041
|
Address #1551 - better timers handling
|
2022-05-15 14:29:34 +01:00 |
|
Sergey Lyubka
|
3fbb7de712
|
Refactor dashboard example
|
2022-05-13 20:08:08 +01:00 |
|
Sergey Lyubka
|
84480f4072
|
Fix #1539 - proper timer cleanup
|
2022-05-10 07:38:03 +01:00 |
|