ObjFW  Diff

Differences From Artifact [4775886a79]:

  • File src/tls/OFSecureTransportTLSStream.m — part of check-in [1a3613d573] at 2023-09-10 12:11:53 on branch trunk — More consistency between TLS implementations

    While GnuTLS and SecureTransport haven't shown in practice to need this,
    this makes it more robust for future changes in those. In theory, both
    could return less data on a read than they have buffered, meaning the
    delimiter is not found but in the buffered data, which would then make
    them have the same issue OpenSSL had with hanging connections (though
    there the problem was that the BIO was not processed and never would
    without the same change as in this commit). (user: js, size: 7445) [annotate] [blame] [check-ins using] [more...]

To Artifact [987937a8fa]:


1
2
3
4
5
6
7
8
9
/*
 * Copyright (c) 2008-2023 Jonathan Schleifer <js@nil.im>
 *
 * All rights reserved.
 *
 * This file is part of ObjFW. It may be distributed under the terms of the
 * Q Public License 1.0, which can be found in the file LICENSE.QPL included in
 * the packaging of this file.
 *

|







1
2
3
4
5
6
7
8
9
/*
 * Copyright (c) 2008-2024 Jonathan Schleifer <js@nil.im>
 *
 * All rights reserved.
 *
 * This file is part of ObjFW. It may be distributed under the terms of the
 * Q Public License 1.0, which can be found in the file LICENSE.QPL included in
 * the packaging of this file.
 *