Sergio R. Caprile
|
b12ca26197
|
Add optional mDNS resolver
|
2026-04-13 15:41:08 -03:00 |
|
Sergio R. Caprile
|
0d882f1b43
|
patch
|
2026-03-31 17:38:04 -03:00 |
|
cpq
|
0c794f19d2
|
Obtain IP adress for MDNS automatically
|
2026-03-13 13:47:25 -03:00 |
|
Sergio R. Caprile
|
2a7fa4cb68
|
Introduce new mDNS API, add mDNS client example
|
2026-03-06 11:27:22 -03:00 |
|
Sergio R. Caprile
|
ec032181c6
|
add entropy to DNS txnid
|
2026-02-25 11:35:30 -03:00 |
|
Sergio R. Caprile
|
73bec74380
|
Make mcast/bcast consistent across stacks
Fix net_builtin inconsistency
|
2025-12-29 14:22:59 -03:00 |
|
Sergio R. Caprile
|
5b023cb85b
|
Add support for Windriver's Diab v4 (stricter C89)
|
2025-12-04 13:58:49 -03:00 |
|
Sergio R. Caprile
|
293d8c22e1
|
Introduce DNS-SD using mDNS
|
2025-11-28 16:12:08 -03:00 |
|
Sergio R. Caprile
|
393063428e
|
Built-in TCP/IP (re-)starts DNS connection on link up
|
2025-07-14 15:06:31 -03:00 |
|
Sergey Lyubka
|
074ef5197b
|
Introduce mg_calloc
|
2025-06-24 10:52:44 +01:00 |
|
Sergio R. Caprile
|
1d2a768184
|
refactor the rest of the drivers
|
2025-04-22 13:59:03 -03:00 |
|
Sergio R. Caprile
|
dceb4beb09
|
Refactor MIP strategy and first driver (CMSIS)
|
2025-04-22 12:55:21 -03:00 |
|
robert
|
6f697db49d
|
Added MDNS and driver support for multicast
|
2025-04-22 12:55:15 -03:00 |
|
Sergey Lyubka
|
e0e599ffa1
|
Fix #2612 - struct mg_str::ptr -> buf
|
2024-04-16 22:42:45 +01:00 |
|
Sergio R. Caprile
|
0b667ca869
|
cap # responses instead of rejecting
|
2024-02-09 12:28:56 -03:00 |
|
Sergio R. Caprile
|
deca1aaf46
|
remove fn_data from event handler signature
|
2024-01-09 14:51:19 -03:00 |
|
cpq
|
e357cb3185
|
Bump up max DNS responses 10->15
|
2023-10-08 15:30:18 +01:00 |
|
cpq
|
dd047b2613
|
dns.c slight refactor, no functional changes
|
2023-09-21 13:38:06 +01:00 |
|
robert
|
dd32deb2ad
|
optimized mg_addr structure
|
2023-06-09 09:19:37 -04:00 |
|
Sergio R. Caprile
|
8e14ad0536
|
Add printf.h
|
2023-04-07 19:28:00 -03:00 |
|
cpq
|
24e3514640
|
Fix mg_fs_posix.st() for Windows symlinks
|
2023-02-17 10:20:33 +00:00 |
|
cpq
|
961cc13948
|
Nits: fix DNS resolution message. Add Makefile comment for testing targets
|
2023-02-02 10:33:00 +00:00 |
|
cpq
|
4bf39e18d9
|
Add mg_print_ip, mg_print_ip_port helper functions
|
2023-01-29 14:30:06 +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 |
|
cpq
|
124ac12150
|
Add mbedtls support to MIP
|
2022-09-09 15:53:42 +01:00 |
|
Sergey Lyubka
|
c48349ba56
|
Add sntp-time-sync example
|
2022-06-03 13:57:57 +01:00 |
|
Sergey Lyubka
|
d3e14ca7e5
|
More SNTP debug 3
|
2022-05-27 20:05:14 +01:00 |
|
Sergey Lyubka
|
bc16854ccb
|
Get rid of MG_ENABLE_LOG, change mg_hexdump()
|
2022-05-06 21:09:13 +01:00 |
|
Sergey Lyubka
|
6db0485c7b
|
Set c->loc for accepted and UDP connections
|
2022-05-06 20:19:40 +01:00 |
|
Sergey Lyubka
|
a7cbc19755
|
Fix #1532 - improve ipv6 DNS lookup
|
2022-04-22 20:44:53 +01:00 |
|
Sergey Lyubka
|
ef44f90491
|
Fix #1520 - move state to struct mg_mgr
|
2022-04-12 14:14:55 +01:00 |
|
Sergey Lyubka
|
a1ec179229
|
Use uint64_t for uptime in millis, not int64_t
|
2022-04-07 13:50:25 +01:00 |
|
Sergey Lyubka
|
6990040626
|
Set DNS error on UDP send error
|
2022-04-01 15:41:23 +01:00 |
|
Sergey Lyubka
|
1bc81df00e
|
Fix mg_dns_parse_name_depth()
|
2022-03-21 16:29:27 +00:00 |
|
Sergey Lyubka
|
1141ea7933
|
Add connection timeout
|
2022-03-20 18:50:01 +00:00 |
|
Sergey Lyubka
|
e99973d4b7
|
Introduce local address
|
2022-02-22 22:00:55 +00: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
|
969b84043c
|
Fix #1465 - rename LL_* constants, introduce MG_* log macros
|
2022-02-12 18:17:25 +00:00 |
|
Sergey Lyubka
|
f64c86d23f
|
Use mg_snprintf()
|
2022-02-10 11:56:55 +00:00 |
|
Sergey Lyubka
|
544644e94b
|
Refactor - always enable LOG macro. Enhance iolog
|
2022-01-23 06:10:14 +00:00 |
|
Sergey Lyubka
|
9fd80fd136
|
Fix #1445 - send error to a resolving connection when DNS error happens
|
2022-01-14 08:50:01 +00:00 |
|
Sergey Lyubka
|
bb72b2494d
|
Fix unamalgamated target
|
2022-01-07 15:48:09 +00:00 |
|
Sergey Lyubka
|
3b0a509cae
|
Change mg_resolve()
|
2022-01-07 15:00:10 +00:00 |
|
Sergey Lyubka
|
b0585bd0a9
|
Do not set c->label for DNS connections - let labels be user-only-settable
|
2022-01-05 11:46:26 +00:00 |
|
Sergey Lyubka
|
ae6767b1d2
|
Use int64_t for timers and mg_millis()
|
2021-12-21 21:50:18 +00:00 |
|
Sergey Lyubka
|
42c89732c8
|
Remove private.h
|
2021-10-22 19:41:26 +01:00 |
|
Sergey Lyubka
|
4fb49b011e
|
Merge pull request #1377 from jameshilliard/missing-prototypes
Make private functions static and add missing prototypes.
|
2021-10-22 13:16:06 +01:00 |
|
Sergey Lyubka
|
7c5e67b272
|
Fix #1382 - use sendto for UDP send
|
2021-10-22 08:56:45 +01: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 |
|
cpq
|
838b0bcd27
|
Squash more warnings
|
2021-05-28 18:45:35 +01:00 |
|