-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SwiftyRequest crashes randomly on Linux due to NSUnimplemented #25
Comments
Hmm yes I think this is a limitation in the current implementation of URLSession on Linux. @pushkarnk @nethraravindran do you have any thoughts on this? Could we implement seekInputStream()? |
As this is not a SwiftyRequest issue per se but caused by the implementation of URLSession on Linux I'm closing this for now. |
This issue should not be closed as it falsely leads people to believe that SwiftyRequest works on Linux, whereas if I am not missing anything it still randomly crashes via |
I'd accept PRs updating the documentation to make this clearer. However, |
Whatever works for you @ianpartridge. It's just that I came back after 6 months and almost accidentally pulled in SwiftyRequest believing it's all good and shiny while it still crashes. |
That's fair. I've just updated the README to warn people accordingly. Thank you. |
Do you guys know why it happens randomly and not every time? |
Using SwiftyRequest in production randomly crashes the process with
Not sure where is this called from but looks like somewhere deep in Linux URLSession code, not necessarily the SwiftyRequest code.
The text was updated successfully, but these errors were encountered: