mod_proxy_fcgi.c

Checkout Tools
  • last updated 6 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates

Changeset 1603140 is being indexed.

Merge r1603027, r1603029, r1603122 from trunk:

Fix bug introduced in r1591508 which resulted in the final empty

FCGI_STDIN not being sent. Interaction with latest uWSGI (and

probably other protocol implementations) breaks without this.

Reindent after small fix in r1603027

mod_proxy_fcgi: follow up to r1592032.

Also break the outer loop when "sending stdin" fails.

Submitted by: trawick, ylavic

Reviewed/backported by: jim

  1. … 2 more files in changeset.
merge r1591508 from trunk:

mod_proxy_fcgi: Support iobuffersize parameter.

Submitted by: trawick

Reviewed by: jim, ylavic

  1. … 3 more files in changeset.
Merge r1591472 from trunk:

mod_proxy_fcgi: remove wasted memset() calls and other historical bits

Submitted by: trawick

Reviewed by: jim, ylavic

  1. … 2 more files in changeset.
Merge r1590437, r1592500 from trunk:

mod_proxy_fcgi: Don't segfault when failing to connect to the backend.

now understood why users haven't reported the segfault (yet) when mod_proxy_fcgi

can't connect to the application

Submitted by: trawick

Reviewed/backported by: jim

  1. … 3 more files in changeset.
Merge r1585824 from trunk:

mod_proxy_fcgi: Fix sending of response without some HTTP headers

that might be set by filters.

The problem occurs when no body bytes were read while reading the

response headers, resulting in an empty brigade being sent down

the filter stack. One particualr filter that mishandles the empty

initial brigade is mod_deflate. It neglects to add to the response

header fields.

PR: 55558

Submitted by: Jim Riggs <jim riggs.me>

Reviewed by: trawick

Submitted by: trawick

Reviewed/backported by: jim

  1. … 3 more files in changeset.
Merge r1542562 from trunk:

We were not being consistent between http and others

if we added the default port or not during the canonizing

phase... Baseline the http method (don't add unless the

port provided isn't the default).

Reviewed/backported by: jim

  1. … 12 more files in changeset.
Merge r1564756 from trunk:

mod_proxy_fcgi: Fix error message when an unexpected protocol version

number is received from the application.

PR: 56110

Submitted by: trawick

Reviewed/backported by: jim

  1. … 3 more files in changeset.
Merge r1523281, r1524368, r1525276, r1525280, r1525281 from trunk:

Switch from private FastCGI protocol handling to util_fcgi API.

Use apr_socket_timeout_get instead of hard-coded 30 seconds timeout.

Bring some envvar flexibility from mod_authnz_fcgi to mod_proxy_fcgi:

mod_proxy_fcgi: Remove 64K limit on encoded length of all envvars.

An individual envvar with an encoded length of more than 16K will be

omitted.

Borrow a fix from mod_authnz_fcgi:

mod_proxy_fcgi: Handle reading protocol data that is split between

packets.

Use ap_log_rdata() to dump the FastCGI header, axing a bunch

of custom data dumping code.

Submitted by: trawick, jkaluza, trawick, trawick, trawick

Reviewed/backported by: jim

  1. … 9 more files in changeset.
  1. … 10 more files in changeset.
Merge r1311172, r1331243 from trunk:

If there is an error reading the headers from the backend,

send an error to the client

add PR reference

Submitted by: sf

Reviewed/backported by: jim

  1. … 1 more file in changeset.
Merge r1242351 from trunk:

Handle cases, esp when using mod_proxy_fcgi, when we do not

want SCRIPT_FILENAME to include the query string.

Reviewed/backported by: jim

  1. … 4 more files in changeset.
Backport r1209766, r1210252, r1210284:

Add lots of unique tags to error log messages

ssl_util.c: Downgrade some dynamic locking messages from level DEBUG

to TRACE1-3

  1. … 164 more files in changeset.
Backport r1203859:

great proxy logging cleanup:

* remove "proxy:", "FCGI", etc. prefixes and pid which are now

included in the error log format

* propagate frontend request's logconfig to backend request

* use ap_log_rerror where possible

* remove obsolete APLOG_NOERRNO

  1. … 10 more files in changeset.