ObjFW  History of src/OFTLSSocket.h of 44f1c04c033454a5

History of the file that is called src/OFTLSSocket.h at check-in 44f1c04c033454a5

2024-04-03
02:16
[8c96ff50b1] part of check-in [7413a728a7] Change license to LGPLv3 only (check-in: [7413a728a7] user: js, branch: trunk, size: 5932) [annotate] [blame] [check-ins using] [diff]
2024-02-03
11:41
[c6d3017a4d] part of check-in [7324ec8590] Update copyright (check-in: [7324ec8590] user: js, branch: 1.0, size: 5779) [annotate] [blame] [check-ins using] [diff]
2024-01-06
00:52
[57d0bfe49e] part of check-in [11b2a17595] Initial support for Mbed TLS

Mbed TLS is never automatically picked as a TLS implementation and
always needs to be manually enabled using --with-tls=mbedtls. (check-in: [11b2a17595] user: js, branch: trunk, size: 5724) [annotate] [blame] [check-ins using] [diff]

2024-01-02
17:17
[0af95e980d] part of check-in [26ddd2e4e4] Update copyright (check-in: [26ddd2e4e4] user: js, branch: trunk, size: 5574) [annotate] [blame] [check-ins using] [diff]
2023-10-15
12:32
[db5ba510f8] 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: 5574) [annotate] [blame] [check-ins using] [diff]

2023-08-30
15:02
[1b138c67b4] part of check-in [8a48cff63c] Add OFTLSStreamImplementation to Amiga .library (check-in: [8a48cff63c] user: js, branch: amiga-library, size: 5949) [annotate] [blame] [check-ins using] [diff]
2023-01-06
09:04
[f204428d75] part of check-in [8939cbdb52] Update copyright (check-in: [8939cbdb52] user: js, branch: trunk, size: 5779) [annotate] [blame] [check-ins using] [diff]
2022-12-27
13:58
[e2ca141274] part of check-in [29a41e5a78] Rename OFAlready{Connected -> Open}Exception (check-in: [29a41e5a78] user: js, branch: trunk, size: 5779) [annotate] [blame] [check-ins using] [diff]
2022-10-21
13:07
[8cbbbbbe33] part of check-in [a62b254fda] Document more exceptions (check-in: [a62b254fda] user: js, branch: trunk, size: 5794) [annotate] [blame] [check-ins using] [diff]
2022-09-26
20:32
[66003bcff2] part of check-in [4b8c89a6fe] Document more exceptions (check-in: [4b8c89a6fe] user: js, branch: trunk, size: 5442) [annotate] [blame] [check-ins using] [diff]
2022-02-12
07:46
[0ae2a154e2] part of check-in [1a86b8175b] Update copyright (check-in: [1a86b8175b] user: js, branch: trunk, size: 5377) [annotate] [blame] [check-ins using] [diff]
2021-11-21
10:40
[d05dc14c91] part of check-in [3ed8cf7a52] OFTLSStream: wrappedStream -> underlyingStream (check-in: [3ed8cf7a52] user: js, branch: trunk, size: 5377) [annotate] [blame] [check-ins using] [diff]
2021-11-13
20:28
[b3a209020a] 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: 5359) [annotate] [blame] [check-ins using] [diff]

13:04
Renamed src/OFTLSSocket.h → src/OFTLSStream.h. [c91283e053] 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: 4764) [annotate] [blame] [check-ins using] [diff]

2021-11-07
19:39
[5dd4f959ef] part of check-in [79ac3fe177] OFTLSSocket: Reduce methods to override (check-in: [79ac3fe177] user: js, branch: trunk, size: 3612) [annotate] [blame] [check-ins using] [diff]
2021-11-06
17:36
[163daa0bfa] part of check-in [746ddd7d7f] Fix OFTLSSocket for the case sockets are not FDs (check-in: [746ddd7d7f] user: js, branch: trunk, size: 3614) [annotate] [blame] [check-ins using] [diff]
00:10
[38e4f875d1] 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: 3479) [annotate] [blame] [check-ins using] [diff]

