Skip to content

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

Closed
@swift-ci

Description

@swift-ci
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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions