amphp / amphp/http-client

Support non-keep alive connections

Open
#261 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature request
Dominant language
PHP
Stars
731
Forks
69
PR merge metrics
No merged PRs in 30d

Description

There should be a connection pool implementation that always uses a new connection per request.

Note: This is already supported technically, but harder than it needs to be for library consumers.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the existing connection-pool implementations and the HTTP client API used by library consumers. Determine the intended behavior for a pool that creates a new connection for every request, then verify that consumers can select it without relying on lower-level connection handling.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
networking
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.