Commit Graph

91 Commits

Author SHA1 Message Date
levlam
af4c366fdd Remove legacy DH functions.
GitOrigin-RevId: 13efa3ef84b99095170df7f5c994482eb9606fe2
2018-08-11 13:29:06 +03:00
levlam
73aa76dc5f Pre-check DH parameters.
GitOrigin-RevId: 98a488559b95651eab0c43b747a1f1fae2b716a5
2018-08-09 23:41:01 +03:00
levlam
466ebd2908 Add DhHandshake::check_config method.
GitOrigin-RevId: 1f9bbd0539454c2e6acbfe3be514614985a2d713
2018-08-09 22:56:24 +03:00
levlam
c44361fb60 Add functions for getting BigNum parameters of DhHandshake.
GitOrigin-RevId: 7ad8d822f5d4c696769b5585b6fc6533ba56d0e0
2018-08-08 22:57:37 +03:00
levlam
5e6672ee26 Better HTTP max_wait calculation.
GitOrigin-RevId: 36a149e8d4a2b46ee5e2d23514a8a78d6ad696fc
2018-07-27 12:15:29 +03:00
levlam
8de0bcd0a6 Add support for HTTP-only HTTP proxies.
GitOrigin-RevId: 7b8e3e7afb0f26c8e8fa97b0ffff5d1ad0267b5c
2018-07-27 03:54:25 +03:00
levlam
e2a90b9edf Fix some string to Slice conversions.
GitOrigin-RevId: 79ddee1a90c633cc1b1df5c8e3d9917027bad0f3
2018-07-08 02:47:46 +03:00
levlam
90f0f006b4 Check that storer unsafe doesn't overflows.
GitOrigin-RevId: ffbdcbbba7d26688b59cda00318d02fc06e402dc
2018-07-06 23:33:11 +03:00
levlam
deecdb66bc Fix some td/actor/ includes.
GitOrigin-RevId: f9cf960b96018c4eb6169d2ec6cb5d3fbc16c0ec
2018-07-03 22:29:04 +03:00
levlam
7150cfc8b2 Add disable_top_chats option.
GitOrigin-RevId: 732ba115f67d19585b4e2f4aae024194c6e65174
2018-06-26 22:51:00 +03:00
levlam
46535703e0 Fix some includes.
GitOrigin-RevId: 901d167d7197e4c0222656e9fc1f9fc0e216e44b
2018-06-26 02:43:11 +03:00
levlam
aa13a57a3c Update layer to 82. Contact.vcard support.
GitOrigin-RevId: 302d65351cfaeb6b4e82c594565ab1aef18b2a42
2018-06-26 00:10:53 +03:00
levlam
046ad3b752 Make TlStorerUnsafe buffer unsigned.
GitOrigin-RevId: 8bb19c10e4edd8b015d3a2be0449426c9c07f7df
2018-06-25 02:58:43 +03:00
levlam
8c45bd919e Fix pad_size type.
GitOrigin-RevId: 3ec3f1f14a3a54fc28131f3b4bc7bda383e3a704
2018-06-24 19:50:09 +03:00
levlam
44bc3d5f08 Add debug to send_query.
GitOrigin-RevId: 2ac237e8288335acad7f9f8f0a3ab6ef686210b7
2018-06-21 22:14:52 +03:00
Arseny Smirnov
9d5dd09fd7 mtproto::Transport: bugfix
GitOrigin-RevId: ea53041b64a84292830e25e111bdbd31d21f1911
2018-06-20 00:00:02 +03:00
levlam
744df9f511 Minor fixes.
GitOrigin-RevId: fb737b1ddcb72ce4c6393d9e282336184285dafd
2018-06-17 22:56:21 +03:00
Arseny Smirnov
69cf867d47 0xdd quick ack
GitOrigin-RevId: 3e35df493f46f91cd1cf81671819848d9640fedd
2018-06-17 20:52:40 +03:00
levlam
8a6b550a86 New transport improvements.
GitOrigin-RevId: cc7b8aafe6a30009fd4d549ef969c373ce2b9d9a
2018-06-16 03:03:14 +03:00
Arseny Smirnov
c02d4505e4 0xdd transport
GitOrigin-RevId: 241c2fcea3ebaac20fc68531692cbd299a9de95a
2018-06-15 21:54:22 +03:00
Arseny Smirnov
fdd898124b Ignore inbound unencrypted packets padding (0xdd transport)
GitOrigin-RevId: 7da991cb741b65fe2ade26ccc4fc3ef3c788db7a
2018-06-15 21:11:07 +03:00
Arseny Smirnov
d07c172ec8 Padding in unencrypted packets
GitOrigin-RevId: e547cedd27afebc8023afaca5ef0a7af6e2f3075
2018-06-15 18:11:48 +03:00
Arseny Smirnov
b44c7cfcb8 Fix alignment of recieved packet
GitOrigin-RevId: 8cbb24dabb7cf8050cecd47364df496b122db559
2018-06-15 17:30:32 +03:00
levlam
cb1e0374af Minor fixes.
GitOrigin-RevId: 7deac5583350d64cf6fd0e323f2291804e3ba995
2018-06-05 20:44:41 +03:00
levlam
2c5f5a8587 Improve PingConnection.
GitOrigin-RevId: be82fa18e2f9a154d3d276b5618d0ca72b9e4282
2018-06-04 19:58:54 +03:00
levlam
e11d4e02db Fix HeaderCreator usage.
GitOrigin-RevId: 1ac210190048ad2797751630a838f74541dda37d
2018-06-01 23:45:34 +03:00
Arseny Smirnov
c783a946c3 Session: fix warning
GitOrigin-RevId: 6183ab2342222670680057843fc3d908b7995ce8
2018-05-30 19:38:17 +03:00
levlam
db6777c7f2 Use p_q_inner_data_dc.
GitOrigin-RevId: f1e57b83d850ac4233bf9508b6585aaf0efe1423
2018-05-23 19:49:05 +03:00
levlam
490c4e86a2 Minor fixes.
GitOrigin-RevId: f972e24191cc31262bf655774bc6193277b8842b
2018-05-18 15:57:40 +03:00
Arseny Smirnov
efc5cbb8ad Mtproto secret support
GitOrigin-RevId: 3efeb3f309b76074d6581d68e9a9b20df79e82ae
2018-04-30 20:01:18 +03:00
levlam
8524a99faa Fix getter names.
GitOrigin-RevId: 19b6d420475d7ca7161fbb19658dcefa73de094f
2018-04-19 15:23:54 +03:00
levlam
1b75824e3e Better README.md.
GitOrigin-RevId: 1eb3febfd362c2e32a5ed4b1bf38ce88652bd2c0
2018-03-13 22:45:00 +03:00
Arseny Smirnov
7eb7f540e2 Add debug
GitOrigin-RevId: 2ad27272b5896f1e3acc125cb7da64ef1d9f6b3b
2018-03-13 19:09:59 +03:00
levlam
1ac97a6ba7 Various fixes.
GitOrigin-RevId: 80fa34e64e6824a0f96c38d2e8b0a32455267ea8
2018-02-28 13:25:07 +03:00
levlam
d1f1a14a37 Update layer to 76: add messageWebsiteConnected.
GitOrigin-RevId: 8cb5128a7d7eac2afe0622fc901392bf318fa460
2018-02-22 03:36:40 +03:00
levlam
269cf358e0 Fix some spelling.
GitOrigin-RevId: 102622d5c1871a52d6b229f708df6305006f6137
2018-02-17 02:54:44 +03:00
levlam
a6ab35e616 Replace std::max/min with td::max/min.
GitOrigin-RevId: 56fb21194e995cbb37b3ebb5caed689c10320b8d
2018-02-12 13:37:54 +03:00
levlam
24c873884f AuthData.cpp.
GitOrigin-RevId: 8ca44a4d07591d785b571e8847acdc6ee3a45638
2018-02-12 12:28:14 +03:00
levlam
b2d9b5738c Move ObfuscatedTransport::init implementation to cpp.
GitOrigin-RevId: 7e69d147dffce3ac1cd1254959b9e52ece5d50ca
2018-02-12 12:01:11 +03:00
levlam
5cbda834bd Update copyright year.
GitOrigin-RevId: 1369d3af1195221f6ddb9462d5f8b74fb5fef20f
2018-01-02 16:45:09 +03:00
Arseny Smirnov
71d03f39c3 Project import generated by Copybara.
GitOrigin-RevId: 318483224ad6164d9966f731d60cde37039bb2d4
2017-12-31 23:08:40 +03:00