Core: allow re-connecting from same TelegramClient#937
Conversation
If the connection dropped, there was no way to reconnect from the same instance of TelegramClient.
3c41b6d to
f25058d
Compare
|
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.