Overview
| Comment: | OFTCPSocket: Retain exception for async connect |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
ffadc58627698626e50322a4ca3f9bce |
| User & Date: | js on 2017-09-23 17:19:50 |
| Other Links: | manifest | tags |
Context
|
2017-09-23
| ||
| 18:34 | OFHTTPClient: Factor out request construction (check-in: 629a6373dd user: js tags: trunk) | |
| 17:19 | OFTCPSocket: Retain exception for async connect (check-in: ffadc58627 user: js tags: trunk) | |
| 11:05 | PLATFORMS.md: Update OpenBSD versions (check-in: e2324e7835 user: js tags: trunk) | |
Changes
Modified src/OFTCPSocket.m from [56b097e84a] to [9870a76e72].
| ︙ | ︙ | |||
181 182 183 184 185 186 187 |
{
void *pool = objc_autoreleasePoolPush();
@try {
[_socket connectToHost: _host
port: _port];
} @catch (OFException *e) {
| | | 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 |
{
void *pool = objc_autoreleasePoolPush();
@try {
[_socket connectToHost: _host
port: _port];
} @catch (OFException *e) {
_exception = [e retain];
}
[self performSelector: @selector(didConnect)
onThread: _sourceThread
waitUntilDone: false];
objc_autoreleasePoolPop(pool);
|
| ︙ | ︙ |