cpq
|
58886a9693
|
Fix #2345 - json parsing of arrays of objects
|
2023-08-16 22:09:45 +01:00 |
|
cpq
|
ea3968601e
|
Add http serve to fuzzer
|
2023-08-16 20:18:52 +01: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
|
ed54b60ea3
|
update to new API
|
2023-07-25 18:41:41 -03:00 |
|
Sergio R. Caprile
|
ef25c42e86
|
fix unit tests for older compilers
|
2023-07-25 11:55:01 -03:00 |
|
Sergio R. Caprile
|
26ce666938
|
Merge branch 'master' of https://github.com/cesanta/mongoose
|
2023-07-25 11:35:29 -03: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
|
0613cc62f4
|
TLS API refactor
|
2023-07-25 13:07:28 +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
|
59c46fc594
|
update
|
2023-07-05 17:49:18 -03: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
|
cca771e70e
|
Stricter check for test_dns_error()
|
2023-07-01 20:23:59 +01:00 |
|
Sergio R. Caprile
|
0adc858c85
|
add unit test
|
2023-06-28 11:01:59 -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 |
|
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 |
|
cpq
|
6b29a2a724
|
Fix #2104 - %.*f formatting
|
2023-04-07 08:38:28 +01:00 |
|
Sergio R. Caprile
|
49579eb2b4
|
Test host only TLS mode
|
2023-03-31 17:00:05 -03:00 |
|
cpq
|
f2076fe309
|
Add more tests for mg_strstr()
|
2023-02-26 01:32:03 +00:00 |
|
cpq
|
515e438d4f
|
Refactor queue
|
2023-02-15 18:53:44 +00:00 |
|
cpq
|
bf9d69ab56
|
Add struct mg_queue and API, change examples/multi-threaded, add tests
|
2023-02-11 13:24:26 +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
|
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 |
|
cpq
|
da5e8e9778
|
Rename struct mg_connection::label -> data. Make its size configurable
|
2023-01-10 08:19:49 +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 |
|
cpq
|
b01989f041
|
Fix #1888: add %I *printf specifier for IP address. Remove mg_ntoa, mg_straddr
|
2022-12-03 14:27:07 +00:00 |
|
Sergio R. Caprile
|
59b69a3b3b
|
Add test for MG_EV_POLL generation
|
2022-11-30 12:13:45 -03: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 |
|
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
|
ebd931f7af
|
Get rid of va_copy
|
2022-09-23 08:59:02 +01:00 |
|
cpq
|
b538bc3871
|
Optimize makefile
|
2022-09-22 12:55:45 +01:00 |
|
cpq
|
a57c0f4700
|
Fix #1712 - JSON parsing for keys with arrays
|
2022-09-08 10:59:23 +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
|
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 |
|