http
http copied to clipboard
CupertinoClient close method doesn't close the connection
CupertinoClient doesn't close the underlying connection when calling close() on it. It will just prevent sending further requests.
It is an issue because a persistent connection won't be closed, and we have no way to cancel a pending request.
Also it is not consistent with the behaviour of IOClient, which does close the connection.