Skip to content

As a developer I want to create outbound backends dynamically #80

Open

Description

@aram356

Description

Applications can already forward to runtime-selected URLs, but cannot choose TLS verification and timeout policy through the portable API. portable outbound request contains method, URI, headers, body and extensions; Fastly TLS and fixed timeout settings and Axum proxy construction hard-code connection settings. Finish the configurable backend contract rather than adding another URL-only proxy path.

Steps to reproduce

  1. Inspect ProxyRequest and the adapter send paths.
  2. Find the supported caller API for choosing an arbitrary origin together with TLS verification and timeout settings.
  3. Observe that the origin is accepted but those settings are fixed or absent.

Expected behavior

A handler creates or selects a runtime backend with explicit portable TLS and timeout configuration.

Impact

Origin discovery works, but applications cannot express differing development and production origin requirements portably.

Proposed fix

Expose validated backend configuration and connect it to existing adapter proxy clients. Share detailed TLS and timeout semantics with #81 and #82; reconcile with PR #275 to avoid competing outbound APIs.

Done when

  • A handler-facing example selects a runtime URL and supplies backend settings without provider types.
  • Defaults remain documented and supported settings reach the selected adapter.
  • Unsupported settings produce documented behavior rather than silently changing policy.

Related

Parent #79; options #81, #82; adapter tasks #83–#85. PR #275 is related, open work.

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

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions