mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-09-02 02:43:07 +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()) {
|
if (MTLogEnabled()) {
|
||||||
MTLog(@"[MTTcpConnection#%x response timeout]", (int)self);
|
MTLog(@"[MTTcpConnection#%x response timeout]", (int)self);
|
||||||
}
|
}
|
||||||
[self stop];
|
[self closeAndNotifyWithError:true];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)socket:(GCDAsyncSocket *)__unused socket didReadPartialDataOfLength:(NSUInteger)partialLength tag:(long)__unused tag
|
- (void)socket:(GCDAsyncSocket *)__unused socket didReadPartialDataOfLength:(NSUInteger)partialLength tag:(long)__unused tag
|
||||||
|
Loading…
x
Reference in New Issue
Block a user