James Hilliard
|
173c2ba338
|
Print mqtt buffer on error in tests
This test seems to fail randomly a lot, print the buffer on error to
make it easier to isolate issues.
|
2022-04-02 15:26:15 -06:00 |
|
Sergey Lyubka
|
3b5a9e2d4b
|
Add tests for mg_ws_wrap() and messages > 128 bytes
|
2022-03-22 12:46:55 +00:00 |
|
Sergey Lyubka
|
6b3d9d9baf
|
Add failed TLS host validation
|
2022-03-22 10:51:37 +00:00 |
|
Sergey Lyubka
|
436852d077
|
Enable TLS host validation in test_http_client()
|
2022-03-22 10:48:50 +00:00 |
|
Sergey Lyubka
|
1bc81df00e
|
Fix mg_dns_parse_name_depth()
|
2022-03-21 16:29:27 +00:00 |
|
Sergey Lyubka
|
ad4812218d
|
Handle #1497 - handshake format
|
2022-03-21 15:17:09 +00:00 |
|
Sergey Lyubka
|
1141ea7933
|
Add connection timeout
|
2022-03-20 18:50:01 +00:00 |
|
Sergey Lyubka
|
8c447a95dd
|
Fix #1483 - add valgrind target, do not use stdlib strcasecmp()
|
2022-03-18 08:52:54 +00:00 |
|
Sergey Lyubka
|
e99973d4b7
|
Introduce local address
|
2022-02-22 22:00:55 +00:00 |
|
Sergey Lyubka
|
393dad97e0
|
Get rid of ctype dependencies
|
2022-02-22 20:20:56 +00:00 |
|
Sergey Lyubka
|
63261ec0d5
|
Use mg_http_status()
|
2022-02-19 16:19:51 +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
|
a76ade9bb2
|
Update packed fs
|
2022-02-14 17:44:43 +00:00 |
|
Sergey Lyubka
|
969b84043c
|
Fix #1465 - rename LL_* constants, introduce MG_* log macros
|
2022-02-12 18:17:25 +00:00 |
|
Sergey Lyubka
|
4f802ece52
|
Enhance mg_snrpintf tests
|
2022-02-11 18:15:34 +00:00 |
|
Sergey Lyubka
|
313ac34e59
|
Handle minus in the fmt spec
|
2022-02-11 11:02:06 +00:00 |
|
Sergey Lyubka
|
54f75889fa
|
Using mg_snprintf() everywhere
|
2022-02-10 17:11:03 +00:00 |
|
Sergey Lyubka
|
f64c86d23f
|
Use mg_snprintf()
|
2022-02-10 11:56:55 +00:00 |
|
Sergey Lyubka
|
8cd4699dbc
|
Rename FS API functions to avoid conflicts
|
2022-02-08 13:36:04 +00:00 |
|
Sergey Lyubka
|
63b880e624
|
Handle #1459 - deprecate mg_globmatch, introduce mg_match()
|
2022-01-29 11:03:54 +00:00 |
|
Sergey Lyubka
|
544644e94b
|
Refactor - always enable LOG macro. Enhance iolog
|
2022-01-23 06:10:14 +00:00 |
|
Sergey Lyubka
|
59c4dfa33b
|
Fix 1452 - byte order issue in mg_check_ip_acl
|
2022-01-21 12:24:58 +00:00 |
|
Sergey Lyubka
|
226917e1cd
|
Use mg_str, not pointers, in mg_mqtt_{sub,pub}
|
2022-01-19 09:57:27 +00:00 |
|
Sergey Lyubka
|
fe813ee247
|
Add buf,len params to mg_mgr_wakeup()
|
2022-01-19 09:25:01 +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
|
9fd80fd136
|
Fix #1445 - send error to a resolving connection when DNS error happens
|
2022-01-14 08:50:01 +00:00 |
|
Sergey Lyubka
|
ff811f287a
|
Squash warnings
|
2022-01-05 13:57:30 +00:00 |
|
Sergey Lyubka
|
6a82cbee71
|
Send MG_EV_WRITE for UDP messages
|
2022-01-05 13:03:56 +00:00 |
|
Sergey Lyubka
|
62411d039e
|
Increase mqtt timeouts
|
2021-12-24 12:14:06 +00:00 |
|
Sergey Lyubka
|
26a97ec36c
|
Fix #1434 - set will QoS in CONNECT message correctly, and rename qos -> will_qos in struct mg_mqtt_opts
|
2021-12-23 11:00:18 +00:00 |
|
Sergey Lyubka
|
ae6767b1d2
|
Use int64_t for timers and mg_millis()
|
2021-12-21 21:50:18 +00:00 |
|
Sergey Lyubka
|
9731a51dae
|
Recognise :PORT as a valid URL
|
2021-11-29 13:57:33 +00:00 |
|
Sergey Lyubka
|
24e8c4d81a
|
Increase SNMP test timeout
|
2021-11-25 17:31:41 +00:00 |
|
Sergey Lyubka
|
86c70e5abb
|
Fix #1391 - make remove_double_dots less aggressive
|
2021-10-31 12:36:34 +00:00 |
|
Sergey Lyubka
|
054475ddbf
|
Fix #1376 - handle comma for unquoted header vars
|
2021-10-22 14:33:51 +01:00 |
|
Sergey Lyubka
|
65fd834654
|
Increate mqtt test timeout
|
2021-10-22 13:58:51 +01:00 |
|
Sergey Lyubka
|
90a131bd29
|
Include ipv6 wrapping brackets [] in the result of mg_url_host()
|
2021-09-21 08:10:27 +01:00 |
|
Sergey Lyubka
|
2139fbc4b7
|
Support multiple web roots
|
2021-09-20 12:24:44 +01:00 |
|
Sergey Lyubka
|
a7afea0963
|
Handle ipv4-mapped addresses
|
2021-09-18 19:38:59 +01:00 |
|
Sergey Lyubka
|
894a168833
|
Get rid of fs->realpath
|
2021-09-15 07:43:48 +01:00 |
|
Sergey Lyubka
|
477e48bf54
|
mg_iobuf_append -> mg_iobuf_add
|
2021-08-28 08:08:54 +01:00 |
|
Sergey Lyubka
|
bd64043377
|
mg_comma -> mg_commalist
|
2021-08-28 06:54:56 +01:00 |
|
Sergey Lyubka
|
714b7a8145
|
Handle WS fragmentation
|
2021-08-27 10:25:24 +01:00 |
|
Sergey Lyubka
|
fc9c454518
|
Add mg_check_ip_acl()
|
2021-08-25 07:59:31 +01:00 |
|
Sergey Lyubka
|
1c456fc2df
|
mg_next_comma_entry -> mg_comma
|
2021-08-23 16:54:58 +01:00 |
|
Sergey Lyubka
|
9b37ac384f
|
Merge pull request #1341 from lnksz/bugfix-1340-http_chunked
Fix #1340: Long HTTP Chunks
|
2021-08-23 14:50:39 +01:00 |
|
Kristof Havasi
|
f6f0e49de4
|
Add failing test for HTTP chunk
This test would have caught #1340: handling chunks longer than 15 chars
|
2021-08-23 08:19:46 +02:00 |
|
Sergey Lyubka
|
fd5eb2d3f9
|
Refactor mg_mkpipe()
|
2021-08-11 19:17:04 +01:00 |
|
Sergey Lyubka
|
8b770d2a0d
|
Fix #1334 - typo in mg_call(..MG_EV_WS_OPEN) call
|
2021-08-11 04:52:39 +01:00 |
|