Overview
Comment: | Return 0 on reads where the SSL layer needs more data to proceed |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
a39f32eccd0856c52aa360a7e08a2cd0 |
User & Date: | florob@babelmonkeys.de on 2012-09-17 14:27:16 |
Other Links: | manifest | tags |
Context
2012-09-17
| ||
14:50 | Fix uninitialized access (random error message) in certificate verification check-in: 62d33a0d4a user: florob@babelmonkeys.de tags: trunk | |
14:27 | Return 0 on reads where the SSL layer needs more data to proceed check-in: a39f32eccd user: florob@babelmonkeys.de tags: trunk | |
2012-07-12
| ||
03:09 | Don't access isa directly. check-in: 8ef0132a06 user: js tags: trunk | |
Changes
Modified src/SSLSocket.m from [0e8016afd9] to [97d862768e].
︙ | ︙ | |||
266 267 268 269 270 271 272 | #else e->errNo = WSAENOTCONN; #endif @throw e; } | | > > > > | 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 | #else e->errNo = WSAENOTCONN; #endif @throw e; } if ((ret = SSL_read(ssl, buffer, (int)length)) < 0) { if (SSL_get_error(ssl, ret) == SSL_ERROR_WANT_READ) return 0; @throw [OFReadFailedException exceptionWithClass: [self class] stream: self requestedLength: length]; } if (ret == 0) atEndOfStream = YES; return ret; } |
︙ | ︙ |