ObjFW  Check-in [3a8aa96e16]

Overview
Comment:OFHTTPClient: Don't enable non-blocking mode

This made reading the response synchronously fail.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 3a8aa96e16235b8d04040b7f2f157fcc8ffc8bc2b03d036c8117473dd3336ca5
User & Date: js on 2023-08-23 15:39:13
Other Links: manifest | tags
Context
2023-08-23
15:40
Update to Unicode 15.0 check-in: fadb29aa9a user: js tags: trunk
15:39
OFHTTPClient: Don't enable non-blocking mode check-in: 3a8aa96e16 user: js tags: trunk
13:54
OFStrFTime: Don't use OFASPrintF() check-in: ff64ec30f4 user: js tags: trunk
Changes

Modified src/OFHTTPClient.m from [feb32daab7] to [0a2253ded6].

636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
	 exception: (id)exception
{
	if (exception != nil) {
		[self raiseException: exception];
		return;
	}

	sock.canBlock = false;

	if ([_client->_delegate respondsToSelector:
	    @selector(client:didCreateTCPSocket:request:)])
		[_client->_delegate client: _client
			didCreateTCPSocket: sock
				   request: _request];

	if ([_request.IRI.scheme caseInsensitiveCompare: @"https"] ==







<
<







636
637
638
639
640
641
642


643
644
645
646
647
648
649
	 exception: (id)exception
{
	if (exception != nil) {
		[self raiseException: exception];
		return;
	}



	if ([_client->_delegate respondsToSelector:
	    @selector(client:didCreateTCPSocket:request:)])
		[_client->_delegate client: _client
			didCreateTCPSocket: sock
				   request: _request];

	if ([_request.IRI.scheme caseInsensitiveCompare: @"https"] ==