Differences From Artifact [cd70aeb710]:
- File utils/ofhttp/OFHTTP.m — part of check-in [5a087b5409] at 2021-05-02 11:59:37 on branch trunk — ofhttp: Fix typo (user: js, size: 29949) [annotate] [blame] [check-ins using] [more...]
To Artifact [2fe08b11b5]:
- File
utils/ofhttp/OFHTTP.m
— part of check-in
[34cb121dc5]
at
2021-11-06 00:10:48
on branch trunk
— Make OFTLSSocket an abstract class
This should make it easier to add TLS support using various
implementations. (user: js, size: 29920) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
583 584 585 586 587 588 589 | [self performSelector: @selector(downloadNextURL) afterDelay: 0]; } - (void)client: (OFHTTPClient *)client didCreateSocket: (OFTCPSocket *)sock request: (OFHTTPRequest *)request { | | < | | 583 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 didCreateSocket: (OFTCPSocket *)sock request: (OFHTTPRequest *)request { if (_insecure && [sock isKindOfClass: [OFTLSSocket class]]) ((OFTLSSocket *)sock).verifiesCertificates = false; } - (void)client: (OFHTTPClient *)client wantsRequestBody: (OFStream *)body request: (OFHTTPRequest *)request { /* TODO: Do asynchronously and print status */ |
︙ | ︙ |