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
Hey, @megakode Thanks for reporting this. Can you please run the SwifterSampleiOS in your iPad Mini x @ iOS x.x to see the result there when the route/files/:path is requested? Unfortunately, I don't have that specific device to run it myself.
Symptom:
On some iOS devices i get a HTTP 200 as if everything is ok when sharing a directory, but an empty response is returned.
Digging deeper i found that
sendFileImpl(...)
(in Socket+File.swift) returns -1 after callingwrite(...)
and the posixERRNO
is set to "Broken Pipe".When trying to read the same file directly from Swift using the FileManager everything is ok, so no missing file or permission should be the cause.
Work perfectly on:
iPhone X @ iOS 12.1.4
iPhone XS @ iOS 12.1.1
Always returns error on:
iPad Mini 2 @ iOS 10.0.1
iPad Mini 2 @ iOS 11.0
iPad Mini 4 @ iOS 12.2
The text was updated successfully, but these errors were encountered: