diff --git a/Embassy.podspec b/Embassy.podspec index 26ce5ef..0753fb9 100644 --- a/Embassy.podspec +++ b/Embassy.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |spec| spec.name = 'Embassy' - spec.version = '4.1.4' + spec.version = '4.1.6' spec.summary = 'Lightweight async HTTP server in pure Swift for iOS/macOS UI Automatic testing data mocking' spec.homepage = 'https://github.com/envoy/Embassy' spec.license = 'MIT' diff --git a/Sources/Transport.swift b/Sources/Transport.swift index f16da75..2e94010 100644 --- a/Sources/Transport.swift +++ b/Sources/Transport.swift @@ -198,6 +198,8 @@ public final class Transport { fallthrough case EPIPE: closedByPeer() + case ECONNRESET: + closedByPeer() default: fatalError("Failed to send, errno=\(number), message=\(message)")