]>
granicus.if.org Git - apache/log
André Malo [Mon, 21 Jan 2013 14:29:38 +0000 (14:29 +0000)]
update transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1436368 13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Mon, 21 Jan 2013 14:26:22 +0000 (14:26 +0000)]
validation errors
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1436366 13f79535 -47bb-0310-9956-
ffa450edef68
Daniel Gruno [Mon, 21 Jan 2013 14:18:12 +0000 (14:18 +0000)]
Update syntax highlighter to match mod_macro definitions
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1436362 13f79535 -47bb-0310-9956-
ffa450edef68
Rich Bowen [Mon, 21 Jan 2013 14:14:21 +0000 (14:14 +0000)]
Adds mod_macro (english) to docs.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1436359 13f79535 -47bb-0310-9956-
ffa450edef68
Rich Bowen [Mon, 21 Jan 2013 14:13:22 +0000 (14:13 +0000)]
Tweaks to make the xml validate and build
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1436358 13f79535 -47bb-0310-9956-
ffa450edef68
Gregg Lewis Smith [Mon, 21 Jan 2013 01:20:33 +0000 (01:20 +0000)]
Add mod_macro to Windows build.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1436058 13f79535 -47bb-0310-9956-
ffa450edef68
Guenter Knauf [Sun, 20 Jan 2013 13:06:37 +0000 (13:06 +0000)]
Added mod_policy to NetWare build.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1435836 13f79535 -47bb-0310-9956-
ffa450edef68
Guenter Knauf [Sun, 20 Jan 2013 13:04:40 +0000 (13:04 +0000)]
Added mod_macro to NetWare build.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1435834 13f79535 -47bb-0310-9956-
ffa450edef68
Fabien Coelho [Sun, 20 Jan 2013 10:07:44 +0000 (10:07 +0000)]
Add "mod_macro" as a standard module, compiled in with "most".
This module was created in 1998 and has been distributed independently
ever since. It is hereby donated to the Apache Software Foundation.
There are quite a few comments in the source code to explain how it works,
as well as extensive non regression tests.
Some utilities about array processing could be moved to "core.c".
However, I finally decided against for now so that it stays as an external
and independent module, and thus may be backported with minimal impact
on the source tree.
Details of the addition:
* modules/core/mod_macro.c: module source code
* modules/core/test: non regression tests
modules/core/test/conf/: configuration files
modules/core/test/ref/: expected results
* docs/manual/mod/mod_macro.xml: English documentation
* docs/manual/mod/mod_macro.xml.fr: French documentation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1435811 13f79535 -47bb-0310-9956-
ffa450edef68
Rich Bowen [Fri, 18 Jan 2013 22:01:14 +0000 (22:01 +0000)]
Rebuild
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1435368 13f79535 -47bb-0310-9956-
ffa450edef68
Rich Bowen [Fri, 18 Jan 2013 21:59:02 +0000 (21:59 +0000)]
ErrorLogFormat has different defaults on different MPMs
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1435366 13f79535 -47bb-0310-9956-
ffa450edef68
Daniel Gruno [Fri, 18 Jan 2013 20:23:34 +0000 (20:23 +0000)]
xforms
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1435331 13f79535 -47bb-0310-9956-
ffa450edef68
Daniel Gruno [Fri, 18 Jan 2013 20:22:02 +0000 (20:22 +0000)]
fix "missing" example
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1435327 13f79535 -47bb-0310-9956-
ffa450edef68
Rainer Jung [Fri, 18 Jan 2013 15:09:58 +0000 (15:09 +0000)]
mod_proxy_ajp: Support unknown HTTP methods.
BZ 54416
Forward unknown methods as request attributes
using method id SC_M_JK_STORED=0xFF and
request attribute id SC_A_STORED_METHOD=13.
Code ported from mod_jk (which got it from mod_jk2).
Supported by Tomcat at least since TC 4.1.
Doesn't seem to be supported by Jetty though.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1435178 13f79535 -47bb-0310-9956-
ffa450edef68
Lucien Gentis [Fri, 18 Jan 2013 13:50:58 +0000 (13:50 +0000)]
Updates.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1435133 13f79535 -47bb-0310-9956-
ffa450edef68
Daniel Gruno [Wed, 16 Jan 2013 18:57:32 +0000 (18:57 +0000)]
xforms
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1434110 13f79535 -47bb-0310-9956-
ffa450edef68
Daniel Gruno [Wed, 16 Jan 2013 18:54:45 +0000 (18:54 +0000)]
fix one more link
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1434108 13f79535 -47bb-0310-9956-
ffa450edef68
Daniel Gruno [Wed, 16 Jan 2013 18:50:58 +0000 (18:50 +0000)]
fix links
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1434105 13f79535 -47bb-0310-9956-
ffa450edef68
Daniel Gruno [Wed, 16 Jan 2013 18:00:04 +0000 (18:00 +0000)]
If r:regex does not match, only return 'false', don't try to create error messages, because there should not be any - it's either match or no match here at this point.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1434065 13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Wed, 16 Jan 2013 15:37:16 +0000 (15:37 +0000)]
* A limit of zero means unlimited for LimitRequestBody.
PR: 54435
Submitted by: Pavel Mateja <pavel netsafe.cz>
Reviewed by: rpluem
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1433988 13f79535 -47bb-0310-9956-
ffa450edef68
Daniel Gruno [Wed, 16 Jan 2013 14:52:52 +0000 (14:52 +0000)]
Using the traditional way of declaring Lua functions does not seem to work with NetWare (and possibly Windows too?)
Thus, at least until we find a smarter way, we have to move the r:* functions into lua_request.c and connect them from there.
The only functional change is that the transferred functions are now called through the request object instead of the apache2 package.
The distinction between what merited it to be in either structure seems very vague, so for now, we'll keep the HTTP return codes in the apache2 table, and the request/server functions in the request object.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1433967 13f79535 -47bb-0310-9956-
ffa450edef68
Justin Erenkrantz [Wed, 16 Jan 2013 09:03:17 +0000 (09:03 +0000)]
Make documentation reflect reality of what the code does - in that LoadModule
and LoadFile can be declared inside a vhost configuration.
minfrin vetoed restricting LoadModule to server context as we do in 1.3.
See Message-ID: <
DE0E3427 -46F0-4AF4-94E8-
5297EDF9A58D @sharp.fm>
* docs/manual/mod/mod_so.xml: Denote virtual host context.
* docs/manual/mod/mod_so.html.en, docs/manual/quickreference.html.en: Update
transformations.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1433861 13f79535 -47bb-0310-9956-
ffa450edef68
Rich Bowen [Wed, 16 Jan 2013 01:49:17 +0000 (01:49 +0000)]
Rebuild/test
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1433794 13f79535 -47bb-0310-9956-
ffa450edef68
Rich Bowen [Wed, 16 Jan 2013 01:47:21 +0000 (01:47 +0000)]
Typo
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1433792 13f79535 -47bb-0310-9956-
ffa450edef68
Rich Bowen [Wed, 16 Jan 2013 01:43:26 +0000 (01:43 +0000)]
Adds examples to the various <!--#config attributes.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1433789 13f79535 -47bb-0310-9956-
ffa450edef68
Rich Bowen [Wed, 16 Jan 2013 01:12:16 +0000 (01:12 +0000)]
The word 'Basic' is not meaningful here. These are all of the available
elements.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1433785 13f79535 -47bb-0310-9956-
ffa450edef68
Rich Bowen [Wed, 16 Jan 2013 01:09:21 +0000 (01:09 +0000)]
Rebuild
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1433784 13f79535 -47bb-0310-9956-
ffa450edef68
Rich Bowen [Wed, 16 Jan 2013 00:59:35 +0000 (00:59 +0000)]
Replaces the term 'element' with the term 'function' so that it's
clearer what we're talking about. (I'm aware that `element` is an SGML
term, but I think that the goal here is communication, rather than
necessarily using the right jargon.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1433780 13f79535 -47bb-0310-9956-
ffa450edef68
Rich Bowen [Wed, 16 Jan 2013 00:43:31 +0000 (00:43 +0000)]
Rebuild SSI change.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1433775 13f79535 -47bb-0310-9956-
ffa450edef68
Rich Bowen [Wed, 16 Jan 2013 00:41:41 +0000 (00:41 +0000)]
Oh, look, we overlooked another instance of 'Apache' where it should be
'Apache httpd'
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1433773 13f79535 -47bb-0310-9956-
ffa450edef68
Rich Bowen [Wed, 16 Jan 2013 00:37:06 +0000 (00:37 +0000)]
rebuild
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1433770 13f79535 -47bb-0310-9956-
ffa450edef68
Rich Bowen [Wed, 16 Jan 2013 00:33:44 +0000 (00:33 +0000)]
Provide an example in the introduction in order to motivate the lengthy
setup process.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1433768 13f79535 -47bb-0310-9956-
ffa450edef68
Christophe Jaillet [Tue, 15 Jan 2013 21:53:07 +0000 (21:53 +0000)]
Log a warning if ThreadStackSize has an inappropriate value.
PR : 54311
Submitted by: Tianyin Xu <tixu cs ucsd edu>
Only event.c has been compiled on my system. The 2 others are just cut and paste.
I have left the same value for APLOGNO in event and eventopt has for the other logged messages. I don't know if it is the right way to do.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1433682 13f79535 -47bb-0310-9956-
ffa450edef68
Christophe Jaillet [Tue, 15 Jan 2013 20:20:14 +0000 (20:20 +0000)]
Improve error message
PR 54384
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1433613 13f79535 -47bb-0310-9956-
ffa450edef68
Daniel Ruggeri [Tue, 15 Jan 2013 16:00:44 +0000 (16:00 +0000)]
Add helper function to execute command w args and get one line of output. Allow AuthLDAPBindPassword to have exec: argument like SSLPassPhraseDialog
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1433478 13f79535 -47bb-0310-9956-
ffa450edef68
Daniel Gruno [Tue, 15 Jan 2013 10:43:44 +0000 (10:43 +0000)]
fix mysql connection string in example
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1433346 13f79535 -47bb-0310-9956-
ffa450edef68
Rainer Jung [Mon, 14 Jan 2013 17:38:34 +0000 (17:38 +0000)]
Fix htcacheclean list options "-a" and "-A".
No filetype without APR_FINFO_TYPE.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1433001 13f79535 -47bb-0310-9956-
ffa450edef68
Daniel Gruno [Mon, 14 Jan 2013 12:04:38 +0000 (12:04 +0000)]
The pool and db object to be used should be created before trying to acquire a driver handle.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1432892 13f79535 -47bb-0310-9956-
ffa450edef68
Daniel Gruno [Mon, 14 Jan 2013 11:42:28 +0000 (11:42 +0000)]
revert r1432881 - t'wasn't a bug after all.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1432886 13f79535 -47bb-0310-9956-
ffa450edef68
Daniel Gruno [Mon, 14 Jan 2013 11:37:09 +0000 (11:37 +0000)]
mod_lua/dbd: Only 2 arguments are passed, so let's tell Lua to only return 2, not 3.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1432881 13f79535 -47bb-0310-9956-
ffa450edef68
Lucien Gentis [Sat, 12 Jan 2013 17:41:33 +0000 (17:41 +0000)]
Updates.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1432479 13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Sat, 12 Jan 2013 15:05:51 +0000 (15:05 +0000)]
add default
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1432444 13f79535 -47bb-0310-9956-
ffa450edef68
Daniel Gruno [Sat, 12 Jan 2013 13:25:40 +0000 (13:25 +0000)]
Shamelessly add some people to the contributors list (I hope they're okay with that)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1432422 13f79535 -47bb-0310-9956-
ffa450edef68
Daniel Gruno [Sat, 12 Jan 2013 13:24:15 +0000 (13:24 +0000)]
This stuff is now in trunk.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1432421 13f79535 -47bb-0310-9956-
ffa450edef68
Daniel Gruno [Sat, 12 Jan 2013 12:58:31 +0000 (12:58 +0000)]
Debian doesn't like pushing statically defined functions into tables, so we'll declare them in lua_dbd.h and just make them regular functions instead.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1432418 13f79535 -47bb-0310-9956-
ffa450edef68
Graham Leggett [Fri, 11 Jan 2013 22:53:50 +0000 (22:53 +0000)]
mod_ssl: Allow the SSLUserName to be used to control the username passed
by the FakeBasicAuth option. PR52616.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1432322 13f79535 -47bb-0310-9956-
ffa450edef68
Graham Leggett [Fri, 11 Jan 2013 20:23:59 +0000 (20:23 +0000)]
Fix a typo.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1432265 13f79535 -47bb-0310-9956-
ffa450edef68
Daniel Gruno [Fri, 11 Jan 2013 08:13:28 +0000 (08:13 +0000)]
Since functions are now pushed solely in lua_dbd.c, there's no need to declare them in lua_dbd.h
Hopefully, this solves the Windows compiler issues.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1431930 13f79535 -47bb-0310-9956-
ffa450edef68
Gregg Lewis Smith [Thu, 10 Jan 2013 21:53:50 +0000 (21:53 +0000)]
inform compiler where mod_dbd.h is located
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1431681 13f79535 -47bb-0310-9956-
ffa450edef68
Guenter Knauf [Thu, 10 Jan 2013 12:41:13 +0000 (12:41 +0000)]
Added include path for mod_dbd.h.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1431322 13f79535 -47bb-0310-9956-
ffa450edef68
Daniel Gruno [Thu, 10 Jan 2013 09:47:30 +0000 (09:47 +0000)]
CodeWarrior workaround for lua_dbd
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1431236 13f79535 -47bb-0310-9956-
ffa450edef68
Jim Jagielski [Wed, 9 Jan 2013 14:14:42 +0000 (14:14 +0000)]
Fix mistaken reset of num_free with restored shm
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1430869 13f79535 -47bb-0310-9956-
ffa450edef68
Jim Jagielski [Wed, 9 Jan 2013 12:26:34 +0000 (12:26 +0000)]
these are in 2.4.x
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1430821 13f79535 -47bb-0310-9956-
ffa450edef68
Rainer Jung [Wed, 9 Jan 2013 12:11:33 +0000 (12:11 +0000)]
xforms.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1430815 13f79535 -47bb-0310-9956-
ffa450edef68
Rainer Jung [Wed, 9 Jan 2013 12:10:52 +0000 (12:10 +0000)]
Remove reference to RequireNone, which is no longer
used in the example since r1341749.
Add some hopefully interesting other explanation
instead.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1430814 13f79535 -47bb-0310-9956-
ffa450edef68
Rich Bowen [Wed, 9 Jan 2013 03:16:14 +0000 (03:16 +0000)]
Nothing to see here. (Fixes annoying indentation in doc example.)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1430669 13f79535 -47bb-0310-9956-
ffa450edef68
Rich Bowen [Wed, 9 Jan 2013 02:09:48 +0000 (02:09 +0000)]
Rebuild - includes the update to the copyright date.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1430659 13f79535 -47bb-0310-9956-
ffa450edef68
Rich Bowen [Wed, 9 Jan 2013 01:56:35 +0000 (01:56 +0000)]
Fix xml validation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1430656 13f79535 -47bb-0310-9956-
ffa450edef68
Rich Bowen [Wed, 9 Jan 2013 01:52:50 +0000 (01:52 +0000)]
Adds a seealso for the logging doc.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1430655 13f79535 -47bb-0310-9956-
ffa450edef68
Jim Jagielski [Tue, 8 Jan 2013 22:24:10 +0000 (22:24 +0000)]
Naming
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1430575 13f79535 -47bb-0310-9956-
ffa450edef68
Daniel Gruno [Tue, 8 Jan 2013 19:55:34 +0000 (19:55 +0000)]
Rephrasing a bit of the database docs for mod_lua
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1430472 13f79535 -47bb-0310-9956-
ffa450edef68
Daniel Gruno [Tue, 8 Jan 2013 13:41:32 +0000 (13:41 +0000)]
Add lua_dbd features to CHANGES
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1430279 13f79535 -47bb-0310-9956-
ffa450edef68
Daniel Gruno [Tue, 8 Jan 2013 13:05:53 +0000 (13:05 +0000)]
Fix typo in comment, as per bugzilla #54388
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1430265 13f79535 -47bb-0310-9956-
ffa450edef68
Daniel Gruno [Tue, 8 Jan 2013 11:42:50 +0000 (11:42 +0000)]
Add database features for mod_lua (apr_dbd + mod_dbd).
See documentation update for API and examples.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1430225 13f79535 -47bb-0310-9956-
ffa450edef68
Graham Leggett [Sun, 6 Jan 2013 23:17:33 +0000 (23:17 +0000)]
rpm spec: Ensure we are prioritised above mod_ssl on Redhat derivatives.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1429610 13f79535 -47bb-0310-9956-
ffa450edef68
Christophe Jaillet [Sun, 6 Jan 2013 19:48:40 +0000 (19:48 +0000)]
According to my testing, one special case of 'log_xlate_error', i.e. EES_INCOMPLETE_CHAR,
is 13x (!!!) faster with the use 'ap_bin2hex' instead of apr_snprintf(..., "%02X" + srlen for each character.
Output is *not* exactly the same. It was uppercase, now it is lowercase.
It is just for logging, so I don't think it is an issue.
Should it be, a call to ap_strtoupper can be added.
So sad it is just for logging in case of error... no real speedup to be expected in real life .
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1429582 13f79535 -47bb-0310-9956-
ffa450edef68
Christophe Jaillet [Sun, 6 Jan 2013 18:08:46 +0000 (18:08 +0000)]
Use ap_bin2hex instead of sprintf(..., "%02x". It gives the same output and is faster.
No real speedup should be achieved on production machine, because this is done
only for characters that need to be escaped.
However, this will close PR 50919.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1429564 13f79535 -47bb-0310-9956-
ffa450edef68
Christophe Jaillet [Sun, 6 Jan 2013 17:52:43 +0000 (17:52 +0000)]
According top my testing 'socache_mc_id2key' is 6x faster with the use 'ap_bin2hex' instead of
apr_snprintf(..., "%02X" for each character.
Output is *not* exactly the same. It was uppercase, now it is lowercase.
According to my understanding, this is not an issue.
Should it be, a call to ap_str_toupper should be added.
The speedup would be less, but still significant.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1429561 13f79535 -47bb-0310-9956-
ffa450edef68
Vincent Deffontaines [Sun, 6 Jan 2013 17:52:43 +0000 (17:52 +0000)]
Security notes about SQL injection.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1429560 13f79535 -47bb-0310-9956-
ffa450edef68
Christophe Jaillet [Sun, 6 Jan 2013 17:40:13 +0000 (17:40 +0000)]
According top my testing 'SSL_SESSION_id2sz' is 4x faster with the use 'ap_bin2hex' instead of
apr_snprintf(..., "%02X" for each character.
Output is the same.
I have left the uppercase conversion, because I'm unsure if it is usefull or not.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1429559 13f79535 -47bb-0310-9956-
ffa450edef68
Lucien Gentis [Sun, 6 Jan 2013 15:58:38 +0000 (15:58 +0000)]
Updates.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1429545 13f79535 -47bb-0310-9956-
ffa450edef68
Rainer Jung [Sat, 5 Jan 2013 18:15:07 +0000 (18:15 +0000)]
Happy new year.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1429349 13f79535 -47bb-0310-9956-
ffa450edef68
Lucien Gentis [Sat, 5 Jan 2013 17:09:23 +0000 (17:09 +0000)]
Update.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1429329 13f79535 -47bb-0310-9956-
ffa450edef68
Kaspar Brand [Sat, 5 Jan 2013 07:54:15 +0000 (07:54 +0000)]
mod_ssl/ab: only use "--static" for pkg-config when explicity requested
(by adding an "--enable-ssl-staticlib-deps" option to configure)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1429228 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Fritsch [Fri, 4 Jan 2013 23:48:15 +0000 (23:48 +0000)]
fix typo: || not |
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1429169 13f79535 -47bb-0310-9956-
ffa450edef68
Lucien Gentis [Fri, 4 Jan 2013 16:56:55 +0000 (16:56 +0000)]
Updates.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1428976 13f79535 -47bb-0310-9956-
ffa450edef68
Jim Jagielski [Fri, 4 Jan 2013 15:10:21 +0000 (15:10 +0000)]
non-existance of byrequests is not an immediate error
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1428916 13f79535 -47bb-0310-9956-
ffa450edef68
Lucien Gentis [Thu, 3 Jan 2013 18:43:33 +0000 (18:43 +0000)]
Updates.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1428540 13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Thu, 3 Jan 2013 11:09:50 +0000 (11:09 +0000)]
* modules/proxy/mod_proxy_ftp.c (proxy_ftp_handler): Remove
unnecessary APLOGNO() for trace logging per dev@ discussion.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1428280 13f79535 -47bb-0310-9956-
ffa450edef68
Kaspar Brand [Thu, 3 Jan 2013 07:23:27 +0000 (07:23 +0000)]
Improve pkg-config usage for mod_ssl/ab:
also use pkg-config for determining the -l flags (and fall back
to a hardcoded default of "-lssl -lcrypto")
add --static to pkg-config invocations, so that libraries for
static linking are also taken into account (PR 54252 - note that
the additional flags will only appear in modules/ssl/modules.mk
and ab_LDFLAGS, so potential side effects are limited)
separate --libs-only-L and --libs-only-other into two invocations
(can't be used concurrently, only the first takes effect)
use --silence-errors where applicable
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1428184 13f79535 -47bb-0310-9956-
ffa450edef68
Guenter Knauf [Thu, 3 Jan 2013 02:25:23 +0000 (02:25 +0000)]
Stupid CodeWarrior compiler cant take vars with struct inits.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1428145 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Fritsch [Tue, 1 Jan 2013 20:16:30 +0000 (20:16 +0000)]
Add some caching for password hash validation.
Password hash functions must be expensive in order to be secure. But
if they have to be re-evaluated for every request, performance
suffers.
As a minimal remedy, cache the most recent result for every
connection. This gives a great performance boost if a web browser
does many requests on the same connection with the same
user+password. In principle, this may keep the plain text password
around longer than before. But in practice, there won't be much
difference since user+password can already remain in some unused
data bucket for longer than the request duration.
A proper solution still needs to be found for connections from
proxies which may carry requests for many different users.
While it currently only requires the conn_rec, the new
ap_password_validate() function takes username and request_rec to
allow future extensions, like detection of brute-force attempts.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1427548 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Fritsch [Tue, 1 Jan 2013 19:50:56 +0000 (19:50 +0000)]
remove unneeded include statements
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1427546 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Fritsch [Tue, 1 Jan 2013 17:00:23 +0000 (17:00 +0000)]
Remove support for Request-Range header sent by Navigator 2-3 and
MSIE 3
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1427465 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Fritsch [Tue, 1 Jan 2013 16:23:28 +0000 (16:23 +0000)]
abort if BIO_new fails due to lack of memory
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1427456 13f79535 -47bb-0310-9956-
ffa450edef68
Vincent Deffontaines [Tue, 1 Jan 2013 11:57:08 +0000 (11:57 +0000)]
Adding security related information
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1427395 13f79535 -47bb-0310-9956-
ffa450edef68
Gregg Lewis Smith [Mon, 31 Dec 2012 17:47:46 +0000 (17:47 +0000)]
say what I meant to say
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1427201 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Fritsch [Sun, 30 Dec 2012 21:24:55 +0000 (21:24 +0000)]
change protocol number parsing in strict mode according to HTTPbis draft
- only accept single digit version components
- don't accept white-space after protocol specification
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1426992 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Fritsch [Sun, 30 Dec 2012 20:58:39 +0000 (20:58 +0000)]
remove comment; empty host headers can happen in proxy requests
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1426988 13f79535 -47bb-0310-9956-
ffa450edef68
Rainer Jung [Sun, 30 Dec 2012 19:00:44 +0000 (19:00 +0000)]
Widen strip pattern to also match MOD_XML2ENC_LDADD.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1426975 13f79535 -47bb-0310-9956-
ffa450edef68
Gregg Lewis Smith [Sun, 30 Dec 2012 17:59:22 +0000 (17:59 +0000)]
What happened to serf in the IDE builds? For consistency sake
with the other optional dependencies, get serf in there too.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1426969 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Fritsch [Sun, 30 Dec 2012 01:28:17 +0000 (01:28 +0000)]
add log tags missing in r1426877
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1426879 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Fritsch [Sun, 30 Dec 2012 01:23:24 +0000 (01:23 +0000)]
Add an option to enforce stricter HTTP conformance
This is a first stab, the checks will likely have to be revised.
For now, we check
* if the request line contains control characters
* if the request uri has fragment or username/password
* that the request method is standard or registered with RegisterHttpMethod
* that the request protocol is of the form HTTP/[1-9]+.[0-9]+,
or missing for 0.9
* if there is garbage in the request line after the protocol
* if any request header contains control characters
* if any request header has an empty name
* for the host name in the URL or Host header:
- if an IPv4 dotted decimal address: Reject octal or hex values, require
exactly four parts
- if a DNS host name: Reject non-alphanumeric characters besides '.' and
'-'. As a side effect, this rejects multiple Host headers.
* if any response header contains control characters
* if any response header has an empty name
* that the Location response header (if present) has a valid scheme and is
absolute
If we have a host name both from the URL and the Host header, we replace the
Host header with the value from the URL to enforce RFC conformance.
There is a log-only mode, but the loglevels of the logged messages need some
thought/work. Currently, the checks for incoming data log for 'core' and the
checks for outgoing data log for 'http'. Maybe we need a way to configure the
loglevels separately from the core/http loglevels.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1426877 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Fritsch [Sat, 29 Dec 2012 22:22:13 +0000 (22:22 +0000)]
Fix warning about discarding 'const' qualifier from pointer
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1426850 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Fritsch [Sat, 29 Dec 2012 20:39:49 +0000 (20:39 +0000)]
Correctly parse an IPv6 literal host specification in an absolute URL
in the request line.
- Fix handling of brackets [ ] surrounding the IPv6 address.
- Skip parsing r->hostname again if not necessary.
- Do some checks that the IPv6 address is sane. This is not done by
apr_parse_addr_port().
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1426827 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Fritsch [Sat, 29 Dec 2012 18:37:17 +0000 (18:37 +0000)]
extend description of r->hostname
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1426802 13f79535 -47bb-0310-9956-
ffa450edef68
Rich Bowen [Fri, 28 Dec 2012 18:10:38 +0000 (18:10 +0000)]
Rebuild various transformations.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1426602 13f79535 -47bb-0310-9956-
ffa450edef68
Rich Bowen [Fri, 28 Dec 2012 18:07:57 +0000 (18:07 +0000)]
Add links to programs docs.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1426599 13f79535 -47bb-0310-9956-
ffa450edef68
Rich Bowen [Fri, 28 Dec 2012 18:03:47 +0000 (18:03 +0000)]
Add links to the relevant docs.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1426597 13f79535 -47bb-0310-9956-
ffa450edef68
Gregg Lewis Smith [Wed, 26 Dec 2012 17:32:31 +0000 (17:32 +0000)]
Add notes about compiling from Unix sources
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1425975 13f79535 -47bb-0310-9956-
ffa450edef68