Open
Description
Previous ID | SR-11549 |
Radar | None |
Original Reporter | @mman |
Type | Bug |
Environment
Linux swift 5.1 official docker images.
Additional Detail from JIRA
Votes | 0 |
Component/s | Foundation |
Labels | Bug, 5.1Regression |
Assignee | None |
Priority | Medium |
md5: c3716475689507449e1c8bc858645f4f
Issue Description:
I have made a simple test program that repeatedly fires multiple concurrent HTTP POST requests against a server, StatHat.com in the example.
The program sends 30 simultaneous requests every 30 seconds and works great under Swift 5.0 under Linux and Mac, and fails under Swift 5.1 Linux. Works under Swift 5.1 Mac.
https://github.com/mman/swifty-request-failer
The expected output is that all https requests finish within several seconds with HTTP status code 204. Under Linux 5.1 couple of them do finish but rest starts timing out with error code 1001.