Overview
Comment: | Add OFIPStreamSocket
This is a new superclass for OFTCPSocket to allow sharing code with |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
3dfe642dd3011c645b72810ee2c189bb |
User & Date: | js on 2020-04-24 00:21:43 |
Other Links: | manifest | tags |
Context
2020-04-24
| ||
22:42 | OFProcess: Initialize to invalid handles first check-in: 67df0aa735 user: js tags: trunk | |
00:21 | Add OFIPStreamSocket check-in: 3dfe642dd3 user: js tags: trunk | |
2020-04-22
| ||
22:19 | OFWindowsRegistryKey: Verify string types check-in: 725eec4cfc user: js tags: trunk | |
Changes
Modified src/Makefile from [73e066fe5a] to [545e560268].
︙ | |||
140 141 142 143 144 145 146 147 148 149 150 151 152 153 | 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 | + | OFDNSResponse.m \ OFHTTPClient.m \ OFHTTPCookie.m \ OFHTTPCookieManager.m \ OFHTTPRequest.m \ OFHTTPResponse.m \ OFHTTPServer.m \ OFIPStreamSocket.m \ OFStreamSocket.m \ OFTCPSocket.m \ OFUDPSocket.m \ socket.m SRCS_THREADS = OFCondition.m \ OFMutex.m \ OFRecursiveMutex.m \ |
︙ |
Modified src/OFDNSResolver.h from [074bf54ace] to [311250de1e].
︙ | |||
28 29 30 31 32 33 34 35 36 | 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | + - | @class OFArray OF_GENERIC(ObjectType); @class OFDNSResolver; @class OFDNSResolverContext; @class OFDNSResolverSettings; @class OFDate; @class OFDictionary OF_GENERIC(KeyType, ObjectType); @class OFIPStreamSocket; @class OFMutableDictionary OF_GENERIC(KeyType, ObjectType); @class OFNumber; |
︙ | |||
128 129 130 131 132 133 134 | 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 | - - + + | OFUDPSocket *_IPv4Socket; #ifdef OF_HAVE_IPV6 OFUDPSocket *_IPv6Socket; #endif char _buffer[OF_DNS_RESOLVER_BUFFER_LENGTH]; OFMutableDictionary OF_GENERIC(OFNumber *, OFDNSResolverContext *) *_queries; |
︙ |
Modified src/OFDNSResolver.m from [ff93d36ccb] to [6dace51fe8].
︙ | |||
1061 1062 1063 1064 1065 1066 1067 | 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 | - + | return true; return [self of_handleResponseBuffer: buffer length: length sender: sender]; } |
︙ |
Modified src/OFHTTPClient.m from [8b55b3abfe] to [39a2892f3d].
︙ | |||
622 623 624 625 626 627 628 | 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 | - + - + | [sock asyncWriteString: constructRequestString(_request)]; } @catch (id e) { [self raiseException: e]; return; } } |
︙ |
Modified src/OFHTTPServer.m from [c13e2bacd9] to [1d12ee9c38].
︙ | |||
982 983 984 985 986 987 988 | 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 | - - + + | initWithSocket: acceptedSocket server: self] autorelease]; acceptedSocket.delegate = connection; [acceptedSocket asyncReadLine]; } |
︙ | |||
1009 1010 1011 1012 1013 1014 1015 | 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 | - + | [self performSelector: @selector(of_handleAcceptedSocket:) onThread: thread withObject: acceptedSocket waitUntilDone: false]; } else #endif |
Added src/OFIPStreamSocket+Private.h version [8781328a12].
|
Added src/OFIPStreamSocket.h version [12caf7882f].