- Notifications
You must be signed in to change notification settings - Fork379
Core: allow re-connecting from same TelegramClient#937
base:master
Are you sure you want to change the base?
Conversation
If the connection dropped, there was no way to reconnect from the sameinstance of TelegramClient.
but in this way you are not changing the TcpTransport initialization in the constructor either? |
i the TcpTransport initialization, in the constructor, should be changed since we are working on this issue and we have a chance to make it better |
why change that? we create a new transport on each ConnectAsync() call, and that's it |
becauese the connection inside the constructor in TcpTransport is quite terrible anyways, now i am running your solution. let's see if it works on the long run |
yes this seems to be working |
If the connection dropped, there was no way to reconnect from the same
instance of TelegramClient.