509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
|
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
|
-
+
|
if (contentLength < 0 ||
(uintmax_t)contentLength > SIZE_MAX)
@throw [OFOutOfRangeException exception];
buffer = [self allocMemoryWithSize: BUFFER_SIZE];
_body = [[OFMutableData alloc] init];
_contentLength = contentLength;
_contentLength = (size_t)contentLength;
[_socket asyncReadIntoBuffer: buffer
length: BUFFER_SIZE
target: self
selector: @selector(socket:
didReadIntoBuffer:
length:context:
|