]> granicus.if.org Git - apache/log
apache
9 years agofix props and update transformation
André Malo [Sat, 23 Aug 2014 20:36:25 +0000 (20:36 +0000)]
fix props and update transformation

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1620075 13f79535-47bb-0310-9956-ffa450edef68

9 years agoxform
Eric Covener [Sat, 23 Aug 2014 11:36:37 +0000 (11:36 +0000)]
xform

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1620014 13f79535-47bb-0310-9956-ffa450edef68

9 years agoremove incorrect compat info from trunk
Eric Covener [Sat, 23 Aug 2014 11:33:35 +0000 (11:33 +0000)]
remove incorrect compat info from trunk

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1620011 13f79535-47bb-0310-9956-ffa450edef68

9 years agoRebuild.
Lucien Gentis [Sat, 23 Aug 2014 11:15:56 +0000 (11:15 +0000)]
Rebuild.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1620003 13f79535-47bb-0310-9956-ffa450edef68

9 years agoXML update.
Lucien Gentis [Sat, 23 Aug 2014 11:14:08 +0000 (11:14 +0000)]
XML update.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1620002 13f79535-47bb-0310-9956-ffa450edef68

9 years agodon't let handlers start with r->status = 304 during a failed revalidation
Eric Covener [Fri, 22 Aug 2014 15:26:27 +0000 (15:26 +0000)]
don't let handlers start with r->status = 304 during a failed revalidation

PR56881

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1619835 13f79535-47bb-0310-9956-ffa450edef68

