Joe Orton

Try mailing dev@ for Travis build results.

The defaults are to mail:

- on success (if changed from failure)

- on failure (always)

mod_ssl: Log private key material to file set by $SSLKEYLOGFILE in the

environment, using the standard format which can be parsed by (e.g.)

wireshark for decoding SSL/TLS traffic; supported from OpenSSL 1.1.1.

* modules/ssl/ssl_private.h: Add keylog_file to SSLModConfigRec.

* modules/ssl/ssl_engine_init.c (ssl_init_Module): Open log file if

SSLKEYLOGFILE is set in the environment.

(ssl_init_ctx_protocol): Register the keylog callback with OpenSSL.

* modules/ssl/ssl_engine_kernel.c (modssl_callback_keylog):

New function.

PR: 63391

Github: closes #74

Add build job for trunk on Xenial with custom APR/APR-util builds.

Also avoid adding the Set-Cookie header in both r->headers_out and

r->err_headers_out in ap_cookie_remove and ap_cookie_remove2 functions

to avoid duplication in HTTP response. (Follow-up to r1843244)

Closes #73

PR: 60910

Submitted by: Lubos Uhliarik <luhliari redhat.com>

Test IRC and e-mail notifications.

* server/util_expr_parse.[ch]: Regenerate after r1869724.

Non terminal cannot have string aliases (only tokens appear in error

messages). %token is used to define tokens, and %nterm non terminals.

The hidden %type (which was only recently documented) is meant for

both tokens and non terminals. Yet

%type <foo> expr "expression"

is actually more or less equivalent to

%nterm <foo> expr

%token <foo> "expression"

which is clearly not the intention of the author here.

* server/util_expr_parse.y: Remove useless string-literal only tokens.

Prefer %nterm to %type to avoid this error.

PR: #72

Submitted by: Akim Demaille <akim.demaille gmail.com>

Minor Travis doc updates and a todo list. [skip ci]

Install PCRE v2 (10.x) by default, add a job testing with PCRE "v1" (8.x).

Add buildconf option to force (rather than suppress) regeneration of

the ap_expr parser. Add a Travis job which uses this, so a patch

which changes the parser sources is tested appropriately (e.g PR#72).

* buildconf: Add --with-regen-expr to force ap_expr regeneration.

* .travis.yml, test/travis_run_linux.sh: Pass BUILDCONF to buildconf

and add job which uses the new option.

Update APR version requirement to 1.6 or later per rough consensus on

dev@ (see list thread from msgid <20191108094020.GA12979@redhat.com>).

* configure.in: Fail with APR < 1.6.

* .travis.yml: Build on Bionic by default, only build w/APR 1.5.x for

the 2.4.x branch.

Fix yaml typo.
Add shared-mpms build, add build against APR trunk (httpd trunk only).

Fix handling and ensure safe caching of APR trunk build.

I'm only reviewing this to trigger travis really.

Merge r1869387, r1869441, r1869456, r1869459, r1869527, r1869533, r1869539, r1869540, r1869548, r1869550 from trunk:

Add a basic Travis config.

Pull in more -dev packages to get more modules building (including mod_md).

Test gcc 7 on bionic, xenial is the Travis default anyway.

Only add the toolchain PPA where really needed.

Update travis config

* Add 'if TRAVIS_OS_NAME' to before_install/before_script/script to allow multi-os testing.

* Add separation lines in matrix config (better visual impact).

* Add Linux to all the current job's name.

* Add tests for Worker mpm.

Move before/run scripts out of .travis.yml.

Reviewed by: elukey

Support 2.4.x builds, which lacks --with-test-suite support.

Build with --enable-load-all-modules only when the test suite is run.

Add Travis support for multiple APR/APR-util versions.

Add an APR build with --enable-pool-debug.

Build all modules when testing APR variations.

Build APR-util 1.6.x --with-crypto otherwise the "mod_crypto" build fails,

though this is a bug: https://travis-ci.org/apache/httpd/jobs/609166867

Add APR 1.4/APR-util 1.4 build, but only for 2.4.x.

Start sketching out some travis docs and check we can -> [skip ci]

Submitted by: jorton, elukey

    • ?
    /httpd/branches/2.4.x/test/travis_run_linux.sh
    • ?
    /httpd/branches/2.4.x/test/README.travis
    • ?
    /httpd/branches/2.4.x/test/travis_before_linux.sh
RTC exception for Travis.

Reviewed by: covener, ylavic, elukey

Start sketching out some travis docs and check we can -> [skip ci]

Add APR 1.4/APR-util 1.4 build, but only for 2.4.x.

Revert r1869541 and always run httpd's buildconf against the Debian APR,

which does include the *.m4 files.

Run buildconf using the specific APR/APR-util versions if configured.

Build APR-util 1.6.x --with-crypto otherwise the "mod_crypto" build fails,

though this is a bug: https://travis-ci.org/apache/httpd/jobs/609166867

Build all modules when testing APR variations.
Add Travis support for multiple APR/APR-util versions.

Add an APR build with --enable-pool-debug.

Support 2.4.x builds, which lacks --with-test-suite support.

Build with --enable-load-all-modules only when the test suite is run.

Move before/run scripts out of .travis.yml.

Reviewed by: elukey

    • ?
    /httpd/trunk/test/travis_before_linux.sh
    • ?
    /httpd/trunk/test/travis_run_linux.sh
Pull in more -dev packages to get more modules building (including mod_md).

Test gcc 7 on bionic, xenial is the Travis default anyway.

Only add the toolchain PPA where really needed.

Add comment, no functional change.
Add a basic Travis config.

Fix build broken w/o --enable-cgid-fdpassing by r1867968:

* modules/generators/cgi_common.h: Only define CGI bucket type

if WANT_CGI_BUCKET is defined.

* modules/generators/mod_cgi.c: Always include cgi_common.h, defining

WANT_CGI_BUCKET iff APR_FILES_AS_SOCKETS is defined

* modules/generators/mod_cgid.c: Always include cgi_common.h, defining

WANT_CGI_BUCKET iff HAVE_CGID_FDPASSING (--enable-cgid-fdpassing).

* modules/generators/cgi_common.h (discard_script_output): Simplify

slightly and ensure constant rather than unlimited memory

consumption when discarding CGI script output (for e.g. a redirect

response).