2021-11-05
22:42
[d519c5a780] part of check-in [a5a3047210] Remove TLS server support

The current API is too tied to OpenSSL. (check-in: [a5a3047210] user: js, branch: trunk, size: 1142) [annotate] [blame] [check-ins using] [diff]

2021-01-02
22:04
[9df190e90e] part of check-in [374e1a1bfa] Update copyright (check-in: [374e1a1bfa] user: js, branch: trunk, size: 5945) [annotate] [blame] [check-ins using] [diff]
2020-10-03
11:35
[c7eec148cd] part of check-in [163a4a5a2e] Use /** */ instead of /*! */ for documentation (check-in: [163a4a5a2e] user: js, branch: trunk, size: 6034) [annotate] [blame] [check-ins using] [diff]
2020-05-06
00:32
[ba822d3148] part of check-in [bc67e98833] Improve names of several properties (check-in: [bc67e98833] user: js, branch: trunk, size: 6034) [annotate] [blame] [check-ins using] [diff]
2020-01-02
01:51
[c867497861] part of check-in [c7f0229795] Update copyright (check-in: [c7f0229795] user: js, branch: trunk, size: 6099) [annotate] [blame] [check-ins using] [diff]
2019-01-03
19:13
[455c68c33a] part of check-in [0509d7a844] Update copyright (check-in: [0509d7a844] user: js, branch: trunk, size: 6096) [annotate] [blame] [check-ins using] [diff]
2018-12-08
17:05
[f1fcb70df5] part of check-in [d3a4cda21a] OFTLSSocketDelegate: Inherit OFTCPSocketDelegate (check-in: [d3a4cda21a] user: js, branch: trunk, size: 6090) [annotate] [blame] [check-ins using] [diff]
2018-01-03
19:49
[d8643617ce] part of check-in [7e5c81e186] Update copyright notice (check-in: [7e5c81e186] user: js, branch: trunk, size: 6068) [annotate] [blame] [check-ins using] [diff]
2017-11-18
18:50
[63562e33e5] part of check-in [cc3ad3ddd3] Documentation: Use @brief for all properties (check-in: [cc3ad3ddd3] user: js, branch: trunk, size: 6045) [annotate] [blame] [check-ins using] [diff]
2017-10-17
00:33
[19564dc0db] part of check-in [2f4e0df8be] Do not use implicit method return types

Instead, explicitly declare them, as OF_ASSUME_NONNULL_{BEGIN,END} does
not apply to implicit return types. This means that after this commit,
all init methods have a nonnull return type, as they should have. (check-in: [2f4e0df8be] user: js, branch: trunk, size: 6010) [annotate] [blame] [check-ins using] [diff]

2017-09-10
22:32
[ece0928c2a] part of check-in [d6553b4578] Add OFInvocation

Only support for storing an invocation, no support for invoking yet. (check-in: [d6553b4578] user: js, branch: trunk, size: 5996) [annotate] [blame] [check-ins using] [diff]

2017-08-14
13:33
[e543ca804e] part of check-in [4eab54022e] Always have assign before nonatomic (check-in: [4eab54022e] user: js, branch: trunk, size: 5996) [annotate] [blame] [check-ins using] [diff]
2017-08-11
22:26
[d2aa75bc01] part of check-in [9db36c14b5] Always have retain / copy before nonatomic (check-in: [9db36c14b5] user: js, branch: trunk, size: 5996) [annotate] [blame] [check-ins using] [diff]
2017-05-13
16:29
[ec9c77b08c] part of check-in [f663d40cbd] Also use nonatomic for non-object properties (check-in: [f663d40cbd] user: js, branch: trunk, size: 5996) [annotate] [blame] [check-ins using] [diff]
2017-05-07
20:10
[27187de68b] part of check-in [4af49a13c3] Small code style change

Casts are now written like types in variable declarations. (check-in: [4af49a13c3] user: js, branch: trunk, size: 5955) [annotate] [blame] [check-ins using] [diff]

