Skip to content

Conversation

@YangSen-qn
Copy link
Contributor

No description provided.

@implementation QNDnsPrefetcher

+ (instancetype)shared{
static QNDnsPrefetcher *prefethcer = nil;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

prefethcer => prefetcher

NSArray *inetAddressList = self.addressDictionary[inetAddress.hostValue];
NSMutableArray *inetAddressListNew = [NSMutableArray array];
for (id <QNInetAddressDelegate> inetAddressP in inetAddressList) {
if (![inetAddressP.ipValue isEqualToString:inetAddressP.ipValue]) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

??? 肯定相同??

return NO;
}

- (BOOL)recoderDnsCache{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

recoder => recorder ??

[self setValue:nil forHTTPHeaderField:kQNURLReuestHostKey];
}

NSTimeInterval timestmap = [[NSDate date] timeIntervalSince1970];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

timestmap => timestamp


@interface QNZone : NSObject
#define kQNGloableConfiguration [QNGloableConfiguration shared]
@interface QNGloableConfiguration : NSObject
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gloable 应该是 Global ?

+ (instancetype)shared;

/// 根据name查找事务
- (NSArray <QNTransaction *> *)transcationsForName:(NSString *)name;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

transcation => transaction

@end
@implementation QNURLProtocol

#define kQNReuqestIdentifiers @"QNReuqestIdentifiers"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

kQNReuqestIdentifiers => kQNRequestIdentifiers

}
}

- (void)handlerAction:(long long)time{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

handlerAction => handleAction

@bachue bachue merged commit 67f35d9 into qiniu:master Jun 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants