Commit Graph

29 Commits

Author SHA1 Message Date
levlam
a497eb5fcd Create SSL context asynchronously. 2022-12-11 17:17:25 +03:00
levlam
b005f42b2e Improve error messages. 2022-12-05 00:00:08 +03:00
levlam
ed0532bcf7 Use destroy_on_scheduler in WebhookActor. 2022-11-27 01:31:00 +03:00
levlam
a016d13c15 Use td::Hash instead of std::hash. 2022-11-23 23:43:05 +03:00
levlam
c8405e95f3 Improve HttpOutboundConnection parameters. 2022-11-22 16:44:30 +03:00
levlam
9842d5754f Improve flood control for new webhook connections. 2022-11-22 14:25:52 +03:00
levlam
a9cb897af4 Update TDLib to 1.8.9 and add SslCtx caching. 2022-11-11 15:37:07 +03:00
levlam
95131fe376 Update TDLib. 2022-06-30 20:27:08 +03:00
levlam
3de310c951 Use LambdaPromise instead of PromiseActor. 2022-06-30 19:59:30 +03:00
levlam
06d40edb0a Allow to specify a secret_token in setWebhook to ensure that webhook was set by the domain owner. 2022-05-13 16:39:32 +03:00
levlam
4925532c25 Use td::unique_ptr instead of std::unique_ptr. 2022-03-16 12:52:34 +03:00
levlam
3e9da68537 Use td::FlatHashTable instead of std::unordered_map/set. 2022-03-16 12:41:12 +03:00
levlam
1851ba7eb5 Update TDLib to 1.8.1. 2022-01-31 22:32:10 +03:00
levlam
208fd70d58 Minor improvements. 2022-01-25 18:18:44 +03:00
levlam
997a7408c7 Update TDLib. 2021-09-29 20:34:21 +03:00
levlam
b7af179809 Add logging on errors with non-positive error code. 2021-06-24 17:27:15 +03:00
levlam
7de971ec20 Simplify Query creation and statistics. 2021-06-14 22:47:01 +03:00
levlam
7f9e9fd809 Update TDLib. 2021-05-20 23:51:37 +03:00
levlam
f781aab119 Add webhook response time to log. 2021-02-03 17:32:43 +03:00
levlam
d9c247e5ed Improve warning messages. 2021-01-15 16:54:14 +03:00
levlam
fcdb824f86 Remove pending_update_count_ field. 2021-01-15 16:40:20 +03:00
levlam
789d5bb610 Remove unused field and improve pending_update_count_ field name. 2021-01-15 15:41:55 +03:00
levlam
a1e7249750 Update copyright year. 2021-01-06 17:24:16 +03:00
levlam
525b8ff2f9 Start webhook connection creation in inactive mode. 2021-01-01 16:27:36 +03:00
levlam
72b3f6ea4d Improve webhook updates delaying. 2020-11-26 19:12:19 +03:00
levlam
1f8116b21d Improve log messages. 2020-11-26 18:09:18 +03:00
levlam
4d025b1c9b Safer handling of negative monotonic time. 2020-11-21 17:46:18 +03:00
levlam
79134758a8 Use "time" for monotonic time variables. 2020-11-21 17:38:11 +03:00
levlam
74559bab15 Telegram Bot APi server initial commit. 2020-11-03 19:34:10 +03:00