2017-04-30
13:35
[b87af1f574] part of check-in [0a73af49f0] Use nonatomic for properties and clean up

This changes retaining behavior, meaning properties are not returned
retained and autoreleased anymore, so a property returned from a getter
now needs to be manually retained and autoreleased before calling the
setter. However, this is rarely the case and not using atomic improves
performance. (check-in: [0a73af49f0] user: js, branch: trunk, size: 5940) [annotate] [blame] [check-ins using] [diff]

2017-02-04
17:45
[a94a468056] part of check-in [5a31a537a1] Fix typos in comments and strings found by aspell (check-in: [5a31a537a1] user: js, branch: trunk, size: 5918) [annotate] [blame] [check-ins using] [diff]
2017-01-09
17:36
[979ca5fd2c] part of check-in [44f45c2e35] Update copyright

Forgot to add 2017, even though I already did quite some changes in
2017. (check-in: [44f45c2e35] user: js, branch: trunk, size: 5917) [annotate] [blame] [check-ins using] [diff]

2016-05-05
17:05
[8486e61a20] part of check-in [55dc5a174c] OFTLSSocket: Fix wrong protocol for delegate (check-in: [55dc5a174c] user: js, branch: trunk, size: 5911) [annotate] [blame] [check-ins using] [diff]
2016-03-06
17:40
[81b5fff19e] part of check-in [143c61869a] OFTLSSocket: Make use of properties (check-in: [143c61869a] user: js, branch: trunk, size: 5903) [annotate] [blame] [check-ins using] [diff]
2016-01-03
00:43
[f7601e6c4d] part of check-in [cec0f072f8] Update copyright

While at it, also update the mail address. (check-in: [cec0f072f8] user: js, branch: 0.8, size: 7690) [annotate] [blame] [check-ins using] [diff]

00:41
[e9f441720c] part of check-in [2a27cf3000] Update copyright

While at it, also update the mail address. (check-in: [2a27cf3000] user: js, branch: trunk, size: 7298) [annotate] [blame] [check-ins using] [diff]

2015-11-29
14:20
[48c2664a3c] part of check-in [ba62f00fac] Clean up optional protocols

Now that we can require GCC >= 4.6, we no longer need to have a category
on OFObject that adds the optional protocol to it. (check-in: [ba62f00fac] user: js, branch: trunk, size: 7294) [annotate] [blame] [check-ins using] [diff]

11:43
[991f7cbecd] part of check-in [48980f2297] Make properties a requirement and clean up code

This increases the required GCC version from 4.0 to 4.6 (exception:
Apple GCC, which already supports this with >= 4.0 starting with OS X
10.5). Since even GCC 4.6 is really old by now, there is no point in
still supporting something even older and making the code ugly because
of that. While some hardware and OS support was dropped from GCC 4.6
compared to GCC 4.0, there is nothing in there that would be an
interesting target with the exception of BeOS maybe - but a port to BeOS
can also be achieved using the Haiku support. The other dropped OSes are
mostly old versions of OSes while newer ones are still being supported
(and those newer versions of those OSes still support the same
hardware). (check-in: [48980f2297] user: js, branch: trunk, size: 7335) [annotate] [blame] [check-ins using] [diff]

2015-11-28
19:47
[cc8fcde285] part of check-in [650b4be224] Minor documentation improvements (check-in: [650b4be224] user: js, branch: trunk, size: 7697) [annotate] [blame] [check-ins using] [diff]
2015-11-21
19:15
[d16d0183c5] part of check-in [684233314d] Make -[startTLSWithExpectedHost:] accept nil (check-in: [684233314d] user: js, branch: trunk, size: 7695) [annotate] [blame] [check-ins using] [diff]
2015-06-17
22:11
[d1223f2527] part of check-in [80e1a9655b] Add OF_NULLABLE_PROPERTY

This is necessary to make GCC (>= 4.6 and Apple GCC) happy as they don't
like the list of property attributes ending in a comma. (check-in: [80e1a9655b] user: js, branch: trunk, size: 7686) [annotate] [blame] [check-ins using] [diff]