9 years agomod_deflate:
Yann Ylavic [Thu, 21 Aug 2014 17:02:00 +0000 (17:02 +0000)]
mod_deflate:
- fix signed/unsigned (int/size_t) comparisons,
- add consume_buffer() to factorize code used multiple times,
- cleanup passed brigade (don't rely on next output filters to do it).

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1619486 13f79535-47bb-0310-9956-ffa450edef68

9 years agomod_deflate: follow up to r1619444.
Yann Ylavic [Thu, 21 Aug 2014 16:44:10 +0000 (16:44 +0000)]
mod_deflate: follow up to r1619444.

Fix counting of inflated bytes in deflate_in_filter() when asked to flush, since
we now count bytes per inflate() call everywhere, we can't count all the produced
bytes there.

We still need to include all the produced bytes in the brigade.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1619483 13f79535-47bb-0310-9956-ffa450edef68

9 years agomod_proxy: add missing APLOGNOs.
Yann Ylavic [Thu, 21 Aug 2014 15:49:54 +0000 (15:49 +0000)]
mod_proxy: add missing APLOGNOs.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1619455 13f79535-47bb-0310-9956-ffa450edef68

9 years agomod_deflate: follow up to r1619444.
Yann Ylavic [Thu, 21 Aug 2014 15:48:36 +0000 (15:48 +0000)]
mod_deflate: follow up to r1619444.

Add missing APLOGNO.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1619453 13f79535-47bb-0310-9956-ffa450edef68

9 years agoleave a hint while scrolling through inflate() calls
Eric Covener [Thu, 21 Aug 2014 15:39:21 +0000 (15:39 +0000)]
leave a hint while scrolling through inflate() calls

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1619448 13f79535-47bb-0310-9956-ffa450edef68

9 years agomod_deflate: follow up to r1619383.
Yann Ylavic [Thu, 21 Aug 2014 15:30:14 +0000 (15:30 +0000)]
mod_deflate: follow up to r1619383.

deflate_in_filter():
- use inflated bytes per inflate() call to compute the total output bytes,
- check zlib errors before limits,
- add missing check_ratio() when asked to flush.

deflate_out_filter():
- check ratio after each inflate() call.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1619444 13f79535-47bb-0310-9956-ffa450edef68

9 years agoA misplaced check for inflation limits prevented limiting relatively
Eric Covener [Thu, 21 Aug 2014 13:11:15 +0000 (13:11 +0000)]
A misplaced check for inflation limits prevented limiting relatively
small inputs.  PR56872

Submitted By: Edward Lu
Committed By: covener

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1619383 13f79535-47bb-0310-9956-ffa450edef68

9 years agoMissing va_end spotted by cppcheck
Christophe Jaillet [Thu, 21 Aug 2014 06:56:40 +0000 (06:56 +0000)]
Missing va_end spotted by cppcheck

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1619297 13f79535-47bb-0310-9956-ffa450edef68

9 years agoFix typo noticed by GilDawson
Christophe Jaillet [Tue, 19 Aug 2014 20:11:56 +0000 (20:11 +0000)]
Fix typo noticed by GilDawson

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1618965 13f79535-47bb-0310-9956-ffa450edef68

9 years agoPR56870: authzprovideralias-defined authz provier can't be used in a virtualhost
Eric Covener [Tue, 19 Aug 2014 12:44:09 +0000 (12:44 +0000)]
PR56870: authzprovideralias-defined authz provier can't be used in a virtualhost

apply the same workaround from mod_authn_core r1554995 so r->server has our hash.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1618851 13f79535-47bb-0310-9956-ffa450edef68

9 years agoFollow up r1617201:
Takashi Sato [Tue, 19 Aug 2014 01:27:38 +0000 (01:27 +0000)]
Follow up r1617201:
Return EPERM if the uid is not root on chroot-ing.

Pointed out by trawick on
<CAKUrXK6EGmG1ZD4+UFZ05yznTe6twOU3n57YeO-Ney-_VV_dCQ@mail.gmail.com>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1618778 13f79535-47bb-0310-9956-ffa450edef68

9 years agomod_systemd.xml: delete application/xml property
Jan Kaluža [Mon, 18 Aug 2014 12:56:03 +0000 (12:56 +0000)]
mod_systemd.xml: delete application/xml property

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1618595 13f79535-47bb-0310-9956-ffa450edef68

9 years agomod_systemd: Use AP_SIG_GRACEFUL instead of SIGWINCH.
Jan Kaluža [Mon, 18 Aug 2014 11:51:01 +0000 (11:51 +0000)]
mod_systemd: Use AP_SIG_GRACEFUL instead of SIGWINCH.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1618588 13f79535-47bb-0310-9956-ffa450edef68

9 years agomod_systemd: Add IdleShutdown - number of seconds in idle-state after which
Jan Kaluža [Mon, 18 Aug 2014 10:48:41 +0000 (10:48 +0000)]
mod_systemd: Add IdleShutdown - number of seconds in idle-state after which
httpd is shutdown. This is useful in a combination with socket activation.
Add mod_systemd documentation.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1618579 13f79535-47bb-0310-9956-ffa450edef68

9 years agoprefork: Ignore SIGINT in child. This fixes race-condition in signals handling
Jan Kaluža [Mon, 18 Aug 2014 07:43:43 +0000 (07:43 +0000)]
prefork: Ignore SIGINT in child. This fixes race-condition in signals handling
when httpd is runnning on foreground and user hits ctrl+c. In this case, SIGINT
is sent to all children followed by SIGTERM from the main process, which
interrupts the SIGINT handler and leads to inconsistency (process freezes
or crashes).

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1618555 13f79535-47bb-0310-9956-ffa450edef68

9 years agoAvoid useless warning message when parsing a section guarded by <IfDefine foo> if...
Christophe Jaillet [Mon, 18 Aug 2014 06:08:00 +0000 (06:08 +0000)]
Avoid useless warning message when parsing a section guarded by <IfDefine foo> if $(foo) is used within the section.
PR 56503

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1618541 13f79535-47bb-0310-9956-ffa450edef68

9 years agomod_proxy_fcgi: Fix faulty logging of large amounts of stderr from the
Jeff Trawick [Sat, 16 Aug 2014 19:15:02 +0000 (19:15 +0000)]
mod_proxy_fcgi: Fix faulty logging of large amounts of stderr from the
application.

PR: 56858
Submitted by: Manuel Mausz <manuel-asf mausz.at>
Reviewed by: trawick

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1618401 13f79535-47bb-0310-9956-ffa450edef68

9 years ago* support/ab.c: Fix crash caused by integer overflow when printing stats with
Jan Kaluža [Thu, 14 Aug 2014 12:15:31 +0000 (12:15 +0000)]
* support/ab.c: Fix crash caused by integer overflow when printing stats with
lot of requests (for example -n 500000000).

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1617913 13f79535-47bb-0310-9956-ffa450edef68

9 years agogeteuid is always successful,
Takashi Sato [Mon, 11 Aug 2014 05:06:50 +0000 (05:06 +0000)]
geteuid is always successful,
so remove errno reference.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1617201 13f79535-47bb-0310-9956-ffa450edef68

9 years agounixd_drop_privileges and ap_unixd_setup_child are almost the same,
Takashi Sato [Mon, 11 Aug 2014 03:04:21 +0000 (03:04 +0000)]
unixd_drop_privileges and ap_unixd_setup_child are almost the same,
so let's remove the redundant code.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1617196 13f79535-47bb-0310-9956-ffa450edef68

9 years agoPR56832 -- mod_ratelimit reports at ERROR level everytime a lower-level filter
Eric Covener [Sat, 9 Aug 2014 21:20:50 +0000 (21:20 +0000)]
PR56832 -- mod_ratelimit reports at ERROR level everytime a lower-level filter
encounters an error. Since the core output filter only emits TRACE1, a higher
level filter shouldn't log the same condition as ERROR.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1617018 13f79535-47bb-0310-9956-ffa450edef68

9 years agoSome changes for mod_authnz_fcgi doc.
Mike Rumph [Thu, 7 Aug 2014 00:11:21 +0000 (00:11 +0000)]
Some changes for mod_authnz_fcgi doc.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1616377 13f79535-47bb-0310-9956-ffa450edef68

9 years agoGenerated doc changes.
Mike Rumph [Wed, 6 Aug 2014 23:31:12 +0000 (23:31 +0000)]
Generated doc changes.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1616371 13f79535-47bb-0310-9956-ffa450edef68

9 years agouse /var/log instead of /var/logs in examples
Eric Covener [Sat, 2 Aug 2014 20:19:17 +0000 (20:19 +0000)]
use /var/log instead of /var/logs in examples

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1615362 13f79535-47bb-0310-9956-ffa450edef68

9 years agoPR53420: Proxy responses with error status and
Rainer Jung [Sat, 2 Aug 2014 08:24:35 +0000 (08:24 +0000)]
PR53420: Proxy responses with error status and
"ProxyErrorOverride On" hang until proxy timeout.

Regression from 2.2. It was introduced by r912063
in order to fix PR41646.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1615289 13f79535-47bb-0310-9956-ffa450edef68

9 years agoTurn some APR_BUCKET_REMOVE(e)+apr_bucket_destroy(e) into the equivalent apr_bucket_d...
Christophe Jaillet [Fri, 1 Aug 2014 04:23:50 +0000 (04:23 +0000)]
Turn some APR_BUCKET_REMOVE(e)+apr_bucket_destroy(e) into the equivalent apr_bucket_delete(e) to reduce code verbosity

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1615026 13f79535-47bb-0310-9956-ffa450edef68

9 years ago* acinclude.m4 (APACHE_CHECK_SYSTEMD): Actually use $PKGCONFIG, duh.
Joe Orton [Thu, 31 Jul 2014 08:06:22 +0000 (08:06 +0000)]
* acinclude.m4 (APACHE_CHECK_SYSTEMD): Actually use $PKGCONFIG, duh.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1614824 13f79535-47bb-0310-9956-ffa450edef68

9 years ago* acinclude.m4 (APACHE_CHECK_SYSTEMD): Check first for libsystemd
Joe Orton [Thu, 31 Jul 2014 08:01:07 +0000 (08:01 +0000)]
* acinclude.m4 (APACHE_CHECK_SYSTEMD): Check first for libsystemd
  with pkg-config since libsystemd-daemon is deprecated upstream.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1614823 13f79535-47bb-0310-9956-ffa450edef68

9 years ago* configure.in, acinclude.m4: Move systemd check to APACHE_CHECK_SYSTEMD
Joe Orton [Thu, 31 Jul 2014 07:56:44 +0000 (07:56 +0000)]
* configure.in, acinclude.m4: Move systemd check to APACHE_CHECK_SYSTEMD
  and use pkg-config where available.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1614821 13f79535-47bb-0310-9956-ffa450edef68

9 years agoFix typo spotted in comment #2818
Christophe Jaillet [Wed, 30 Jul 2014 04:24:49 +0000 (04:24 +0000)]
Fix typo spotted in comment #2818

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1614540 13f79535-47bb-0310-9956-ffa450edef68

9 years agoRebuild.
Lucien Gentis [Sat, 26 Jul 2014 17:26:43 +0000 (17:26 +0000)]
Rebuild.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1613690 13f79535-47bb-0310-9956-ffa450edef68

9 years agoXML Updates.
Lucien Gentis [Sat, 26 Jul 2014 17:25:07 +0000 (17:25 +0000)]
XML Updates.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1613689 13f79535-47bb-0310-9956-ffa450edef68

9 years agoIn 2.4.10, AuthLDAPBindDN might not be used for some LDAP searches, causing
Eric Covener [Sat, 26 Jul 2014 16:59:50 +0000 (16:59 +0000)]
In 2.4.10, AuthLDAPBindDN might not be used for some LDAP searches, causing
LDAP authz failures if AuthLDAPBindDN was able to search through more of
LDAP than web users.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1613682 13f79535-47bb-0310-9956-ffa450edef68

9 years agono status during if_walk
Eric Covener [Fri, 25 Jul 2014 22:24:13 +0000 (22:24 +0000)]
no status during if_walk

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1613526 13f79535-47bb-0310-9956-ffa450edef68

9 years agocall out some variables that aren't set during <if>
Eric Covener [Fri, 25 Jul 2014 22:20:33 +0000 (22:20 +0000)]
call out some variables that aren't set during <if>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1613524 13f79535-47bb-0310-9956-ffa450edef68

9 years agomod_proxy_wstunnel: Concurrent websockets messages could be
Eric Covener [Fri, 25 Jul 2014 18:54:03 +0000 (18:54 +0000)]
mod_proxy_wstunnel: Concurrent websockets messages could be
lost or delayed with ProxyWebsocketAsync enabled.

Submitted By: Edward Lu
Committed By: covener

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1613493 13f79535-47bb-0310-9956-ffa450edef68

9 years agoxform
Eric Covener [Thu, 24 Jul 2014 22:49:07 +0000 (22:49 +0000)]
xform

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1613321 13f79535-47bb-0310-9956-ffa450edef68

9 years agotwo commenters were confused authnprovideralias
Eric Covener [Thu, 24 Jul 2014 22:45:33 +0000 (22:45 +0000)]
two commenters were confused authnprovideralias
providing special config to authz providers

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1613318 13f79535-47bb-0310-9956-ffa450edef68

9 years agoMinor mmn bump due to r1612940.
Rainer Jung [Thu, 24 Jul 2014 17:02:03 +0000 (17:02 +0000)]
Minor mmn bump due to r1612940.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1613189 13f79535-47bb-0310-9956-ffa450edef68

9 years agoFix syntax error introduced in r1612921.
Rainer Jung [Thu, 24 Jul 2014 07:53:20 +0000 (07:53 +0000)]
Fix syntax error introduced in r1612921.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1613029 13f79535-47bb-0310-9956-ffa450edef68

9 years agoRe-introduce check for sufficient PCRE version.
Guenter Knauf [Wed, 23 Jul 2014 21:15:06 +0000 (21:15 +0000)]
Re-introduce check for sufficient PCRE version.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1612945 13f79535-47bb-0310-9956-ffa450edef68

9 years agoForgotten file needed for r1612934.
Rainer Jung [Wed, 23 Jul 2014 20:27:32 +0000 (20:27 +0000)]
Forgotten file needed for r1612934.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1612940 13f79535-47bb-0310-9956-ffa450edef68

9 years agoNote/update some requirements versions.
Rainer Jung [Wed, 23 Jul 2014 20:02:14 +0000 (20:02 +0000)]
Note/update some requirements versions.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1612938 13f79535-47bb-0310-9956-ffa450edef68

9 years agoFix obvious errors. Probably the rest of the
Rainer Jung [Wed, 23 Jul 2014 20:00:50 +0000 (20:00 +0000)]
Fix obvious errors. Probably the rest of the
file is outdated as well.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1612937 13f79535-47bb-0310-9956-ffa450edef68

9 years agoAdd compiled and loaded PCRE version numbers
Rainer Jung [Wed, 23 Jul 2014 19:53:22 +0000 (19:53 +0000)]
Add compiled and loaded PCRE version numbers
to "httpd -V" output and to mod_info page.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1612934 13f79535-47bb-0310-9956-ffa450edef68

9 years agoCheck for correct minimum PCRE version in configure,
Rainer Jung [Wed, 23 Jul 2014 19:01:45 +0000 (19:01 +0000)]
Check for correct minimum PCRE version in configure,
do not check in source code.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1612921 13f79535-47bb-0310-9956-ffa450edef68

9 years agoClarify comment.
Rainer Jung [Tue, 22 Jul 2014 19:29:08 +0000 (19:29 +0000)]
Clarify comment.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1612653 13f79535-47bb-0310-9956-ffa450edef68

9 years agoSwitch from lua_objlen() to Lua 5.2 preferred
Rainer Jung [Tue, 22 Jul 2014 11:57:06 +0000 (11:57 +0000)]
Switch from lua_objlen() to Lua 5.2 preferred
lua_rawlen(). Define lua_rawlen() in terms of
lua_objlen() when building against older Lua.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1612552 13f79535-47bb-0310-9956-ffa450edef68

9 years agoRemove APLOG_NOERRNO.
Christophe Jaillet [Tue, 22 Jul 2014 05:37:12 +0000 (05:37 +0000)]
Remove APLOG_NOERRNO.
This was intoduced in r1418677.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1612469 13f79535-47bb-0310-9956-ffa450edef68

9 years agoRemove APLOG_NOERRNO.
Christophe Jaillet [Tue, 22 Jul 2014 05:17:10 +0000 (05:17 +0000)]
Remove APLOG_NOERRNO.
Add some APLOGNO.
Fix some alignment.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1612466 13f79535-47bb-0310-9956-ffa450edef68

9 years agoAdd message numbers to mod_ssl_ct messages with severity > debug.
Jeff Trawick [Sun, 20 Jul 2014 17:08:20 +0000 (17:08 +0000)]
Add message numbers to mod_ssl_ct messages with severity > debug.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1612122 13f79535-47bb-0310-9956-ffa450edef68

9 years agoRebuild.
Lucien Gentis [Sun, 20 Jul 2014 14:25:57 +0000 (14:25 +0000)]
Rebuild.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1612091 13f79535-47bb-0310-9956-ffa450edef68

9 years agoXML update.
Lucien Gentis [Sun, 20 Jul 2014 14:24:13 +0000 (14:24 +0000)]
XML update.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1612090 13f79535-47bb-0310-9956-ffa450edef68

9 years agoAdd missing APLOGNO.
Christophe Jaillet [Sun, 20 Jul 2014 09:32:58 +0000 (09:32 +0000)]
Add missing APLOGNO.
Refactor some lines to keep APLOGNO on the same line as ap_log_error, when applicable.
Split lines longer than 80.
Improve alignment.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1612068 13f79535-47bb-0310-9956-ffa450edef68

9 years agoAdd missing APLOGNO.
Christophe Jaillet [Sat, 19 Jul 2014 22:05:10 +0000 (22:05 +0000)]
Add missing APLOGNO.
Split lines longer than 80.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1611980 13f79535-47bb-0310-9956-ffa450edef68

9 years agoAdd missing APLOGNO.
Christophe Jaillet [Sat, 19 Jul 2014 22:03:58 +0000 (22:03 +0000)]
Add missing APLOGNO.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1611979 13f79535-47bb-0310-9956-ffa450edef68

9 years agoAdd missing APLOGNO.
Christophe Jaillet [Sat, 19 Jul 2014 22:02:53 +0000 (22:02 +0000)]
Add missing APLOGNO.
Refactor to keep APLOGNO on the same line as ap_log_error, when applicable.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1611978 13f79535-47bb-0310-9956-ffa450edef68

9 years agoRebuild.
Lucien Gentis [Sat, 19 Jul 2014 17:45:36 +0000 (17:45 +0000)]
Rebuild.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1611930 13f79535-47bb-0310-9956-ffa450edef68

9 years agoXML update.
Lucien Gentis [Sat, 19 Jul 2014 17:44:32 +0000 (17:44 +0000)]
XML update.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1611929 13f79535-47bb-0310-9956-ffa450edef68

9 years agoFix comment.
Christophe Jaillet [Sat, 19 Jul 2014 16:37:29 +0000 (16:37 +0000)]
Fix comment.
Remove @file and @brief from within the @defgroup to be consistenbt with doxygen comments from other files.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1611919 13f79535-47bb-0310-9956-ffa450edef68

9 years agoMove comment from .c to .h in order to make use of it in doxygen.
Christophe Jaillet [Sat, 19 Jul 2014 13:36:52 +0000 (13:36 +0000)]
Move comment from .c to .h in order to make use of it in doxygen.
Fix the comment that states that these vars are NULL on ASCII machine, they seem to be undefined instead.
Rework some comments.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1611916 13f79535-47bb-0310-9956-ffa450edef68

9 years agoImprove doxygen comment.
Christophe Jaillet [Sat, 19 Jul 2014 13:03:36 +0000 (13:03 +0000)]
Improve doxygen comment.

Generate the doc even if build on non-EBCDIC system + fix a comment about non-EBCDIC system. In this case, these vars are undefined, not NULL.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1611908 13f79535-47bb-0310-9956-ffa450edef68

9 years agoImprove doxygen comment.
Christophe Jaillet [Sat, 19 Jul 2014 10:30:42 +0000 (10:30 +0000)]
Improve doxygen comment.

Use a comment already present as the doxygen  description of the module.
Remove a useless @def.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1611880 13f79535-47bb-0310-9956-ffa450edef68

9 years agoDo not use deprecated define.
Christophe Jaillet [Sat, 19 Jul 2014 09:46:20 +0000 (09:46 +0000)]
Do not use deprecated define.

No change in generated code because MODULE_MAGIC_NUMBER is defined as:
   #define MODULE_MAGIC_NUMBER MODULE_MAGIC_NUMBER_MAJOR

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1611871 13f79535-47bb-0310-9956-ffa450edef68

9 years agoImprove doxygen comment.
Christophe Jaillet [Sat, 19 Jul 2014 08:35:51 +0000 (08:35 +0000)]
Improve doxygen comment.

Improve layout, fix typo, generate relevant doc even if build on non-EBCDIC system + add note that these functions are mostly noop on non-EBCDIC system.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1611858 13f79535-47bb-0310-9956-ffa450edef68

9 years agoport latex-build fix from 2.4
André Malo [Fri, 18 Jul 2014 21:43:09 +0000 (21:43 +0000)]
port latex-build fix from 2.4

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1611815 13f79535-47bb-0310-9956-ffa450edef68

9 years agoupdate transformation
André Malo [Fri, 18 Jul 2014 20:32:00 +0000 (20:32 +0000)]
update transformation

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1611793 13f79535-47bb-0310-9956-ffa450edef68

9 years agofix properties and xml validity
André Malo [Fri, 18 Jul 2014 20:20:09 +0000 (20:20 +0000)]
fix properties and xml validity

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1611791 13f79535-47bb-0310-9956-ffa450edef68

9 years agomod_lua: Don't quote values in cookies; Make IE happy again [#56734]
Daniel Gruno [Fri, 18 Jul 2014 18:12:12 +0000 (18:12 +0000)]
mod_lua: Don't quote values in cookies; Make IE happy again [#56734]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1611741 13f79535-47bb-0310-9956-ffa450edef68

9 years agomod_deflate: don't require <limits.h> by using APR_INT32_MAX instead of INT_MAX.
Yann Ylavic [Fri, 18 Jul 2014 17:21:16 +0000 (17:21 +0000)]
mod_deflate: don't require <limits.h> by using APR_INT32_MAX instead of INT_MAX.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1611725 13f79535-47bb-0310-9956-ffa450edef68

9 years agoSilence compiler warning:
Rainer Jung [Fri, 18 Jul 2014 11:39:11 +0000 (11:39 +0000)]
Silence compiler warning:
mod_authnz_fcgi.c:580:44: warning: 'orspbuflen'
may be used uninitialized in this function.

Not true but annoying.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1611600 13f79535-47bb-0310-9956-ffa450edef68

9 years agoFix typo spotted by Mike Rumph
Christophe Jaillet [Thu, 17 Jul 2014 21:36:02 +0000 (21:36 +0000)]
Fix typo spotted by Mike Rumph

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1611481 13f79535-47bb-0310-9956-ffa450edef68

9 years agoFix all errors related to apreq in doxygen processing.
Christophe Jaillet [Thu, 17 Jul 2014 21:31:53 +0000 (21:31 +0000)]
Fix all errors related to apreq in doxygen processing.
Remove useless comment. As far as I have tested (with dox 1.8.6), it works as described in doxygen doc.

Generated docs are still only visible from the "List File". More work is needed to have them included within the "Module/Core routine" architecture. However they are now useable and the ouput of "make dox" is now readable :)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1611480 13f79535-47bb-0310-9956-ffa450edef68

