ObjFW  History of src/OFTLSStream.m of 2d8c6a004df7bdb7

History of the file that is called src/OFTLSStream.m at check-in 2d8c6a004df7bdb7

2024-04-29
21:42
[9bf5b732e6] part of check-in [f16bccc7b3] Properly hide private symbols (check-in: [f16bccc7b3] user: js, branch: trunk, size: 4560) [annotate] [blame] [check-ins using] [diff]
2024-04-03
02:16
[cdc1005db6] part of check-in [7413a728a7] Change license to LGPLv3 only (check-in: [7413a728a7] user: js, branch: trunk, size: 4539) [annotate] [blame] [check-ins using] [diff]
2024-02-03
11:41
[22db768987] part of check-in [7324ec8590] Update copyright (check-in: [7324ec8590] user: js, branch: 1.0, size: 4447) [annotate] [blame] [check-ins using] [diff]
2024-01-02
17:17
[27008f3718] part of check-in [26ddd2e4e4] Update copyright (check-in: [26ddd2e4e4] user: js, branch: trunk, size: 4331) [annotate] [blame] [check-ins using] [diff]
2023-10-15
12:32
[0b19f7bfbb] part of check-in [a61e0594b4] Add -[OFStream lowlevelIsAtEndOfStream]

This allows for a much cleaner solution to avoid the internal read
buffer of e.g. a TLS connection never being processed while waiting for
a delimiter. (check-in: [a61e0594b4] user: js, branch: trunk, size: 4331) [annotate] [blame] [check-ins using] [diff]

2023-08-30
15:02
[3d2bc34baf] part of check-in [8a48cff63c] Add OFTLSStreamImplementation to Amiga .library (check-in: [8a48cff63c] user: js, branch: amiga-library, size: 4617) [annotate] [blame] [check-ins using] [diff]
2023-01-06
09:04
[4de584ae09] part of check-in [8939cbdb52] Update copyright (check-in: [8939cbdb52] user: js, branch: trunk, size: 4447) [annotate] [blame] [check-ins using] [diff]
2022-02-12
07:46
[01bd29e506] part of check-in [1a86b8175b] Update copyright (check-in: [1a86b8175b] user: js, branch: trunk, size: 4447) [annotate] [blame] [check-ins using] [diff]
2021-11-21
10:40
[de0cb549c8] part of check-in [3ed8cf7a52] OFTLSStream: wrappedStream -> underlyingStream (check-in: [3ed8cf7a52] user: js, branch: trunk, size: 4447) [annotate] [blame] [check-ins using] [diff]
00:30
[659fa26933] part of check-in [6b4dd1f24f] Add OFGnuTLSTLSStream (check-in: [6b4dd1f24f] user: js, branch: trunk, size: 4417) [annotate] [blame] [check-ins using] [diff]
2021-11-20
13:18
[ab25ba8801] part of check-in [8f8af474fc] Move TLS implementations to a separate library

These implementations all depend on additional libraries that are
otherwise not needed for an ObjFW application that does not use TLS,
meaning they would add unnecessary dependencies for a lot of
applications and waste memory. (check-in: [8f8af474fc] user: js, branch: trunk, size: 4331) [annotate] [blame] [check-ins using] [diff]

2021-11-13
20:28
[6023c3c0c6] part of check-in [112eb62f7b] Add OFSecureTransportTLSStream

This implements OFTLSStream using Apple's Secure Transport. While Secure
Transport is declared deprecated by Apple, Apple so far has failed to
provide a suitable replacement. They recommend Network.framework as a
replacement, however it can neither work on arbitrary sockets, nor can
it do STARTTLS. (check-in: [112eb62f7b] user: js, branch: trunk, size: 4220) [annotate] [blame] [check-ins using] [diff]

13:04
Renamed src/OFTLSSocket.m → src/OFTLSStream.m. [53f8754aca] part of check-in [d30efa8bbf] Completely rework the TLS/SSL API

The previous API could never work cleanly and would always require
hacks, as it needed intercepting all interactions of OFTCPSocket with
the raw socket and did not work at all if the OFTCPSocket had anything
in its read buffer before starting the TLS handshake. This also could
not be fixed easily, as it would have required the object to contain two
read buffers, one for the unencrypted connection and one for the
encrypted connection. There was also no clean way to perform the
handshake in a non-blocking way.

The new API is a lot cleaner and requires none of the hacks, but using
it requires slightly more work. But this is more than made up for by
making a fully asynchronous handshake possible. It uses the concept of a
stream wrapping another stream, meaning the entire connecting part is
being handled by OFTCPSocket and then the connected socket is passed off
to OFTLSStream to wrap it. This also makes for a lot cleaner separation
of concerns. (check-in: [d30efa8bbf] user: js, branch: trunk, size: 3817) [annotate] [blame] [check-ins using] [diff]

2021-11-07
19:39
[dab6e3fd2b] part of check-in [79ac3fe177] OFTLSSocket: Reduce methods to override (check-in: [79ac3fe177] user: js, branch: trunk, size: 4646) [annotate] [blame] [check-ins using] [diff]
2021-11-06
17:36
[d04b51f1a5] part of check-in [746ddd7d7f] Fix OFTLSSocket for the case sockets are not FDs (check-in: [746ddd7d7f] user: js, branch: trunk, size: 4709) [annotate] [blame] [check-ins using] [diff]
00:10
Added: [d6f41e909e] part of check-in [34cb121dc5] Make OFTLSSocket an abstract class

This should make it easier to add TLS support using various
implementations. (check-in: [34cb121dc5] user: js, branch: trunk, size: 4757) [annotate] [blame] [check-ins using]