2015-06-13
22:26
[968eca3d6d] part of check-in [9e76144ef8] Add support for and use the new nullability (check-in: [9e76144ef8] user: js, branch: trunk, size: 7649) [annotate] [blame] [check-ins using] [diff]
2015-06-12
23:59
[a7cdac098b] part of check-in [5329fe7c1a] Add support for and use the new ObjC generics (check-in: [5329fe7c1a] user: js, branch: trunk, size: 7465) [annotate] [blame] [check-ins using] [diff]
2015-05-24
19:16
[59dd8c2542] part of check-in [94affb5b29] OFTLSSocket: Improved API for easier verification

Verification is done automatically by default now.

If more complex verification is needed, automatic verification can be
disabled and done manually. (check-in: [94affb5b29] user: js, branch: trunk, size: 7433) [annotate] [blame] [check-ins using] [diff]

2015-01-03
20:57
[7025a98220] part of check-in [cfd374b906] Update copyright (check-in: [cfd374b906] user: js, branch: trunk, size: 6468) [annotate] [blame] [check-ins using] [diff]
2014-02-18
18:50
[530e7d1224] part of check-in [246cfe0807] Documentation: Show correct imports (check-in: [246cfe0807] user: js, branch: trunk, size: 6462) [annotate] [blame] [check-ins using] [diff]
2014-01-04
00:24
[1c57260eef] part of check-in [3b97fc3cd9] Update copyright. (check-in: [3b97fc3cd9] user: js, branch: trunk, size: 6330) [annotate] [blame] [check-ins using] [diff]
2013-03-31
14:20
[77e63ab2e0] part of check-in [2c65fa15ef] OFTLSSocket: Add support for SNI. (check-in: [2c65fa15ef] user: js, branch: trunk, size: 6324) [annotate] [blame] [check-ins using] [diff]
10:04
[ba8f726fac] part of check-in [b7b67d7119] Improve OFTLSSocket protocol. (check-in: [b7b67d7119] user: js, branch: trunk, size: 3703) [annotate] [blame] [check-ins using] [diff]
2013-03-04
17:20
[dde8b87a0d] part of check-in [c5ef582958] Replace BOOL with bool.

The only places where BOOL is left are those where they are required by
the ABI. (check-in: [c5ef582958] user: js, branch: trunk, size: 3301) [annotate] [blame] [check-ins using] [diff]

2013-01-09
22:24
[262e8ae0bb] part of check-in [813c00ccf0] Update copyright. (check-in: [813c00ccf0] user: js, branch: trunk, size: 3301) [annotate] [blame] [check-ins using] [diff]
2013-01-07
13:35
[dcdc2accee] part of check-in [02ca89285f] Improve API for UTF-16 strings. (check-in: [02ca89285f] user: js, branch: trunk, size: 3295) [annotate] [blame] [check-ins using] [diff]
2012-10-29
08:00
[975f02bdfb] part of check-in [7a3977d7fd] Documentation improvements. (check-in: [7a3977d7fd] user: js, branch: 0.7, size: 3295) [annotate] [blame] [check-ins using] [diff]
07:59
[9e3217c031] part of check-in [63bf4de97b] Documentation improvements. (check-in: [63bf4de97b] user: js, branch: trunk, size: 3295) [annotate] [blame] [check-ins using] [diff]
2012-10-28
12:38
[351d035ebc] part of check-in [1ad9565253] Switch to a headerdoc-compatible doc format. (check-in: [1ad9565253] user: js, branch: trunk, size: 3206) [annotate] [blame] [check-ins using] [diff]
2012-09-16
11:52
[882cb079a6] part of check-in [b42e3ea732] Update Xcode project. (check-in: [b42e3ea732] user: js, branch: trunk, size: 3206) [annotate] [blame] [check-ins using] [diff]
2012-03-04
22:06
Added: [8ed655cd30] part of check-in [dfe3aadc7e] Add OFTLSSocket protocol. (check-in: [dfe3aadc7e] user: js, branch: trunk, size: 3213) [annotate] [blame] [check-ins using]