9 years agomark async websockets tunnel stuff as experimental
Eric Covener [Thu, 17 Jul 2014 18:24:43 +0000 (18:24 +0000)]
mark async websockets tunnel stuff as experimental

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1611430 13f79535-47bb-0310-9956-ffa450edef68

9 years agorecord for posterity why some 2/3-char formats begin with a funny caret.
Eric Covener [Thu, 17 Jul 2014 14:07:53 +0000 (14:07 +0000)]
record for posterity why some 2/3-char formats begin with a funny caret.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1611357 13f79535-47bb-0310-9956-ffa450edef68

9 years agoAdd SORT_GROUP_NAMES=YES inorder to ease navigation in generated doc.
Christophe Jaillet [Thu, 17 Jul 2014 06:06:45 +0000 (06:06 +0000)]
Add SORT_GROUP_NAMES=YES inorder to ease navigation in generated doc.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1611256 13f79535-47bb-0310-9956-ffa450edef68

9 years agoImprove doxygen comment.
Christophe Jaillet [Thu, 17 Jul 2014 05:34:12 +0000 (05:34 +0000)]
Improve doxygen comment.

Improve layout, add trailing '.' in function description, capitalize first letter of description, fix typo, turn \0 into \\0.
Move the detailed description after @defgroup so that it is taken into account.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1611252 13f79535-47bb-0310-9956-ffa450edef68

