Commit Graph

227 Commits

Author SHA1 Message Date
Sergey Lyubka
0294603dfc MG_ARCH_RTX nits 2022-05-12 15:07:02 +01:00
Sergey Lyubka
31ce219544 Add MG_ARCH_RTX 2022-05-12 08:07:51 +01:00
Sergey Lyubka
bc16854ccb Get rid of MG_ENABLE_LOG, change mg_hexdump() 2022-05-06 21:09:13 +01:00
Sergey Lyubka
f19eec7fae Refactor multithreading API 2022-04-25 14:56:15 +01:00
Sergey Lyubka
8174842b05 docs 2022-04-24 11:39:54 +01:00
Sergey Lyubka
ff07d261b2 docs 2022-04-24 11:37:23 +01:00
Sergey Lyubka
c55db8a895 docs 2022-04-24 11:33:47 +01:00
Sergey Lyubka
70a9554b72 docs 2022-04-24 11:26:25 +01:00
Sergey Lyubka
ef44f90491 Fix #1520 - move state to struct mg_mgr 2022-04-12 14:14:55 +01:00
Sergey Lyubka
66376885e9 Fix #1521 - add mg_tou64() 2022-04-12 10:20:43 +01:00
Sergey Lyubka
5f78d34f4d Fix #1513 - fix mg_strdup() documentation 2022-04-12 09:57:25 +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
0ed64707f3 Introduce MG_ENABLE_CUSTOM_MILLIS 2022-04-04 18:14:59 +01:00
Sergey Lyubka
4474ada291 Fix #1505: let mg_wakeup() return status 2022-04-03 00:17:31 +01:00
Sergey Lyubka
c650fdcdfc Move mg_listen() to net.c 2022-02-23 03:06:02 +00:00
Sergey Lyubka
e99973d4b7 Introduce local address 2022-02-22 22:00:55 +00:00
Sergey Lyubka
048fee5c88 Fix build after mg_connect() move 2022-02-22 21:35:03 +00:00
Sergey Lyubka
c579b73f75 Update docs 2022-02-19 15:31:22 +00:00
Sergey Lyubka
e69ec148cc Better mbedtls debug 2022-02-19 13:46:07 +00:00
Sergey Lyubka
5bc164de76 Remove MG_ENABLE_DIRLIST 2022-02-14 11:19:24 +00:00
Sergey Lyubka
da72dafbfb Fix #1462 - add helper function for getting HTTP response status code. 2022-02-12 16:51:37 +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
9e634310b4 Use MG_EV_HTTP_CHUNK for streaming upload 2022-02-09 12:24:06 +00:00
Sergey Lyubka
b2ee9cb363 Update docs 2022-01-29 11:12:31 +00:00
Sergey Lyubka
e9c20ad992 Update docs 2022-01-29 11:11:22 +00:00
Sergey Lyubka
63b880e624 Handle #1459 - deprecate mg_globmatch, introduce mg_match() 2022-01-29 11:03:54 +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
1df102ab93 Add Fat FS support 2022-01-18 07:44:30 +00:00
Sergey Lyubka
fc3c08e411 Change mg_straddr() API 2022-01-05 19:09:11 +00:00
Sergey Lyubka
a176b8d566 Upate docs w.r.t. mg_mqtt_opts 2021-12-23 11:12:10 +00:00
Sergey Lyubka
e9fc3fcecf Update event enum 2021-12-21 22:20:42 +00:00
Sergey Lyubka
ae6767b1d2 Use int64_t for timers and mg_millis() 2021-12-21 21:50:18 +00:00
Sergey Lyubka
2a3492766f Remove mg_time() and mg_usleep() 2021-12-21 17:44:34 +00:00
Sergey Lyubka
574c2954b3 Docs nitpick 2021-12-19 10:53:17 +00:00
Sergey Lyubka
755bf3c412 Split TLS files and introduce MG_ENABLE_CUSTOM_TLS 2021-12-14 12:42:41 +00:00
Sergey Lyubka
f2df6c114d Example for mg_http_bauth 2021-12-13 15:14:29 +00:00
Sergey Lyubka
226404d39c Example for mg_http_bauth 2021-12-13 15:08:05 +00:00
Sergey Lyubka
0b209eaabb Add mg_http_get_header_var() 2021-12-03 09:54:03 +00:00
Sergey Lyubka
013520b0c0 Add note for mg_http_serve_dir() 2021-11-25 12:29:45 +00:00
Sergey Lyubka
08444e3942 Fix links and typos 2021-11-16 12:30:40 +00:00
Sergey Lyubka
9c41a0cd26 Fix links 2021-11-16 09:54:36 +00:00
Sergey Lyubka
90c67e4226 Reformatting for better readability 2021-11-06 11:29:56 +00:00
Sergey Lyubka
eba688e11b Update docs 2021-11-04 23:07:47 +00:00
Panagiotis Tsolakos
383653d608 mbedtls CRL support
Certificate revocation checking when using mbedtls
2021-10-14 17:56:31 +02:00
tophatgeeks
6b1ff37cf3
Update README.md
I have gone through and edited for consistency, punctuation, wording, and grammar. If you have questions feel free to reach out.  I fixed some spelling errors "if" instead of "is" "update" instead of "updatw", etc. 

