http icon indicating copy to clipboard operation
http copied to clipboard

CupertinoClient close method doesn't close the connection

Open veloce opened this issue 1 year ago • 0 comments

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.

veloce avatar Feb 14 '24 11:02 veloce