Skip to content

Feature proposal: multiple instances of one protocol handler #56

Description

@kpfleming

Debian publishes packages at deb.debian.org and security.debian.org. The proxy currently only offers one 'debian' route, with a potentially configurable upstream URL, but supporting the full Debian package set requires access to both sites.

It is possible that this could be handled by the multiple-upstream proposal I posted in #55 , but a better solution would probably be a 'debian-security' route in the proxy, with a different default upstream from the 'debian' route. Looking at the code this seems like it would be easy to add, I'd just need to extend the NewDebianHandler function to accept an upstream URL and then write a NewDebianSecurityHandler wrapper for it.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions