Overview
| Comment: | ofhttp: Opportunistically try loading ObjOpenSSL |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
4666442ec26329cc506bcee056e4a0c6 |
| User & Date: | js on 2020-08-29 14:53:03 |
| Other Links: | manifest | tags |
Context
|
2020-08-29
| ||
| 18:41 | README.md: Instructions for verifying signatures (check-in: 23608c304d user: js tags: trunk) | |
| 14:53 | ofhttp: Opportunistically try loading ObjOpenSSL (check-in: 4666442ec2 user: js tags: trunk) | |
|
2020-08-25
| ||
| 23:53 | OFString: Also check errno == ERANGE on HUGE_VAL (check-in: 200fe98d2b user: js tags: trunk) | |
Changes
Modified utils/ofhttp/OFHTTP.m from [976ffe7a77] to [77db884daa].
| ︙ | ︙ | |||
24 25 26 27 28 29 30 31 32 33 34 35 36 37 | #import "OFFile.h" #import "OFFileManager.h" #import "OFHTTPClient.h" #import "OFHTTPRequest.h" #import "OFHTTPResponse.h" #import "OFLocale.h" #import "OFOptionsParser.h" #import "OFSandbox.h" #import "OFStdIOStream.h" #import "OFSystemInfo.h" #import "OFTCPSocket.h" #import "OFTLSSocket.h" #import "OFURL.h" | > > > | 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | #import "OFFile.h" #import "OFFileManager.h" #import "OFHTTPClient.h" #import "OFHTTPRequest.h" #import "OFHTTPResponse.h" #import "OFLocale.h" #import "OFOptionsParser.h" #ifdef OF_HAVE_PLUGINS # import "OFPlugin.h" #endif #import "OFSandbox.h" #import "OFStdIOStream.h" #import "OFSystemInfo.h" #import "OFTCPSocket.h" #import "OFTLSSocket.h" #import "OFURL.h" |
| ︙ | ︙ | |||
270 271 272 273 274 275 276 277 278 279 280 281 282 283 |
[fileName retain];
objc_autoreleasePoolPop(pool);
return [fileName autorelease];
}
@implementation OFHTTP
- (instancetype)init
{
self = [super init];
@try {
_method = OF_HTTP_REQUEST_METHOD_GET;
| > > > > > > > > > > > | 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 |
[fileName retain];
objc_autoreleasePoolPop(pool);
return [fileName autorelease];
}
@implementation OFHTTP
#ifdef OF_HAVE_PLUGINS
+ (void)initialize
{
if (self != [OFHTTP class])
return;
/* Opportunistically try loading ObjOpenSSL and ignore any errors. */
of_dlopen(@"objopenssl", OF_RTLD_LAZY);
}
#endif
- (instancetype)init
{
self = [super init];
@try {
_method = OF_HTTP_REQUEST_METHOD_GET;
|
| ︙ | ︙ |