For what it's worth, switching apt's HTTP method to use an existing HTTP library that is already well-behaved would be one way to solve this problem. One such library is libcURL.
For what it's worth, switching apt's HTTP method to use an existing HTTP library
that is already well-behaved would be one way to solve this problem. One such
library is libcURL.