You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which version of the library were you using?
Custom Library with recompiled .a for TVOS
Which version of iOS are you running?
TVOS 10.2
What model of iOS device were you testing on?
AppleTV 2
If using CocoaPods, which version of CocoaPods are you on?
1.2.0
Goals
What is the outcome result you want to achieve with this library?
The default timeout is too long and it would be nice if we could modify it. For exemple my app use a completion block when the error block is called on function requestContentsOfDirectory(atFilePath path: String!, success successHandler: (([Any]?) -> Swift.Void)!, error errorHandler: ((Error?) -> Swift.Void)!)
The problem is the error block is called so far after the function call and i can't use the synchronous version because the app can't be stuck such long time.
Might be amazing if you could implement this feature.
The text was updated successfully, but these errors were encountered:
Yeah. I agree. When I was testing this library, I mistyped the URL to my NAS several times and the timeout delay was really annoying.
Unfortunately, this is a libdsm level issue. I tried playing with the libdsm source code last year to try and introduce a connection timeout limit, but for the life of me, I couldn't get it working. I'm sadly still very new to the general concept of sockets, so I'm not sure how to properly configure them.
If anyone else wants to give it a try and submit a PR, this feature would be very much appreciated. :)
Hardware / Software
Which version of the library were you using?
Custom Library with recompiled .a for TVOS
Which version of iOS are you running?
TVOS 10.2
What model of iOS device were you testing on?
AppleTV 2
If using CocoaPods, which version of CocoaPods are you on?
1.2.0
Goals
What is the outcome result you want to achieve with this library?
The default timeout is too long and it would be nice if we could modify it. For exemple my app use a completion block when the error block is called on function requestContentsOfDirectory(atFilePath path: String!, success successHandler: (([Any]?) -> Swift.Void)!, error errorHandler: ((Error?) -> Swift.Void)!)
The problem is the error block is called so far after the function call and i can't use the synchronous version because the app can't be stuck such long time.
Might be amazing if you could implement this feature.
The text was updated successfully, but these errors were encountered: