dart-lang / http

A composable API for making HTTP requests in Dart.
https://pub.dev/packages/http
BSD 3-Clause "New" or "Revised" License
1.01k stars 344 forks source link

[http_client_conformance_tests] Add close behavior test #1192

Open Zekfad opened 2 months ago

Zekfad commented 2 months ago

Coming from https://github.com/Zekfad/fetch_client/issues/18

I've fixed issue on a client implementation end but it hints that there should be a test that closing client cleans up it and terminates associated connections.

Also this is mostly the same for recently merged #1191

brianquinlan commented 1 month ago

Great idea!