-Jordan Ramsey
2021-09-23 12:07:00 -04:00
Sergey Lyubka
ad3655fb92 Docs spelling 2021-09-22 11:51:16 +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
9d1e61de93 Update docs 2021-09-17 15:59:15 +01:00
Alex Alashkin
eb94704d8d Add params and retvals 2021-09-15 22:18:44 +03:00
Sergey Lyubka
f3eb466af3 Update docs 2021-09-15 07:43:24 +01:00
Sergey Lyubka
5bf5516b29 struct iobuf doc 2021-08-30 13:06:45 +01:00
Sergey Lyubka
167af7f160 docs update 2021-08-28 20:27:55 +01:00
Sergey Lyubka
7d91885413 Update docs 2021-08-28 11:16:45 +01:00
Sergey Lyubka
0de83157dc Update docs 2021-08-28 08:52:41 +01:00
Sergey Lyubka
cc9639b3cb Update docs 2021-08-28 08:48:47 +01:00
Sergey Lyubka
cb0ac1868f Update docs 2021-08-28 08:46:01 +01:00
Sergey Lyubka
f3d15a0440 Update docs 2021-08-28 08:25:31 +01:00
Sergey Lyubka
0bc736d384 Update docs 2021-08-28 08:23:33 +01:00
Sergey Lyubka
3bf7b817f6 Update docs 2021-08-28 08:21:29 +01:00
Sergey Lyubka
477e48bf54 mg_iobuf_append -> mg_iobuf_add 2021-08-28 08:08:54 +01:00
Sergey Lyubka
913e730ec2 mg_iobuf_delete -> mg_iobuf_del 2021-08-28 07:16:38 +01:00
Sergey Lyubka
bd64043377 mg_comma -> mg_commalist 2021-08-28 06:54:56 +01:00
Sergey Lyubka
7ba6fda236 Add stm32-nucleo-h743z and stm32-nucleo-f429z 2021-08-26 11:40:47 +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
07568a8f06 Docs nits 2021-08-22 10:51:40 +01:00
Sergey Lyubka
71e9019211 Docs nitpicks 2021-08-20 20:31:32 +01:00
Sergey Lyubka
6c42350fcf docs 2021-08-12 12:24:28 +01:00
Sergey Lyubka
104c4fab19 More docs 2021-08-11 19:24:33 +01:00
Sergey Lyubka
fd5eb2d3f9 Refactor mg_mkpipe() 2021-08-11 19:17:04 +01:00
Sergey Lyubka
b739aa89f1 Update readme 2021-08-09 09:43:21 +01:00
Sergey Lyubka
b7ce8213d7 Better multithreading support: remove mg_socketpair, add mg_mkpipe() and mg_rmpipe() 2021-08-07 17:22:47 +01:00
Sergey Lyubka
86f43cd8d6 Refactor mg_socketpair and document MG_ENABLE_NATIVE_SOCKETPAIR 2021-08-06 10:23:08 +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
2a2c17a232 Remove MG_ENABLE_STDIO and cleanup 2021-07-24 03:44:00 +01:00
Sergey Lyubka
328a87b02a Remove mg_file_size() 2021-07-23 20:18:34 +01:00
Sergey Lyubka
529faa1172 MG_ENABLE_FS -> MG_ENABLE_STDIO 2021-07-23 19:47:26 +01:00
Sergey Lyubka
497b8027f5 Fix #1314 - expose local port for listeners 2021-07-19 08:47:38 +01:00
cpq
3deafaea7f Extend mg_mqtt_{pub,sub} by adding qos and retain 2021-06-10 19:27:19 +01:00
cpq
a15d518571 Add mg_mqtt_pubex 2021-06-10 19:15:50 +01:00
cpq
c0a8546330 Add MG_ARCH_FREERTOS_LWIP 2021-05-28 23:49:26 +01:00
cpq
736b8ad7b7 Fix #1285 - __builtin___snprintf_chk warning. Tighten test flags and refactor the code to squash all warnings 2021-05-28 18:30:42 +01:00
cpq
1a5e3d3151 Fix #1286 2021-05-19 00:19:21 +01:00
cpq
47e5e984df stm32f7 example starts on real h/w, with plus-TCP driver 2021-05-17 17:36:57 +01:00
cpq
7b39973065 docs 2021-05-12 11:44:15 +01:00
cpq
30b64483fd docs 2021-05-12 11:39:46 +01:00
Sergey Lyubka
946e07644c
Merge pull request #1275 from panosto/master
Corrected small typo in docs
2021-04-29 19:26:46 +01:00
Panagiotis
497b26a249 Corrected small typo in docs 2021-04-29 18:16:33 +02:00
cpq
31c9e3fb7e Make mg_random() weak, see #1269 2021-04-29 09:09:21 +01:00
cpq
4dbb2da78f Add form-upload example 2021-03-17 13:28:36 +00:00
cpq
5bd22cb5e4 Add mg_http_next_multipart() 2021-03-17 07:43:29 +00:00
cpq
5326e8d212 Update docs 2021-03-15 09:18:02 +00:00
novlean
91ed6de166
Fixed typos 2021-03-11 13:01:45 +00:00
cpq
6366c832b0 Add struct mg_http_serve_opts::extra_headers 2021-03-10 07:56:14 +00:00
cpq
f326cbedbe Fix doc example 2021-03-09 17:44:15 +00:00
cpq
452bcc68a4 Add mg_mqtt_next_unsub() signature 2021-03-09 11:29:53 +00:00
cpq
1b5cc341a5 Add streaming client support, MG_EV_HTTP_CHUNK 2021-03-08 15:41:16 +00:00
Christopher Simons
421bc126b5 README.md: fix typo: is_drainig -> is_draining 2021-02-02 22:17:15 -05:00
cpq
d327ee9834 Improve SNI 2021-01-30 13:03:11 +00:00
cpq
86b1053678 Add error check for iobuf allocation 2021-01-29 12:32:34 +00:00
cpq
3c851bcfc3 mg_file_write -> mg_file_printf 2021-01-26 16:30:44 +00:00
wangtun
960d3c7880 Fix README.md mg_mgr_free 2021-01-23 15:49:55 +08:00
cpq
be62ac9c14 Add more docs 2021-01-20 11:28:47 +00:00
Sergey Lyubka
30d86928d5
Merge pull request #1191 from RiccardoDalFiume/master
FIX README mg_http_serve*
2021-01-17 11:18:32 +00:00
cpq
12c32d09fb Pass mg_http_message to MG_EV_WS_OPEN 2021-01-17 11:16:19 +00:00
cpq
ae6fd6aa35 Add extra headers param to mg_ws_upgrade() 2021-01-16 22:48:43 +00:00
Riccardo Dal Fiume
7beff0201d FIX README mg_http_serve* 2021-01-12 11:28:41 +01:00
cpq
a4c9d1ecb7 Update mg_http_serve_file() doc 2021-01-07 16:21:01 +00:00
cpq
b7a79a556a Add extra headers param to mg_http_serve_file 2021-01-07 12:48:20 +00:00
cpq
c7e09bd7b4 Add SSI include file=, include virtual= 2021-01-02 17:57:51 +00:00
cpq
29534218d7 IPv6 related refactoring 2020-12-20 16:55:33 +00:00
cpq
82a378e519 Add extra param to http_reply() 2020-12-17 22:47:55 +00:00
cpq
2252a74cd7 Note on UDP 2020-12-17 11:19:13 +00:00
cpq
1252a61479 More docs 2020-12-14 09:36:46 +00:00
cpq
5f631c0b96 More docs 2020-12-14 09:35:03 +00:00
cpq
7ce9cdf0b9 More docs 2020-12-14 09:31:03 +00:00
cpq
6c4b5efd98 Add restful and client example 2020-12-10 13:26:05 +00:00
cpq
05a43c563c Update READMEs 2020-12-08 16:53:35 +00:00
cpq
94d2e86b60 More docs 2020-12-08 16:26:17 +00:00
cpq
47b6060910 Add docs 2020-12-06 21:12:05 +00:00
Sergey Lyubka
029af1c376 Docs moved to Cesanta site 2013-09-20 13:27:48 +01:00
Sergey Lyubka
f74fec8a7e Split docs by sections 2013-09-18 09:44:12 +01:00