Checkout Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Add experimental support for fd passing in mod_cgid. Attaches CGI

script stderr to the error log specific to the vhost, by passing the

appropriate fd over the AF_UNIX socket from the request handling

thread to the cgid server process.

* modules/generators/config5.m4: Add --enable-cgid-fdpassing.

* modules/generators/mod_cgid.c (sock_readhdr): New function, also

returns auxiliary control data (the stderr fd) if available.

(sock_write): Take optional aux fd argument, send it as control

data. (send_req, get_req): Adjust accordingly to pass/receive the

stderr fd.

(cgid_server): Use passed fd if available, limit the lifetime.

PR: 60692

  1. … 1 more file in changeset.
httpdunit: merge to trunk from feature branch
  1. … 10 more files in changeset.
partially reverting r1403043: Titled xforms but modifying a config5.m4
xforms
  1. … 2 more files in changeset.
Change module sets and default activation status:

1) Promoted from "most" to "few"

- mod_headers

2) Demoted from "yes" to "most"

- mod_actions

- mod_allowmethods

- mod_auth_form

- mod_buffer

- mod_cgi(d)

- mod_include

- mod_negotiation

- mod_ratelimit

- mod_request

- mod_userdir

Remember: default module set is "most",

but only the LoadModule lines of all

modules except "yes" are commented out by default.

The following modules will now be loaded by default:

- mod_access_compat

- mod_alias

- mod_auth_basic

- mod_authn_core

- mod_authn_file

- mod_authz_core

- mod_authz_groupfile

- mod_authz_host

- mod_authz_user

- mod_autoindex

- mod_dir

- mod_env

- mod_filter

- mod_headers

- mod_log_config

- mod_mime

- mod_mpm_event

- mod_reqtimeout

- mod_setenvif

- mod_status

- mod_unixd

- mod_version

  1. … 4 more files in changeset.
adjustments of build priorities of modules without special dependencies

all -> most:

- mod_sed

reallyall -> most:

- mod_log_debug

reallyall -> all:

- mod_dav_lock

- mod_echo

- mod_charset_lite

- mod_slotmem_plain

- mod_dialup

few -> all:

- mod_data

- mod_reflector

- mod_asis

most -> all:

- mod_heartbeat

- mod_heartmonitor

- mod_watchdog

most -> reallyall:

- mod_imagemap

- mod_cern_meta

- mod_ident

See thread at

http://mail-archives.apache.org/mod_mbox/httpd-dev/201107.mbox/%3C201107052321.56063.sf@sfritsch.de%3E

  1. … 10 more files in changeset.
rework choice of cgi implementation, handling MinGW

PR: 49535 (subset of reported issues, replacement for supplied patch)

Add to modules' help text (displayed by ./configure -h) more

information that will be useful in deciding whether to enable

them or not.

  1. … 10 more files in changeset.
Always make mod_*.h files available where they exist, modpath by modpath
  1. … 14 more files in changeset.
* modules/generators/config5.m4: Improve Solaris 10 check in mod_cgid to

know about the now-released patches that fix the AF_UNIX bugs.

mod_cgid: Refuse to work on Solaris 10 due to OS bugs.

PR: 34264

  1. … 1 more file in changeset.
Add ap_mpm_is_experimental and ap_mpm_is_threaded. Use these instead of checking for specific MPMs.

  1. … 1 more file in changeset.
Since prefork is currently the only non-threaded MPM, check for it, instead of testing for each threaded MPM type. This enables mod_cgid on the Event MPM by default, which is a "Good Thing"(tm).

general property cleanup

  1. … 712 more files in changeset.
Use -export-dynamic only when linking an httpd which includes mod_so,

not when linking modules or support programs.

* modules/aaa/config.m4, modules/arch/win32/config.m4,

modules/cache/config.m4, modules/echo/config.m4,

modules/filters/config.m4, modules/generators/config5.m4,

modules/metadata/config.m4: Don't add -export-dynamic to LT_LDFLAGS.

* modules/mappers/config9.m4: Add -export-dynamic to HTTPD_LDFLAGS

when mod_so is enabled.

  1. … 7 more files in changeset.
remove test_pass_brigade; it lives in httpd-test not here

comment out module test_pass_brigade as it doesn't exist

Fix a bug in our output filter buffering. If a lot of small brigades are

sent, the core will send the first 16 buckets, regardless of how much

data there is. In the pathological case, this can cause a lot of 16

byte packets. Now, if we see less than AP_MIN_BYTES, we combine

all of the buckets into a single bucket to be sent in a later packet.

This can cause a lot of memory copies, but it eases our network traffic.

  1. … 1 more file in changeset.
Get rid of threaded MPM. This commit has the actual code changes.

The deletes come next.

  1. … 11 more files in changeset.
We want to use mod_cgid with the worker MPM as well.

Fix httpd's definition of LTFLAGS to be consistent with that of apr

and apr-util, allow it to be overridden by the configure command-line

(default="--silent") and introduce LT_LDFLAGS to replace what we were

formally abusing as LTFLAGS.

  1. … 10 more files in changeset.
Completely revamp configure so that it preserves the standard make

variables CPPFLAGS, CFLAGS, CXXFLAGS, LDFLAGS and LIBS by moving

the configure additions to EXTRA_* variables. Also, allow the user

to specify NOTEST_* values for all of the above, which eliminates the

need for THREAD_CPPFLAGS, THREAD_CFLAGS, and OPTIM. Fix the setting

of INCLUDES and EXTRA_INCLUDES. Check flags as they are added to

avoid pointless duplications. Fix the order in which flags are given

on the compile and link lines.

  1. … 19 more files in changeset.
Enable mod_status by default. This matches the docs and what 1.3 does.

Submitted by: Ed Korthof

  1. … 1 more file in changeset.
Change a few "no" module to "most". Leave suexec: it must be explicitly

enabled.

Rename the mpmt_pthread module to threaded. This module has moved from

the old mpmt_pthread directory to the new threaded directory.

  1. … 25 more files in changeset.
If --enable-suexec is specified, then we need to build suexec

automatically. This bit me multiple times last night as I was trying to

setup apache.org. I would make a change to the configuration, run make;

make install, and it would fail. The problem was that suexec wasn't

getting re-compiled ever, so my changes weren't getting picked up. This

solves that problem, by making sure that suexec gets compiled if it was

specified on the configure line.

  1. … 3 more files in changeset.
Move the config.m4 file to config5.m4 in the generators directory so that

we can actually make the cgi module decision based on MPM.

  1. … 1 more file in changeset.