Overview
Comment: | Minor fix for OFDNSResolver and OFRunLoop |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
6387b16864e0c2581fcf22fabc48fcb3 |
User & Date: | js on 2018-12-08 22:01:13 |
Other Links: | manifest | tags |
Context
2018-12-11
| ||
22:57 | Include an exception in delegate methods check-in: 064dbe5127 user: js tags: trunk | |
2018-12-08
| ||
22:01 | Minor fix for OFDNSResolver and OFRunLoop check-in: 6387b16864 user: js tags: trunk | |
18:55 | OFUDPSocket: Use a delegate for async operations check-in: da2dd2dde5 user: js tags: trunk | |
Changes
Modified src/OFDNSResolver.m from [55442709eb] to [c60b82a6b2].
︙ | ︙ | |||
2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 | callback(query->_target, query->_selector, self, query->_domainName, answerRecords, authorityRecords, additionalRecords, query->_context, nil); return true; } - (void)asyncResolveSocketAddressesForHost: (OFString *)host target: (id)target selector: (SEL)selector context: (id)context { [self asyncResolveSocketAddressesForHost: host | > > > > > > > | 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 | callback(query->_target, query->_selector, self, query->_domainName, answerRecords, authorityRecords, additionalRecords, query->_context, nil); return true; } - (void)socket: (OF_KINDOF(OFUDPSocket *))sock didFailToReceiveWithException: (id)exception { [sock asyncReceiveIntoBuffer: _buffer length: BUFFER_LENGTH]; } - (void)asyncResolveSocketAddressesForHost: (OFString *)host target: (id)target selector: (SEL)selector context: (id)context { [self asyncResolveSocketAddressesForHost: host |
︙ | ︙ |
Modified src/OFRunLoop+Private.h from [eef6adb385] to [985334eabe].
︙ | ︙ | |||
22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | # import "OFUDPSocket.h" #endif OF_ASSUME_NONNULL_BEGIN @class OFRunLoop_State; @protocol OFTCPSocketDelegate_Private <OFObject> - (void)of_socketDidConnect: (OF_KINDOF(OFTCPSocket *))socket exception: (nullable id)exception; @end @interface OFRunLoop () + (void)of_setMainRunLoop: (OFRunLoop *)runLoop; #ifdef OF_HAVE_SOCKETS + (void)of_addAsyncReadForStream: (OFStream <OFReadyForReadingObserving> *) stream buffer: (void *)buffer | > > | 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | # import "OFUDPSocket.h" #endif OF_ASSUME_NONNULL_BEGIN @class OFRunLoop_State; #ifdef OF_HAVE_SOCKETS @protocol OFTCPSocketDelegate_Private <OFObject> - (void)of_socketDidConnect: (OF_KINDOF(OFTCPSocket *))socket exception: (nullable id)exception; @end #endif @interface OFRunLoop () + (void)of_setMainRunLoop: (OFRunLoop *)runLoop; #ifdef OF_HAVE_SOCKETS + (void)of_addAsyncReadForStream: (OFStream <OFReadyForReadingObserving> *) stream buffer: (void *)buffer |
︙ | ︙ |