Skip to content

Commit 518b2ce

Browse files
committed
change dependency: HappyDNS ~> 0.3.17
1 parent 6a46c8c commit 518b2ce

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
source 'https://github.com/CocoaPods/Specs.git'
22

33
def shared_dependencies
4-
pod 'HappyDNS', '0.3.16'
4+
pod 'HappyDNS', '0.3.17'
55
end
66

77
def test_dependencies

Qiniu.podspec

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ Pod::Spec.new do |s|
1313
s.source_files = "QiniuSDK/**/*.{h,m}"
1414
s.requires_arc = true
1515
s.libraries = 'z'
16-
s.dependency 'HappyDNS', '~> 0.3.16'
16+
#s.dependency 'HappyDNS', '~> 0.3.17'
17+
s.dependency 'HappyDNS', '0.3.17'
1718
s.license = { :type => "MIT", :text => <<-LICENSE
1819
The MIT License (MIT)
1920

QiniuSDK/Http/Dns/QNDnsPrefetcher.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ - (void)endPreFetch{
321321

322322
- (void)preFetchHosts:(NSArray <NSString *> *)fetchHosts{
323323

324-
self.httpDns.defalutTtl = kQNGlobalConfiguration.dnsCacheTime;
324+
self.httpDns.defaultTtl = kQNGlobalConfiguration.dnsCacheTime;
325325

326326
NSArray *nextFetchHosts = fetchHosts;
327327

0 commit comments

Comments
 (0)