9 years agoAs noted by Yann, this resulted in a dead var assignment. Preinit won't
William A. Rowe Jr [Thu, 17 Jul 2014 04:30:25 +0000 (04:30 +0000)]
As noted by Yann, this resulted in a dead var assignment.  Preinit won't
work due to the fact that we overload rv as both the DWORD windows result
and the apr_status_t result code.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1611244 13f79535-47bb-0310-9956-ffa450edef68

9 years agoImprove doxygen comment.
Christophe Jaillet [Wed, 16 Jul 2014 22:22:49 +0000 (22:22 +0000)]
Improve doxygen comment.

Improve layout, add trailing '.' in function description, remove unneeded @fn.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1611210 13f79535-47bb-0310-9956-ffa450edef68

9 years agoImprove doxygen comment.
Christophe Jaillet [Wed, 16 Jul 2014 22:09:39 +0000 (22:09 +0000)]
Improve doxygen comment.

Improve layout, add trailing '.' in function description, remove unneeded @fn.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1611202 13f79535-47bb-0310-9956-ffa450edef68

9 years agompm_winnt: Accept utf-8 (Unicode) service names and descriptions for
William A. Rowe Jr [Wed, 16 Jul 2014 20:15:49 +0000 (20:15 +0000)]
mpm_winnt: Accept utf-8 (Unicode) service names and descriptions for
internationalization.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1611169 13f79535-47bb-0310-9956-ffa450edef68

