File tree Expand file tree Collapse file tree 1 file changed +13
-11
lines changed Expand file tree Collapse file tree 1 file changed +13
-11
lines changed Original file line number Diff line number Diff line change @@ -4973,23 +4973,25 @@ - (void)doReadEOF
4973
4973
{
4974
4974
if (error == nil )
4975
4975
{
4976
- if ([self usingSecureTransportForTLS ])
4977
- {
4978
- #if SECURE_TRANSPORT_MAYBE_AVAILABLE
4979
- if (sslErrCode != noErr && sslErrCode != errSSLClosedGraceful)
4976
+ #if SECURE_TRANSPORT_MAYBE_AVAILABLE
4977
+ if ([self usingSecureTransportForTLS ])
4980
4978
{
4981
- error = [self sslError: sslErrCode];
4979
+ if (sslErrCode != noErr && sslErrCode != errSSLClosedGraceful)
4980
+ {
4981
+ error = [self sslError: sslErrCode];
4982
+ }
4983
+ else
4984
+ {
4985
+ error = [self connectionClosedError ];
4986
+ }
4982
4987
}
4983
4988
else
4984
4989
{
4985
4990
error = [self connectionClosedError ];
4986
4991
}
4987
- #endif
4988
- }
4989
- else
4990
- {
4991
- error = [self connectionClosedError ];
4992
- }
4992
+ #else
4993
+ error = [self connectionClosedError ];
4994
+ #endif
4993
4995
}
4994
4996
[self closeWithError: error];
4995
4997
}
You can’t perform that action at this time.
0 commit comments