Skip to content
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

[SR-8823] Implement URLSession.seekInputStream(to:) #3631

Closed
swift-ci opened this issue Sep 24, 2018 · 3 comments
Closed

[SR-8823] Implement URLSession.seekInputStream(to:) #3631

swift-ci opened this issue Sep 24, 2018 · 3 comments

Comments

@swift-ci
Copy link
Contributor

Previous ID SR-8823
Radar rdar://problem/52194062
Original Reporter Cellane (JIRA User)
Type Bug
Status Resolved
Resolution Done
Additional Detail from JIRA
Votes 5
Component/s Foundation
Labels Bug
Assignee None
Priority Medium

md5: 5bafa2c77d80d0cdf603ca703676eeed

Issue Description:

Using the in URLSession.seekInputStream(to🙂 method in a Linux environment crashes the entire application on the following line:

https://github.com/apple/swift-corelibs-foundation/blob/master/Foundation/URLSession/NativeProtocol.swift#L264

There is an existing PR that implements the method to some degree, but would likely need some cleaning up before merging:

#1629

I think implementing this method is particularly important in a server-side environment where it’s causing a lot of random and difficult-to-debug crashes in Vapor projects.

@ddunbar
Copy link
Member

ddunbar commented Jan 11, 2019

+1, I've definitely observed this myself

@ddunbar
Copy link
Member

ddunbar commented Jan 11, 2019

@swift-ci create

@spevans
Copy link
Collaborator

spevans commented Jan 16, 2020

The solution in #1629 was merged.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 5, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants