Skip to content
This repository has been archived by the owner on Nov 12, 2024. It is now read-only.

Commit

Permalink
Merge pull request bustoutsolutions#315 from snoozemoose/master
Browse files Browse the repository at this point in the history
Fixed crash on iOS 11
  • Loading branch information
pcantrell authored Oct 24, 2021
2 parents 89b6cee + 0c58c4a commit 4fcc942
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion Extensions/Alamofire/Networking-Alamofire.swift
Original file line number Diff line number Diff line change
Expand Up @@ -83,5 +83,14 @@ extension Alamofire.Session: NetworkingProviderConvertible
private class ZeroProgressURLSessionTask: URLSessionTask
{
override var countOfBytesSent: Int64
{ return 0 }
{ 0 }

override var countOfBytesExpectedToSend: Int64
{ 1 }

override var countOfBytesReceived: Int64
{ 0 }

override var countOfBytesExpectedToReceive: Int64
{ 1 }
}

0 comments on commit 4fcc942

Please sign in to comment.