9 years agoGeneral whitespace cleanup, error message normalization, and style conformance
William A. Rowe Jr [Wed, 16 Jul 2014 20:06:54 +0000 (20:06 +0000)]
General whitespace cleanup, error message normalization, and style conformance
for 80 character folding and legibility.

Folds several identical errors into the same APLOGNO() groups.

Catches several errors which were missing APLOGNO() entries, in the
existing groups and in one new message.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1611165 13f79535-47bb-0310-9956-ffa450edef68

9 years agoFixed mod_ssl NetWare build.
Guenter Knauf [Wed, 16 Jul 2014 13:50:44 +0000 (13:50 +0000)]
Fixed mod_ssl NetWare build.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1611012 13f79535-47bb-0310-9956-ffa450edef68

9 years agoAdded missing export for proxy module.
Guenter Knauf [Wed, 16 Jul 2014 13:21:30 +0000 (13:21 +0000)]
Added missing export for proxy module.
Submitted by normw at gknw net.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1610997 13f79535-47bb-0310-9956-ffa450edef68

9 years agoRemove backported item.
Rainer Jung [Wed, 16 Jul 2014 06:08:20 +0000 (06:08 +0000)]
Remove backported item.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1610916 13f79535-47bb-0310-9956-ffa450edef68

9 years ago *) SECURITY: CVE-2013-5704 (cve.mitre.org)
Eric Covener [Tue, 15 Jul 2014 19:11:02 +0000 (19:11 +0000)]
  *) 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

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1610814 13f79535-47bb-0310-9956-ffa450edef68

