mirror of
https://github.com/curl/curl.git
synced 2026-06-24 17:15:37 +03:00
sectransp: fix EOF handling
Regression since the large refactor from 2022 Closes #11427
This commit is contained in:
parent
b87e0921e0
commit
9630fb9f2a
1 changed files with 3 additions and 0 deletions
|
|
@ -860,6 +860,9 @@ static OSStatus bio_cf_in_read(SSLConnectionRef connection,
|
|||
}
|
||||
nread = 0;
|
||||
}
|
||||
else if(nread == 0) {
|
||||
rtn = errSSLClosedGraceful;
|
||||
}
|
||||
else if((size_t)nread < *dataLength) {
|
||||
rtn = errSSLWouldBlock;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue