Commit Graph
70 Commits
Author SHA1 Message Date
PobreGato 437b70a463 protect addressbook addresses with mutex 2026-08-12 03:40:37 +03:00
orignal 50b4c3d8f1 put addressbook update with boost::beast back 2026-08-05 16:53:06 -04:00
orignal 346c9c0cd0 rollback to old implemntation without boost::beast 2026-08-05 07:58:26 -04:00
orignal 6246c4f9d3 close stream after HTTP response 2026-08-04 09:35:51 -04:00
orignal 6d47cca978 receive timeout for BoostAsyncStream 2026-07-29 18:03:44 -04:00
orignal 01240f75ab defer moving stream to destination's thread 2026-07-27 21:56:09 -04:00
orignal 8948bb5e01 defer moving stream to destination's thread 2026-07-27 21:52:44 -04:00
orignal 12de5f0550 use boost::beast for address book updates 2026-07-27 21:21:47 -04:00
jpk68 757f4d1881 chore: fix issues found through static analysis 2026-07-25 16:42:55 -04:00
jpk68 16c516d2d1 chore: fix several memory safety issues 2026-07-24 23:00:12 -04:00
orignal 58bdff19ac replace Host to .b32.i2p address 2026-07-14 19:20:39 -04:00
orignal 39ad36d901 delete stream in shared destination's thread. steady_timer instead deadline_timer 2026-03-01 18:41:16 -05:00
Dimitris Apostolou b00001752b fix typos 2025-08-20 17:49:45 +03:00
orignal 029e279b48 fixed typo 2025-03-22 12:30:51 -04:00
orignal 4d9b5e685d use ends_with to recognize .i2p addresses 2025-03-08 16:03:36 -05:00
orignal 57aa8b3de8 fixed typo 2025-01-31 12:55:09 -05:00
orignal 45bab06f37 cleanup cached addresses 2025-01-27 18:30:22 -05:00
orignal c3fa0ae8cc cache full addresses in memory when requested or received 2025-01-27 13:24:37 -05:00
orignal 634ceceb1c use std::string_view instead const std::string& 2025-01-12 12:23:26 -05:00
orignal 0086f8e27a use std::async for address book download 2024-10-29 15:32:06 -04:00
orignal 8a8277edda check for empty URL string 2024-10-29 13:59:21 -04:00
orignal 3d0a1afd64 check if addressbook is enabled 2024-09-11 12:06:55 -04:00
orignal ae309ca632 use std::filesystem for C++17 2024-08-27 21:49:23 -04:00
orignal 3286bdb4a7 verify jump link for valid characters 2023-10-29 22:11:38 -04:00
weko 354a04f0f6 Up level for some logs to critical 2023-03-31 11:29:04 +00:00
R4SAS 503f522cc3 [style] clean trailing spaces and tabs
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2023-01-03 21:25:19 +03:00
orignal 9fd60b52f1 sync StreamCreate 2022-11-08 19:52:43 -05:00
orignal c6a6a4e0e8 sync Receive from stream 2022-11-08 18:34:59 -05:00
R4SAS 798dd8b27b [HTTP Proxy] skip addresshelper page if destination is not changed (closes #1789)
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2022-10-09 22:15:36 +03:00
R4SAS 96c4463d39 clean code
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2022-10-09 20:24:43 +03:00
orignal 9abc4cf359 fixed crash at startup if addressbook is disbaled 2022-08-30 15:18:31 -04:00
orignal 1d6104ecf3 addressbook.enabled config param 2022-05-27 13:17:06 -04:00
R4SASandR4SAS 6b4ffcff5a cleanup code (spaces, tabs)
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2022-05-20 17:44:29 +00:00
R4SAS 5f9972af78 [addressbook] fix loading subscriptions from config
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2021-12-07 23:00:52 +03:00
R4SAS edc0162163 clean line trailing spaces and tabs
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2021-11-27 23:30:35 +03:00
R4SAS 94661f697b [log] update log messages (closes #1693)
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2021-11-27 22:53:53 +03:00
R4SAS 3dd9e81296 [addressbook] check domain ending when processing subscriptions
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2021-09-17 02:53:30 +03:00
orignal 6fc5f88a3b dump addressbook in hosts.txt format 2021-01-20 19:19:34 -05:00
R4SAS 9a2c6a7619 move thread naming to util
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2020-12-07 06:31:46 +03:00
R4SAS 36473e3889 add naming to threads
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2020-12-04 18:37:17 +03:00
orignal 30d6bd144b don't replace an adddress by one with DSA signature 2020-11-19 15:41:00 -05:00
orignal 489c38ec5b read Last-Modified 2020-09-27 19:19:48 -04:00
orignal 4d85079372 correct addressbook request 2020-09-27 17:46:15 -04:00
orignal e7ff6fbffc don't save invalid addreses 2020-08-14 09:54:31 -04:00
R4SASandR4SAS 8bae4975fb add copyright headers
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2020-05-22 18:14:53 +00:00
R4SASandR4SAS 7a5146ea74 fix code syle(spaces->tabs, tabulations)
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2020-05-22 18:14:53 +00:00
orignal c2f47119ce fixed #1424. Check if .b32.i2p address string is valid 2019-09-23 13:42:15 -04:00
orignal ad9c11cd92 correct parsing of addreses containing # 2019-08-10 22:16:26 -04:00
Dimitris ApostolouandGitHub 6a497a23d9 Fix typos 2019-04-08 22:22:42 +03:00
orignal 414ef2bc3d fixed gcc 4.7 build 2019-04-04 16:18:52 -04:00