This can be reproduced by hosting a mirror on S3. S3 has built in
functionality that closes a connection after 100 requests. We were able
to add comments to apt source that output every time a new connection
was made and we confirmed every 100 requests that S3 did close the
connection. Intermittently, we would get the Undetermined Error during
one of the connection close events. Debug output confirmed there is a
connection: close header. We also confirmed apt identified a 102
connection reset by peer event by printing the error.

So this isn't apache specific, I believe apache is just more prone to
sending connection: close. Because of S3's behavior of closing
connections every 100 requests, it became very noticeable to us.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1801338

Title:
  apt fails to properly handle server-side connection closure

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1801338/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to