Overview
Comment: | OFDNSResolver: Let the buffer belong to the query
This means the buffer automatically gets cleaned up when the query is |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
1e6bb58863848199d88e30f7f240856d |
User & Date: | js on 2018-08-13 21:53:22 |
Other Links: | manifest | tags |
Context
2018-08-14
| ||
00:26 | Minor documentation fixes check-in: fbfe80e8fa user: js tags: trunk | |
2018-08-13
| ||
21:53 | OFDNSResolver: Let the buffer belong to the query check-in: 1e6bb58863 user: js tags: trunk | |
21:48 | OFDNSResolver: Require sender == receiver check-in: b004db730a user: js tags: trunk | |
Changes
Modified src/OFDNSResolver.m from [71348d0e6d] to [24a25534b2].
︙ | ︙ | |||
1177 1178 1179 1180 1181 1182 1183 | callback(query->_target, query->_selector, self, query->_domainName, nil, nil, nil, query->_context, exception); return 0; } | | | 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 | callback(query->_target, query->_selector, self, query->_domainName, nil, nil, nil, query->_context, exception); return 0; } [sock asyncReceiveIntoBuffer: [query allocMemoryWithSize: 512] length: 512 target: self selector: @selector(of_socket:didReceiveIntoBuffer: length:sender:context:exception:) context: nil]; return 0; |
︙ | ︙ |