Sergio R. Caprile
|
8e14ad0536
|
Add printf.h
|
2023-04-07 19:28:00 -03:00 |
|
Sergio R. Caprile
|
873e4d6547
|
Update Makefile
|
2023-02-28 14:18:39 -03:00 |
|
Sergio R. Caprile
|
38b129de66
|
Test some examples on Windows
closes #2047
|
2023-02-28 14:04:02 -03: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 |
|
cpq
|
2c62e58dbd
|
Move mip/ -> src/tcpip/, rename mip_ -> mg_tcpip_
|
2023-02-07 21:35:37 +00:00 |
|
Sergio R. Caprile
|
99f1f749cf
|
Apply a deeper cleanser
|
2023-01-20 15:27:37 -03:00 |
|
Sergio R. Caprile
|
b0f273157d
|
Fix Makefile
|
2023-01-02 15:16:50 -03:00 |
|
cpq
|
0f474e8d2a
|
Add pico-w5500 example
|
2023-01-02 16:36:55 +00:00 |
|
cpq
|
57a5c0ba38
|
Add TinyUSB example
|
2022-12-19 14:31:54 +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 |
|
cpq
|
8e46e05e1b
|
Fix arduino-xiao build and add GA test
|
2022-11-11 10:04:47 +00: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
|
bbc0c0df94
|
Unbreak test
|
2022-10-28 15:35:40 +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 |
|
cpq
|
c409cca20e
|
Optimize fuzzer
|
2022-09-25 10:19:17 +01:00 |
|
cpq
|
6a47ff6422
|
Activate asan for mip_test
|
2022-09-23 08:35:59 +01:00 |
|
cpq
|
cb5034548d
|
Fix oob read in rx_dhcp()
|
2022-09-22 13:42:17 +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
|
82b50fd3a5
|
Pass MDC clock divider explicitly rather than guess
|
2022-09-12 23:57:04 +01:00 |
|
cpq
|
1c181e091e
|
Add mip test
|
2022-09-05 15:56:03 +01:00 |
|
cpq
|
330783cb5a
|
Corrected clean and examples targets
|
2022-09-05 14:14:50 +01:00 |
|
cpq
|
83c76bdafc
|
Make mongoose_custom.h a local include, for Arduino builds
|
2022-08-31 18:20:34 +01:00 |
|
cpq
|
c7b9ca68c2
|
Move mg_mqtt_next-* to the example, and some nits
|
2022-08-26 14:20:54 +01:00 |
|
cpq
|
ef6fbad0cb
|
Better CFLAGS for SSL when building examples
|
2022-08-11 12:12:00 +01:00 |
|
cpq
|
08f8ea0cd9
|
vc2017 -> vc17
|
2022-08-09 15:38:25 +01:00 |
|
cpq
|
2d48b28b0a
|
Set dockerrun
|
2022-08-09 13:10:21 +01:00 |
|
cpq
|
9cfaee9b21
|
Multi-platform docker build
|
2022-08-09 13:02:50 +01:00 |
|
cpq
|
9393e271de
|
Set dockercmd
|
2022-08-09 12:47:27 +01:00 |
|
cpq
|
6149b619e7
|
Squash warnings
|
2022-08-09 12:39:40 +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
|
f2009ebd62
|
Move mg_*printf* decls in fmt.h
|
2022-07-28 10:18:17 +01:00 |
|
Sergey Lyubka
|
0dabc45780
|
Add RPC API
|
2022-07-27 00:46:05 +01:00 |
|
Sergey Lyubka
|
73297c8e65
|
Use mg_putchar_iobuf in mg_vprintf
|
2022-06-29 17:42:55 +01:00 |
|
Sergey Lyubka
|
017c7290d6
|
Better error handling - report from iotest
|
2022-06-29 17:02:37 +01:00 |
|
Sergey Lyubka
|
a71262437d
|
Use mip for arm and riscv targets
|
2022-06-12 12:43:01 +01:00 |
|
Sergey Lyubka
|
d3368e4aad
|
Move mip into mip/
|
2022-06-11 17:29:45 +01:00 |
|
Sergey Lyubka
|
dfca896a64
|
Update huge response. More tests
|
2022-06-10 12:14:42 +01:00 |
|
Sergey Lyubka
|
106662b1d7
|
Add JSON API
|
2022-06-09 17:17:33 +01:00 |
|
Sergey Lyubka
|
1dcb7dd13d
|
Update mingw target
|
2022-06-07 00:25:15 +01:00 |
|
Sergey Lyubka
|
73a5ff1fb6
|
Use only TFLAGS, get rid of EXTRA
|
2022-06-02 12:02:41 +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
|
34c5f63c00
|
More SNtp debug 8
|
2022-05-27 22:18:14 +01:00 |
|
Sergey Lyubka
|
bdb388c79d
|
Fix pedantic warnings
|
2022-05-26 03:08:08 +01:00 |
|
Sergey Lyubka
|
87148f95f2
|
Clean up pedantic warnings
|
2022-05-26 02:50:15 +01:00 |
|
Sergey Lyubka
|
9a28fa71f0
|
Add -pedantic to gcc/clang CFLAGS
|
2022-05-26 02:10:07 +01:00 |
|
Sergey Lyubka
|
c2d2d085cd
|
Add chart example
|
2022-05-23 15:27:19 +01:00 |
|
Sergey Lyubka
|
8e0f529a00
|
Add MIP - an experimental TCP/IP stack
|
2022-05-18 21:19:21 +01:00 |
|
Sergey Lyubka
|
31ce219544
|
Add MG_ARCH_RTX
|
2022-05-12 08:07:51 +01:00 |
|
Sergey Lyubka
|
b82953405d
|
Fix valgrind test
|
2022-05-09 19:11:27 +01:00 |
|
Sergey Lyubka
|
5271626947
|
Disable SSI by default
|
2022-05-08 21:54:15 +01:00 |
|
Sergey Lyubka
|
bc16854ccb
|
Get rid of MG_ENABLE_LOG, change mg_hexdump()
|
2022-05-06 21:09:13 +01:00 |
|
Sergey Lyubka
|
38557aac7f
|
Add MG_ARCH_NEWLIB
|
2022-05-01 13:47:33 +01:00 |
|
Sergey Lyubka
|
1c2d67ded7
|
Add missing arch_zephyr.h, add musl target
|
2022-03-30 09:06:00 +01:00 |
|
Sergey Lyubka
|
3b5a9e2d4b
|
Add tests for mg_ws_wrap() and messages > 128 bytes
|
2022-03-22 12:46:55 +00:00 |
|
James Hilliard
|
1e9344161b
|
Run valgrind tests with appropriate compiler optimizations.
|
2022-03-18 13:51:05 -06:00 |
|
Sergey Lyubka
|
8c447a95dd
|
Fix #1483 - add valgrind target, do not use stdlib strcasecmp()
|
2022-03-18 08:52:54 +00:00 |
|
Sergey Lyubka
|
37cb51ee94
|
Fix #1488 - properly set non-blocking flags on accepted connections
|
2022-03-14 13:26:00 +00:00 |
|
Sergey Lyubka
|
733abcffbc
|
Merge pull request #1485 from jameshilliard/fix-pack-rebuild
Regenerate pack file when dependencies are changed.
|
2022-03-06 16:50:03 +00:00 |
|
Sergey Lyubka
|
139f928731
|
Fix #1481 - use stricter compilation flags
|
2022-03-06 14:31:42 +00:00 |
|
James Hilliard
|
3da9986232
|
Regenerate pack file when dependencies are changed.
Should help prevent some spurious test failures due to stale
test/packed_fs.c file.
|
2022-03-02 10:12:48 -07:00 |
|
Sergey Lyubka
|
507935d067
|
Tiny refactoring - move clearance of the c->is_resolving flag to the mg_connect_resolved()
|
2022-02-19 16:17:03 +00:00 |
|
Sergey Lyubka
|
a76ade9bb2
|
Update packed fs
|
2022-02-14 17:44:43 +00:00 |
|
Sergey Lyubka
|
3e8e2ab513
|
Add optional zip cmd to pack.c
|
2022-02-12 14:28:02 +00:00 |
|
Sergey Lyubka
|
768f67ae0a
|
Fix #1458 - fail on example build error, and fix examples/mqtt-server
|
2022-01-27 12:10:03 +00:00 |
|
Sergey Lyubka
|
4a5824e7a7
|
Silence error in clean target
|
2022-01-24 13:07:56 +00:00 |
|
Sergey Lyubka
|
32f3c48b65
|
Fix FreeBSD build
|
2022-01-24 02:20:45 +00:00 |
|
Sergey Lyubka
|
544644e94b
|
Refactor - always enable LOG macro. Enhance iolog
|
2022-01-23 06:10:14 +00:00 |
|
Sergey Lyubka
|
56a7438114
|
Add fs arg to mg_file* and mg_http_upload API
|
2022-01-18 17:11:02 +00:00 |
|
Sergey Lyubka
|
c65c8fdaaa
|
Protect against the directory traversal in mg_upload()
|
2022-01-17 12:08:23 +00:00 |
|
Sergey Lyubka
|
fb0a9bc7e3
|
Fix build
|
2021-12-21 18:16:12 +00:00 |
|
Sergey Lyubka
|
30bfb245f5
|
Make mongoose more bare-metal Keil friendly. Declare settings after arch. Introduce MG_ENABLE_FILE
|
2021-12-21 17:39:55 +00:00 |
|
Sergey Lyubka
|
755bf3c412
|
Split TLS files and introduce MG_ENABLE_CUSTOM_TLS
|
2021-12-14 12:42:41 +00:00 |
|
Sergey Lyubka
|
90b22716ea
|
Merge branch 'master' into undef
|
2021-10-22 14:03:25 +01:00 |
|
Sergey Lyubka
|
fb90c504a6
|
Remove private.h
|
2021-10-22 14:00:31 +01:00 |
|
James Hilliard
|
f72b8c6034
|
Fix some undefined macro warnings.
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
|
2021-10-13 13:06:00 -06:00 |
|
James Hilliard
|
c11e5a9383
|
Make private functions static and add missing prototypes.
Fixes:
mongoose/mongoose.c:180:8: warning: no previous prototype for ‘mg_dns_parse_name’ [-Wmissing-prototypes]
180 | size_t mg_dns_parse_name(const uint8_t *s, size_t n, size_t ofs, char *dst,
| ^~~~~~~~~~~~~~~~~
mongoose/mongoose.c:306:6: warning: no previous prototype for ‘mg_dns_send’ [-Wmissing-prototypes]
306 | void mg_dns_send(struct mg_connection *c, const struct mg_str *name,
| ^~~~~~~~~~~
mongoose/mongoose.c:925:6: warning: no previous prototype for ‘mg_http_parse_headers’ [-Wmissing-prototypes]
925 | void mg_http_parse_headers(const char *s, const char *end,
| ^~~~~~~~~~~~~~~~~~~~~
mongoose/mongoose.c:1125:7: warning: no previous prototype for ‘mg_http_etag’ [-Wmissing-prototypes]
1125 | char *mg_http_etag(char *buf, size_t len, size_t size, time_t mtime) {
| ^~~~~~~~~~~~
mongoose/mongoose.c:2578:6: warning: no previous prototype for ‘mg_sha1_transform’ [-Wmissing-prototypes]
2578 | void mg_sha1_transform(uint32_t state[5], const unsigned char buffer[64]) {
| ^~~~~~~~~~~~~~~~~
mongoose/mongoose.c:2976:8: warning: no previous prototype for ‘mg_open_listener’ [-Wmissing-prototypes]
2976 | SOCKET mg_open_listener(const char *url, struct mg_addr *addr) {
| ^~~~~~~~~~~~~~~~
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
|
2021-10-12 20:18:11 -06:00 |
|
Sergey Lyubka
|
6fbb749431
|
7.4 -> 7.5
|
2021-09-30 13:34:55 +01:00 |
|
Sergey Lyubka
|
df848973dc
|
Fix unamalgamated target
|
2021-09-14 12:27:02 +01:00 |
|
Sergey Lyubka
|
c2c6ff11ed
|
Fix #1329 - send MG_EV_WS_OPEN for server connections
|
2021-08-04 11:38:32 +01:00 |
|
Sergey Lyubka
|
3a46055e52
|
Better packed test
|
2021-07-30 13:19:20 +01:00 |
|
Sergey Lyubka
|
c2176f969b
|
Implement FS virtualization
|
2021-07-29 14:21:20 +01:00 |
|
Sergey Lyubka
|
dfc22af10f
|
Run docker non-interactive
|
2021-07-26 18:18:29 +01:00 |
|
Sergey Lyubka
|
2d585474c1
|
Add riscv target, enhance arm target
|
2021-07-26 11:00:37 +01:00 |
|
Sergey Lyubka
|
bdb747f9de
|
Fix mg_prefix test
|
2021-07-26 09:15:17 +01:00 |
|
Sergey Lyubka
|
299075c930
|
Add test for fopen_packed()
|
2021-07-26 09:05:34 +01:00 |
|
Sergey Lyubka
|
7e1d4325ec
|
Fail examples target if any example fails
|
2021-07-24 08:45:51 +01:00 |
|
Sergey Lyubka
|
2a2c17a232
|
Remove MG_ENABLE_STDIO and cleanup
|
2021-07-24 03:44:00 +01:00 |
|
Sergey Lyubka
|
a09238debd
|
Place config.h before arch*.h
|
2021-07-23 20:48:48 +01:00 |
|
Sergey Lyubka
|
3982e065c8
|
Fix #1315, fix #1317 - use #ifndef instead of #pragma once for compilers that do not support #pragma once
|
2021-07-19 09:04:18 +01:00 |
|
Sergey Lyubka
|
77fae5c562
|
Fix #1298 - shadowing struct mg_str constructor
|
2021-07-15 02:18:32 +01:00 |
|
Sergey Lyubka
|
d9680df510
|
Support mbedtls 3.x.x
|
2021-07-13 17:28:07 +01:00 |
|
cpq
|
89af2e9638
|
Merge branch 'master' of github.com:cesanta/mongoose
|
2021-07-13 06:58:52 +01:00 |
|
cpq
|
015586950f
|
Fix #1305 - add #ifdef __cplusplus for C++ linkage
|
2021-07-13 06:58:34 +01:00 |
|