OSDN Git Service
(root)
/
kcd
/
KCD.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62382b7
)
リトライの無限ループになる可能性があるバグを修正
author
masakih
<masakih@users.sourceforge.jp>
Fri, 17 Feb 2017 13:03:36 +0000
(22:03 +0900)
committer
masakih
<masakih@users.sourceforge.jp>
Fri, 17 Feb 2017 13:03:36 +0000
(22:03 +0900)
KCD/CustomHTTPProtocol.swift
patch
|
blob
|
history
diff --git
a/KCD/CustomHTTPProtocol.swift
b/KCD/CustomHTTPProtocol.swift
index
56cc06c
..
8366227
100644
(file)
--- a/
KCD/CustomHTTPProtocol.swift
+++ b/
KCD/CustomHTTPProtocol.swift
@@
-140,6
+140,7
@@
extension CustomHTTPProtocol: URLSessionDataDelegate {
if canRetry(error: error as NSError),
let request = actualRequest
{
+ didRetry = true
dataTask = session.dataTask(with: request)
dataTask?.resume()
return