mod_log_config.c

Checkout Tools
  • last updated 3 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
  1. … 7 more files in changeset.
Fix spelling in comments and text files.

No functional change.

PR 59990

  1. … 69 more files in changeset.
Rename ap_casecmpstr[n]() to ap_cstr_casecmp[n](), update with APR doxygen
  1. … 49 more files in changeset.
Support %{c}h for conn-hostname, %h for useragent_host
Follow up to r1715880: revert more abusive ap_casecmpstr[n]() usages.
  1. … 7 more files in changeset.
More ap_casecmpstr[n]() usages (follow up to r1715876).

  1. … 26 more files in changeset.
Use new ap_casecmpstr[n]() functions where appropriate (not exhaustive).

  1. … 32 more files in changeset.
Revert r1715789: will re-commit without spurious functional changes.

  1. … 32 more files in changeset.
Use new ap_casecmpstr[n]() functions where appropriate (not exhaustive).

[Reverted by r1715869]

  1. … 32 more files in changeset.
Silence a sparse warning about inconsistent indenting + some minor style issues
Follow-up to r1680895:

Let %T be the format character which accepts time resolution

arguments.

  1. … 1 more file in changeset.
mod_log_config: instead of using the new dedicated

pattern format "%M" for duration milliseconds,

overload the existing "%D" to choose the time precision

("%{s}D" for seconds, "%{ms}D" for milliseconds and

"%{us}D" for microseconds).

The existing %T and %D without precision are kept for

compatibility.

The previously introduced "%M" (r1677187) is removed,

it has not yet been released. Format pattern characters

are rare, so we should only use a new one if an

existing one isn't a good fit.

  1. … 1 more file in changeset.
const goodness
mod_log_config: Fix a bug introduced by r1674261, when using a log provider

the return of ap_default_log_writer was an uninitialized variable.

mod_log_config: Add %M format to output request duration in milliseconds.

  1. … 1 more file in changeset.
* mod_log_config: Allow using ErrorLog providers for CustomLog.

  1. … 1 more file in changeset.
*) SECURITY: CVE-2013-5704 (cve.mitre.org)

core: HTTP trailers could be used to replace HTTP headers

late during request processing, potentially undoing or

otherwise confusing modules that examined or modified

request headers earlier. Adds "MergeTrailers" directive to restore

legacy behavior.

Submitted By: Edward Lu, Yann Ylavic, Joe Orton, Eric Covener

Committed By: covener

  1. … 11 more files in changeset.
Suggestion from Rick Houser -- for compatibility, pick an unusual

character as the first character in a 2/3 character pattern.

  1. … 1 more file in changeset.
allow two character mod_log_config formats

  1. … 1 more file in changeset.
add GlobalLog directive to allow a diagnostic log to be inherited

by all virtual hosts, even if they define their own logs.

Submitted By: Edward Lu <Chaosed0 gmail.com>

Committed by: covener

  1. … 1 more file in changeset.
CVE-2014-0098 (reported by Rainer Canavan <rainer-apache 7val com>)

Segfaults w/ truncated cookie logging.

Clean up the cookie logging parser to recognize only the cookie=value pairs,

not valueless cookies. This refactors multiple passes over the same string

buffer into a single pass parser.

Submitted by: wrowe

Reviewed by: rpluem, jim

  1. … 1 more file in changeset.
Revert r1574518 to get 2.2/2.4/2.x all back in sync for a single fix
ensure cookies have name/value

Fix crash in mod_log_config when logging

request end time for a failed request

(LogFormat contains %{end}t).

The request_config for mod_log_config might

not be initialized.

PR 54828.

style fixes, add comment

no code change

s/;;/;/
  1. … 4 more files in changeset.
Replace use of apr_file_write() with apr_file_write_full() to prevent

incomplete writes.

Add comments in some places where error handling/logging is missing.

PR: 53131.

Submitted by: Nicolas Viennot <apache viennot biz>, Stefan Fritsch

  1. … 9 more files in changeset.
PR 53104 - %{abc}C truncates cookies whose values contain '='

Check during config test that directories for access logs exist

PR 29941

  1. … 2 more files in changeset.
SECURITY: CVE-2012-0021 (cve.mitre.org)

Fix segfault when trying to log a nameless valueless cookie

PR: 52256

Submitted by: Rainer Canavan <rainer-apache 7val com>