Commit Graph

27 Commits

Author SHA1 Message Date
Sergio R. Caprile
deca1aaf46 remove fn_data from event handler signature 2024-01-09 14:51:19 -03:00
cpq
3f0366a514 Revert to the old TLS API, but keep certs as mg_str for DER 2023-09-19 11:15:23 +01:00
Sergio R. Caprile
d8106a8ffe use packed ca.pem 2023-09-06 15:21:16 -03:00
Sergio R. Caprile
2b20af36a7 is_closing -> is_draining 2023-08-17 16:45:10 -03:00
Sergio R. Caprile
ed54b60ea3 update to new API 2023-07-25 18:41:41 -03:00
Sergio R. Caprile
199af33b30 update to new TLS API 2023-07-25 14:26:14 -03:00
Sergio R. Caprile
95f44246bf
fix old comment 2023-03-29 11:46:40 -03:00
cpq
da5e8e9778 Rename struct mg_connection::label -> data. Make its size configurable 2023-01-10 08:19:49 +00:00
Sergey Lyubka
a468f58128 Use int debug level 2022-08-01 11:19:32 +01:00
Sergio R. Caprile
6542c02b7f fixed TLS build comment 2022-06-28 10:56:56 -03:00
Sergio R. Caprile
3bd3a4ff7b fixed comment, updated TLS section in makefile 2022-06-20 14:50:45 -03:00
Sergey Lyubka
55948cd431 Allow to set log level 2022-06-10 12:33:30 +01:00
Sergey Lyubka
ef44f90491 Fix #1520 - move state to struct mg_mgr 2022-04-12 14:14:55 +01:00
Sergey Lyubka
7ef82f5caf Add vc2017 target 2022-03-21 14:38:42 +00:00
Sergey Lyubka
1141ea7933 Add connection timeout 2022-03-20 18:50:01 +00:00
Sergey Lyubka
870431dc1a Enhance HTTP client example 2022-03-15 14:14:36 +00:00
Sergey Lyubka
dca08d32bd Fix URL 2021-09-13 13:47:49 +01:00
cpq
e9d122f231 Stricter checks for mg_url_*() 2021-03-24 15:49:35 +00:00
cpq
4deb95776f Remove multipart example code 2021-03-18 11:59:23 +00:00
cpq
bcb0874477 Add file upload code example 2021-03-15 09:36:27 +00:00
cpq
51e3a1304b Fix TLS build 2021-02-13 10:45:27 +00:00
cpq
d327ee9834 Improve SNI 2021-01-30 13:03:11 +00:00
cpq
6bcd02bb1c Enhance HTTP client example 2020-12-24 16:52:58 +00:00
cpq
d7abd53062 Always send MG_EV_CONNECT on TCP connect 2020-12-18 15:13:19 +00:00
cpq
aede72fa37 Refactor HTTP client 2020-12-18 14:29:30 +00:00
cpq
04450ec659 Update http server example to showcase SSL 2020-12-18 09:01:14 +00:00
cpq
54250f5fbf Rename, use hyphen 2020-12-12 10:22:45 +00:00