9 years agofix logic in ap_method_list_(add|remove) in order:
Christophe Jaillet [Tue, 15 Jul 2014 19:09:06 +0000 (19:09 +0000)]
fix logic in ap_method_list_(add|remove) in order:
       - to correctly reset bits
       - not to modify the 'method_mask' bitfield unnecessarily

Also remove a useless 'register' in the declaration of a variable.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1610813 13f79535-47bb-0310-9956-ffa450edef68

9 years agoSuggestion from Rick Houser -- for compatibility, pick an unusual
Eric Covener [Tue, 15 Jul 2014 14:18:17 +0000 (14:18 +0000)]
Suggestion from Rick Houser -- for compatibility, pick an unusual
character as the first character in a 2/3 character pattern.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1610707 13f79535-47bb-0310-9956-ffa450edef68

9 years agoallow two character mod_log_config formats
Eric Covener [Tue, 15 Jul 2014 13:30:59 +0000 (13:30 +0000)]
allow two character mod_log_config formats

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1610686 13f79535-47bb-0310-9956-ffa450edef68

9 years agoSECURITY (CVE-2014-0117): Fix a crash in mod_proxy. In a reverse
Joe Orton [Tue, 15 Jul 2014 12:27:00 +0000 (12:27 +0000)]
SECURITY (CVE-2014-0117): Fix a crash in mod_proxy.  In a reverse
proxy configuration, a remote attacker could send a carefully crafted
request which could crash a server process, resulting in denial of
service.

