Skip to content
This repository was archived by the owner on Oct 29, 2021. It is now read-only.

Commit b909bc8

Browse files
committed
Release 0.4.6 with minor bug fix.
1 parent b46c0fc commit b909bc8

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Release 0.4.6
2+
3+
- [x] Minor bug fix retrying requests
4+
15
# Release 0.4.5
26

37
- [x] Added customizable acceptable status codes range

Net.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1567,7 +1567,7 @@
15671567
CURRENT_PROJECT_VERSION = "$(DYLIB_CURRENT_VERSION)";
15681568
DEVELOPMENT_TEAM = 3VW789WSMP;
15691569
DYLIB_COMPATIBILITY_VERSION = 0.4.5;
1570-
DYLIB_CURRENT_VERSION = 0.4.5;
1570+
DYLIB_CURRENT_VERSION = 0.4.6;
15711571
ENABLE_STRICT_OBJC_MSGSEND = YES;
15721572
ENABLE_TESTABILITY = YES;
15731573
GCC_C_LANGUAGE_STANDARD = gnu99;
@@ -1621,7 +1621,7 @@
16211621
CURRENT_PROJECT_VERSION = "$(DYLIB_CURRENT_VERSION)";
16221622
DEVELOPMENT_TEAM = 3VW789WSMP;
16231623
DYLIB_COMPATIBILITY_VERSION = 0.4.5;
1624-
DYLIB_CURRENT_VERSION = 0.4.5;
1624+
DYLIB_CURRENT_VERSION = 0.4.6;
16251625
ENABLE_STRICT_OBJC_MSGSEND = YES;
16261626
GCC_C_LANGUAGE_STANDARD = gnu99;
16271627
GCC_NO_COMMON_BLOCKS = YES;

NetClient.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'NetClient'
3-
s.version = '0.4.5'
3+
s.version = '0.4.6'
44
s.summary = 'Versatile HTTP networking library written in Swift.'
55

66
s.homepage = 'https://github.com/intelygenz/NetClient-iOS'

URLSession/NetURLSession.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ extension NetURLSession {
171171
netTask?.response = netResponse
172172
netTask?.error = netError
173173
if let request = netTask?.request, let retryCount = netTask?.retryCount, netTask?.retryClosure?(netResponse, netError, retryCount) == true || retryClosure?(netResponse, netError, retryCount) == true {
174-
let retryTask = self.data(request)
174+
let retryTask = self.data(netTask?.request ?? request)
175175
netTask?.netTask = retryTask.netTask
176176
netTask?.state = .suspended
177177
netTask?.retryCount += 1

0 commit comments

Comments
 (0)