importing juju/utils should not side-effect http.DefaultTransport

Bug #1491608 reported by Roger Peppe
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Expired
Low
Unassigned
juju-core
Won't Fix
Medium
Unassigned

Bug Description

juju/utils has some useful utilities in it that can
be used in many contexts, just just in juju-core, but it has the
potentially serious side effect of disabling connection
keepalive and adding the file transport scheme when imported.

If some other package wants NewUUID, for example, they
should not be forced to live with these side effects.

This should be done by a function that can be explicitly called
(probably somewhere inside juju-core), not at init time.

Roger Peppe (rogpeppe)
description: updated
Curtis Hovey (sinzui)
tags: added: tech-debt
Changed in juju-core:
status: New → Triaged
importance: Undecided → Medium
Changed in juju-core:
status: Triaged → Won't Fix
Revision history for this message
Roger Peppe (rogpeppe) wrote :

This is still a bug that really should be fixed.

Changed in juju:
status: New → Triaged
importance: Undecided → Medium
milestone: none → 2.0.1
Curtis Hovey (sinzui)
Changed in juju:
milestone: 2.0.1 → none
Revision history for this message
Anastasia (anastasia-macmood) wrote :

As this is a tech-debt item, I am lowering its Importance.

Changed in juju:
importance: Medium → Low
Revision history for this message
Canonical Juju QA Bot (juju-qa-bot) wrote :

This bug has not been updated in 5 years, so we're marking it Expired. If you believe this is incorrect, please update the status.

Changed in juju:
status: Triaged → Expired
tags: added: expirebugs-bot
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.