Thanks to Marek Kroemeke working with HP's Zero Day Initiative for
reporting this issue.

* server/util.c (ap_parse_token_list_strict): New function.

* modules/proxy/proxy_util.c (find_conn_headers): Use it here.

* modules/proxy/mod_proxy_http.c (ap_proxy_http_process_response):
  Send a 400 for a malformed Connection header.

Submitted by: Edward Lu, breser, covener

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1610674 13f79535-47bb-0310-9956-ffa450edef68

9 years agoSECURITY (CVE-2014-3523): Fix a memory consumption denial of
Jeff Trawick [Tue, 15 Jul 2014 11:15:26 +0000 (11:15 +0000)]
SECURITY (CVE-2014-3523): Fix a memory consumption denial of
service in the WinNT MPM used in all Windows installations.
Workaround: AcceptFilter <protocol> {none|connect}

Submitted by: trawick
Reviewed by: jorton, covener, jim

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1610652 13f79535-47bb-0310-9956-ffa450edef68

9 years agoAdd missing APLOGNO + fix a typo in a comment
Christophe Jaillet [Mon, 14 Jul 2014 20:44:21 +0000 (20:44 +0000)]
Add missing APLOGNO + fix a typo in a comment

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1610518 13f79535-47bb-0310-9956-ffa450edef68

