Skip to content

[SECURITY] Bound pgwire connection admission and request lifetime #25

Open

Description

@jeffreyaven

StackQL tracking: stackql/stackql#829
Priority: HIGH
Effort: HIGH

The consumed server does not establish bounded connection admission and general socket/request lifetime.

Acceptance:

  • Add finite configurable connection admission with bounded rejection/queue behavior.
  • Bound startup, read and idle lifetimes.
  • Propagate statement deadlines, disconnect and shutdown cancellation to the backend.
  • Release connection slots on every error/cancellation path.
  • Verify bounded goroutines/resources and predictable shutdown under load.
  • Document defaults and protocol behavior when limits are reached.

Baseline: v0.1.2-beta02.
StackQL supplies operator policy, propagates cancellation into omnisdk and separately bounds/resets driver debug retention.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions