ObjFW  Check-in [834e43651c]

Overview
Comment:utils/ofhttp: Work around GCC bug
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 834e43651cb09a6eb39149085783482025b5b1c7999882f3f158c48a5fdf2839
User & Date: js on 2022-06-06 09:46:56
Other Links: manifest | tags
Context
2022-06-07
19:50
OFURL: Minor documentation fixes check-in: 022418ee31 user: js tags: trunk
2022-06-06
09:46
utils/ofhttp: Work around GCC bug check-in: 834e43651c user: js tags: trunk
09:04
Remove spurious OF_UNAVAILABLE in @implementation check-in: 4d317d9ea7 user: js tags: trunk
Changes

Modified utils/ofhttp/OFHTTP.m from [622c13a414] to [6f883db433].

584
585
586
587
588
589
590

591
592
593
594
595
596
597
598
	[self performSelector: @selector(downloadNextURL) afterDelay: 0];
}

-	(void)client: (OFHTTPClient *)client
  didCreateTLSStream: (OFTLSStream *)stream
	     request: (OFHTTPRequest *)request
{

	stream.verifiesCertificates = !_insecure;
}

-     (void)client: (OFHTTPClient *)client
  wantsRequestBody: (OFStream *)body
	   request: (OFHTTPRequest *)request
{
	/* TODO: Do asynchronously and print status */







>
|







584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
	[self performSelector: @selector(downloadNextURL) afterDelay: 0];
}

-	(void)client: (OFHTTPClient *)client
  didCreateTLSStream: (OFTLSStream *)stream
	     request: (OFHTTPRequest *)request
{
	/* Use setter instead of property access to work around GCC bug. */
	[stream setVerifiesCertificates: !_insecure];
}

-     (void)client: (OFHTTPClient *)client
  wantsRequestBody: (OFStream *)body
	   request: (OFHTTPRequest *)request
{
	/* TODO: Do asynchronously and print status */