9 years agoSECURITY: CVE-2014-0231 (cve.mitre.org): Part two of two, with r1535125:
Eric Covener [Mon, 14 Jul 2014 20:08:25 +0000 (20:08 +0000)]
SECURITY: CVE-2014-0231 (cve.mitre.org): Part two of two, with r1535125:

   mod_cgid: Fix a denial of service against CGI scripts that do
   not consume stdin that could lead to lingering HTTPD child processes
   filling up the scoreboard and eventually hanging the server.
   [Rainer Jung, Eric Covener, Yann Ylavic]

Submitted By: rjung, covener, ylavic
Reviewed By: trawick, jorton, covener, jim

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1610509 13f79535-47bb-0310-9956-ffa450edef68

9 years ago *) SECURITY: CVE-2014-0118 (cve.mitre.org)
Eric Covener [Mon, 14 Jul 2014 19:56:15 +0000 (19:56 +0000)]
  *) SECURITY: CVE-2014-0118 (cve.mitre.org)
     mod_deflate: The DEFLATE input filter (inflates request bodies) now
     limits the length and compression ratio of inflated request bodies to avoid
     denial of sevice via highly compressed bodies.  See directives
     DeflateInflateLimitRequestBody, DeflateInflateRatioLimit,
     and DeflateInflateRatioBurst.

Thanks to Giancarlo Pellegrino and Davide Balzarotti for reporting the issue.

Submitted By: ylavic, covener
Reviewed By: jorton, covener, jim

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1610501 13f79535-47bb-0310-9956-ffa450edef68