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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Bug Fixes
Fix HTTPBodyOutputStreamBridge state machine to handle terminal events gracefully: wroteFinalChunk and endEncountered no longer crash when called in the .closed state (swift-openapi-urlsession#95)
Fix errorOccurred in HTTPBodyOutputStreamBridge: the .initial state now correctly closes the stream instead of silently doing nothing
Add cancel(error:) to HTTPBodyOutputStreamBridge so the stream bridge can be cancelled externally with an optional error
Propagate URLSession task errors to the request stream bridge in BidirectionalStreamingURLSessionDelegate.didCompleteWithError (swift-openapi-urlsession#94)
Replace NSLock in HTTPBody with the internal pthread-based Lock, removing an Objective-C Foundation dependency for locking
Other
Add Scripts/check-upstream.sh to compare upstream swift-openapi-runtime and swift-openapi-urlsession files against local copies, making future syncs easier to spot