Differences From Artifact [121d87bdd5]:
- File utils/ofhttp/OFHTTP.m — part of check-in [da1fb6b21c] at 2020-11-05 02:27:35 on branch trunk — Further reduce usage of -[allocMemoryWithSize:] (user: js, size: 29353) [annotate] [blame] [check-ins using] [more...]
To Artifact [0d0e8ff125]:
- File
utils/ofhttp/OFHTTP.m
— part of check-in
[627511b032]
at
2020-11-14 12:23:55
on branch trunk
— Rename of_malloc and of_calloc
The new names should be more accurate. (user: js, size: 29352) [annotate] [blame] [check-ins using] [more...]
| ︙ | ︙ | |||
300 301 302 303 304 305 306 | _clientHeaders = [[OFMutableDictionary alloc] initWithObject: @"OFHTTP" forKey: @"User-Agent"]; _HTTPClient = [[OFHTTPClient alloc] init]; _HTTPClient.delegate = self; | | | 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 |
_clientHeaders = [[OFMutableDictionary alloc]
initWithObject: @"OFHTTP"
forKey: @"User-Agent"];
_HTTPClient = [[OFHTTPClient alloc] init];
_HTTPClient.delegate = self;
_buffer = of_alloc(1, [OFSystemInfo pageSize]);
} @catch (id e) {
[self release];
@throw e;
}
return self;
}
|
| ︙ | ︙ |