Commit Graph

138 Commits

Author SHA1 Message Date
levlam
f7d073baa4 Fix building with TD_EVENTFD_UNSUPPORTED. 2021-10-25 01:46:39 +03:00
levlam
9f44816a62 Minor improvements. 2021-10-21 12:51:16 +03:00
levlam
1e49f6dc13 Use auto as variable type if it is initialized with a cast. 2021-10-20 01:27:02 +03:00
levlam
db7aa28bdf A lot more minor improvements. 2021-10-19 18:11:16 +03:00
levlam
44a186c7c1 Minor improvements. 2021-10-18 19:26:14 +03:00
levlam
0782f56408 Use uint32 instead of unsigned int if possible. 2021-10-17 22:56:40 +03:00
levlam
a0cc1be3e6 Add allow_creation parameter to SqliteDb::init. 2021-09-22 19:04:56 +03:00
levlam
f073c790c5 Make DbKey required to construct SqliteConnectionSafe. 2021-09-22 17:20:10 +03:00
levlam
db18baa503 Unify include order. 2021-09-19 00:47:05 +03:00
levlam
41c391f140 Update layer to 133. 2021-09-03 12:27:59 +03:00
levlam
6beaf41231 Minor improvements. 2021-09-01 20:31:39 +03:00
levlam
ddb3c56ddb Add one more MessageIdDuplicateChecker benchmark. 2021-08-23 11:17:25 +03:00
levlam
6507fb7602 Use array-based MessageIdDuplicateChecker. 2021-08-22 22:08:46 +03:00
levlam
e66ee3eeae Add check for code 2. 2021-08-22 11:47:57 +03:00
levlam
7b3f60ea85 Fix warning. 2021-08-22 11:01:49 +03:00
levlam
d6679a0179 Add even more DuplicateChecker benchmarks. 2021-08-22 10:59:50 +03:00
levlam
a2f3c4c788 Add array-based duplicate checker to benchmark. 2021-08-22 10:49:40 +03:00
levlam
f9b71104d4 Add DuplicateChecker benchmark with repeated message_id. 2021-08-22 10:25:11 +03:00
levlam
e0f80ca008 Add DuplicateChecker benchmark. 2021-08-22 09:39:43 +03:00
levlam
5b6e2d2c90 Add ThreadSafeCounter benchmark. 2021-08-18 19:26:03 +03:00
levlam
53912a8b52 Move bench_misc out of namespace td. 2021-08-18 18:22:41 +03:00
levlam
040e0deb31 Move DhCallback to a separate header. 2021-07-05 21:20:07 +03:00
levlam
61664b4044 Move remaining MTProto classes to namespace mtproto. 2021-07-05 21:04:23 +03:00
levlam
40c5d47717 Make inherited classes final if possible. 2021-07-04 05:58:54 +03:00
levlam
edfa5d1d98 Use final instead of override. 2021-07-03 23:51:36 +03:00
levlam
924286da8f Use manual checks instead of cmake_minimum_required to propagate policies. 2021-06-13 23:38:48 +03:00
levlam
df4c4b9471 Move TsCerr to separate header. 2021-05-18 17:24:32 +03:00
levlam
a6a4eb6616 Don't include SliceBuilder.h in logging.h. 2021-05-17 15:21:11 +03:00
levlam
52c1da0a70 Update copyright year. 2021-01-01 15:57:46 +03:00
levlam
abdc727a0f Improve OpenSSL 3.0 compatibility. 2020-12-22 17:46:56 +03:00
levlam
6571a99b45 Include ConcurrentScheduler separately. 2020-11-23 03:24:36 +03:00
levlam
34cf869c02 Don't use EVP_aes_256_ctr before OpenSSL 1.1.0. 2020-11-20 02:18:12 +03:00
levlam
5eea5b7501 Rename create_client to create_client_id. 2020-11-15 01:13:11 +03:00
levlam
3efc530fc4 Use ClientManager in check_proxy. 2020-11-13 18:42:47 +03:00
levlam
8b40856d6e Always link OpenSSL with Crypt32 on Windows.
GitOrigin-RevId: 56dd9e21c8175f291222c8d42153dcd50cf57ed9
2020-10-11 23:48:17 +03:00
levlam
771ace5c8d Minor fixes.
GitOrigin-RevId: 7cc15963615dd50f1be3aa37c336214b28f93bb4
2020-10-02 02:17:58 +03:00
levlam
1d9989cbd7 Add top_thread_message_id column to the database.
GitOrigin-RevId: 83cd66038c36236305c7a9ed70df09561e89e190
2020-09-28 15:13:25 +03:00
levlam
a7ba1e3e12 Fix AES benchmark.
GitOrigin-RevId: f438040ad99af3bfa43badff0ccc6de333b11fb9
2020-09-27 15:19:47 +03:00
levlam
75aac4dd46 Explicitly capture copied lambda parameters.
GitOrigin-RevId: 653e4c6b640a77bb757576d974906a30d0732a4a
2020-09-27 02:20:42 +03:00
levlam
78ca715746 Add AES CBC benchmark.
GitOrigin-RevId: 1341d108549c70d9d0b35904eb6389e7589452fc
2020-09-24 14:21:46 +03:00
Arseny Smirnov
6d379b0fd5 bench_crypto: test raw openssl ctr
GitOrigin-RevId: c173a74a094c294e75c6a2c09e3ad10676499611
2020-09-24 15:31:35 +03:00
levlam
499deffa8d Minor benchmark improvements.
GitOrigin-RevId: e75e3ebe819e248b2f5203aa17d736ef8284bd46
2020-08-08 22:00:05 +03:00
levlam
ab5d35371b Ensure that OpenSSL is linked against needed Windows libraries.
GitOrigin-RevId: d2928c94ebe6565e155f81db8ccc24c4c5d69a54
2020-07-28 01:34:35 +03:00
Arseny Smirnov
38ef3a75cc PollableFd: explicit sync_with_poll
GitOrigin-RevId: 71fa35a594816e84e372ebcfa9d0077a13f26a62
2020-07-21 18:29:39 +03:00
levlam
c9889d1a20 Fix TLS handshake.
GitOrigin-RevId: 7542732a79c9fed971332203a620f32ce6d8f878
2020-07-15 16:38:04 +03:00
Arseny Smirnov
fee05df2cc HttpConnection: write_next_noflush for writes without flushing to socket
GitOrigin-RevId: 0b4ffbd7600b1ce466caf8a33897b555a2855211
2020-07-13 11:55:43 +03:00
levlam
97b2191697 Update TLS ClientHello.
GitOrigin-RevId: c7555b5f569c17fa0b1600c9d4cfb6bc4310b4b5
2020-07-09 16:59:57 +03:00
levlam
afcf7197ae Unify constant name style.
GitOrigin-RevId: 660f8aa17fa856c828e6c11ade6c497a82cb7612
2020-06-22 02:40:05 +03:00
levlam
b16bae42df Fix CE.
GitOrigin-RevId: e1b70566e852145961f740026ac5134b4a0f9278
2020-06-17 21:53:34 +03:00
Arseny Smirnov
005611e924 Refactor td::AesState::Impl
GitOrigin-RevId: 5731ddc8d85c912cbfb141bd4e5eefea22d8ab21
2020-06-16 17:57:19 +03:00