mbox series

[v2,0/2] fetch/wget: Reuse the checkstatus() urllib opener

Message ID 20260928125051.2483039-1-ecordonnier@snap.com
Headers show
Series fetch/wget: Reuse the checkstatus() urllib opener | expand

Message

Etienne Cordonnier Sept. 28, 2026, 12:50 p.m. UTC
From: Etienne Cordonnier <ecordonnier@snap.com>

This is the v2 of the patch originally sent as "fetch/wget: Reuse the checkstatus() urllib opener".
The patch has been split in 2 individual patches, as requested in the code review.
The sum of the changes in the 2 patches is bytes-identical to the original patch.

Etienne Cordonnier (2):
  fetch/wget: Have checkstatus() capture connection_cache, not fetch
  fetch/wget: Reuse the checkstatus() urllib opener

 lib/bb/fetch/__init__.py |  2 ++
 lib/bb/fetch/wget.py     | 45 ++++++++++++++++++++++++----------------
 2 files changed, 29 insertions(+), 18 deletions(-)