php / php/php-src

apache_finish_request() alternative to fastcgi_finish_request()

Open
#11,250 7 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Feature SAPI: apache2handler
Dominant language
C
Stars
40.4k
Forks
8.1k
Avg merge
2d 13h
Merged PRs (30d)
96

Description

Description

would be nice if the apache / apache2handler sapi got a apache_finish_request() like the fastcgi_finish_request() function. quoting the fastcgi_finish_request() documentation:

This function flushes all response data to the client and finishes the request. This allows for time consuming tasks to be performed without leaving the connection to the client open.

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 reading the existing fastcgi_finish_request() implementation and the Apache/apache2handler SAPI entry points; the issue does not name specific files or tests. Compare how the Apache SAPI can flush the response and finish the request, then identify the tests needed to demonstrate equivalent behavior and document what completion should guarantee.

Written by the indexing model from the issue text.

Assessment

Tech stack
apache, c, php
Domain
backend, web-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.