mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-09-01 10:23:15 +00:00
Report error on request timeout
This commit is contained in:
parent
dd02b83037
commit
b7ade4bccd
@ -607,7 +607,7 @@ struct ctr_state {
|
||||
if (MTLogEnabled()) {
|
||||
MTLog(@"[MTTcpConnection#%x response timeout]", (int)self);
|
||||
}
|
||||
[self stop];
|
||||
[self closeAndNotifyWithError:true];
|
||||
}
|
||||
|
||||
- (void)socket:(GCDAsyncSocket *)__unused socket didReadPartialDataOfLength:(NSUInteger)partialLength tag:(long)__unused tag
|
||||
|
Loading…
x
Reference in New Issue
Block a user