ObjFW  Diff

Differences From Artifact [55384f926c]:

To Artifact [4da0a43011]:


820
821
822
823
824
825
826


827
828
829
830
831
832
833
- (void)close
{
	if (_closed)
		return;

	if (_written < _contentLength)
		@throw [OFTruncatedDataException exception];



	[_socket asyncReadLineWithTarget: _handler
				selector: @selector(socket:didReadLine:context:
					      exception:)
				 context: nil];
}








>
>







820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
- (void)close
{
	if (_closed)
		return;

	if (_written < _contentLength)
		@throw [OFTruncatedDataException exception];

	_closed = true;

	[_socket asyncReadLineWithTarget: _handler
				selector: @selector(socket:didReadLine:context:
					      exception:)
				 context: nil];
}