]>
granicus.if.org Git - apache/log
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
Kaspar Brand [Wed, 26 Dec 2012 10:59:31 +0000 (10:59 +0000)]
transformations
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1425876 13f79535 -47bb-0310-9956-
ffa450edef68
Kaspar Brand [Wed, 26 Dec 2012 10:54:54 +0000 (10:54 +0000)]
mod_ssl: add support for subjectAltName-based host name checking in proxy mode
(PR 54030)
factor out code from ssl_engine_init.c:ssl_check_public_cert()
to ssl_util_ssl.c:SSL_X509_match_name()
introduce new SSLProxyCheckPeerName directive, which should eventually
obsolete SSLProxyCheckPeerCN
ssl_engine_io.c:ssl_io_filter_handshake(): avoid code duplication
when aborting with HTTP_BAD_GATEWAY
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1425874 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Fritsch [Tue, 25 Dec 2012 21:50:06 +0000 (21:50 +0000)]
Check that AsyncRequestWorkerFactor is not negative
PR :54254
Submitted by: Jackie Zhang <jackie qq zhang gmail com>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1425777 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Fritsch [Tue, 25 Dec 2012 21:16:17 +0000 (21:16 +0000)]
htdbm, htpasswd: print error message if out of memory
PR: 54345
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1425775 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Fritsch [Tue, 25 Dec 2012 20:54:47 +0000 (20:54 +0000)]
Exit with error message if out of mem
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1425772 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Fritsch [Tue, 25 Dec 2012 20:43:15 +0000 (20:43 +0000)]
Replace strdup by ap_malloc to ensure a proper error message if out-of-memory.
While there, only allocate memory for the string part we actually use.
PR: 54345
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1425771 13f79535 -47bb-0310-9956-
ffa450edef68
Daniel Gruno [Mon, 24 Dec 2012 11:05:07 +0000 (11:05 +0000)]
Fix example code
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1425630 13f79535 -47bb-0310-9956-
ffa450edef68
Lucien Gentis [Sun, 23 Dec 2012 17:31:58 +0000 (17:31 +0000)]
Update.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1425492 13f79535 -47bb-0310-9956-
ffa450edef68
Daniel Gruno [Sun, 23 Dec 2012 10:28:16 +0000 (10:28 +0000)]
Style tweaks, remove add_version_component and fix up some sloppy code. Many thanks to sfritsch for the pointers!
And a merry christmas everyone :)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1425450 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Fritsch [Sun, 23 Dec 2012 09:10:20 +0000 (09:10 +0000)]
GNU make somtimes has problems determining that $(builddir)/test_char.h
and test_char.h are actually the same files. Fix 'make depends' to only
generate the latter.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1425447 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Fritsch [Sun, 23 Dec 2012 08:55:45 +0000 (08:55 +0000)]
add some nonnull fn attributes
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1425444 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Fritsch [Sat, 22 Dec 2012 22:55:38 +0000 (22:55 +0000)]
Change HttpProtocol to again only allow to enable/disable 0.9
This reverts r1407643, but changes the syntax of HttpProtocol to
min=0.9|1.0, which is less ambiguous than the previous +0.9|-0.9.
Allowing to configure an arbitrary version range was a bad idea,
because it only checked the version in the request line, without
affecting the semantics of the headers, etc.
A tighter restriction off the version in the request line is still
possible with <If "%{SERVER_PROTOCOL_NUM} ..."> .
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1425366 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Fritsch [Sat, 22 Dec 2012 22:29:06 +0000 (22:29 +0000)]
style fixes, add comment
no code change
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1425360 13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Sat, 22 Dec 2012 21:16:09 +0000 (21:16 +0000)]
caution about merging Location settings on top of directory/files authz config
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1425345 13f79535 -47bb-0310-9956-
ffa450edef68
Guenter Knauf [Sat, 22 Dec 2012 19:57:40 +0000 (19:57 +0000)]
Removed now obsolete function skip from NetWare
export list generating script.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1425338 13f79535 -47bb-0310-9956-
ffa450edef68
Daniel Gruno [Sat, 22 Dec 2012 05:25:50 +0000 (05:25 +0000)]
Style tweaks, no functional change.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1425243 13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Fri, 21 Dec 2012 16:54:21 +0000 (16:54 +0000)]
xform
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1425030 13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Fri, 21 Dec 2012 16:53:46 +0000 (16:53 +0000)]
hint about API and module usage.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1425029 13f79535 -47bb-0310-9956-
ffa450edef68
Daniel Gruno [Fri, 21 Dec 2012 14:53:55 +0000 (14:53 +0000)]
- return NULL if apr_reslist_acquire fails, so we don't end up possibly referencing a null-object
- initialize cache_info as NULL
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1424939 13f79535 -47bb-0310-9956-
ffa450edef68
Daniel Gruno [Fri, 21 Dec 2012 14:49:06 +0000 (14:49 +0000)]
Remove reference to top secret project! You did not see this commit message ;)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1424938 13f79535 -47bb-0310-9956-
ffa450edef68
Daniel Gruno [Thu, 20 Dec 2012 21:52:03 +0000 (21:52 +0000)]
mod_lua: Fix multipart post parsing, so it doesn't include random bytes at the end.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1424723 13f79535 -47bb-0310-9956-
ffa450edef68
Guenter Knauf [Wed, 19 Dec 2012 16:44:18 +0000 (16:44 +0000)]
On NetWare skip these unsupported function prototypes.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1423933 13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Tue, 18 Dec 2012 09:01:02 +0000 (09:01 +0000)]
* modules/proxy/mod_proxy_ftp.c: Fill in APLOGNO.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1423353 13f79535 -47bb-0310-9956-
ffa450edef68
Guenter Knauf [Mon, 17 Dec 2012 21:44:32 +0000 (21:44 +0000)]
Added a warning that these scripts leak information.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1423166 13f79535 -47bb-0310-9956-
ffa450edef68
Daniel Gruno [Mon, 17 Dec 2012 18:26:48 +0000 (18:26 +0000)]
xforms
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1423083 13f79535 -47bb-0310-9956-
ffa450edef68
Daniel Gruno [Mon, 17 Dec 2012 18:24:11 +0000 (18:24 +0000)]
Some minor tweaks to the wording of the windows page.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1423080 13f79535 -47bb-0310-9956-
ffa450edef68
Daniel Gruno [Mon, 17 Dec 2012 17:29:18 +0000 (17:29 +0000)]
xforms
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1423035 13f79535 -47bb-0310-9956-
ffa450edef68
Daniel Gruno [Mon, 17 Dec 2012 17:28:52 +0000 (17:28 +0000)]
The ASF does not provide official binary packages for 2.4/2.5, so let's not pretend we do.
We can always revert this if/when someone steps up and provides convenience packages again.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1423033 13f79535 -47bb-0310-9956-
ffa450edef68
Jim Jagielski [Mon, 17 Dec 2012 17:04:11 +0000 (17:04 +0000)]
update xforms
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1423020 13f79535 -47bb-0310-9956-
ffa450edef68
Jim Jagielski [Mon, 17 Dec 2012 15:24:40 +0000 (15:24 +0000)]
Redfine - we are just worried about balancers and workers, so have the directive clear about that.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1422980 13f79535 -47bb-0310-9956-
ffa450edef68
Jim Jagielski [Mon, 17 Dec 2012 14:25:46 +0000 (14:25 +0000)]
restrict inherit control to those fields that "require" it...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1422943 13f79535 -47bb-0310-9956-
ffa450edef68
Christophe Jaillet [Mon, 17 Dec 2012 14:10:50 +0000 (14:10 +0000)]
ab: add the possibility to define a socket timeout (-s timeout)
[Guido Serra <zeph fsfe org>]
Also some changes In usage():
- reword -t option to be more clear with the new -s
- add missing -q
- add the new -s option
- reword some options to better match online documentation
ab.xml claimed that -s was already there, but nothing in the code looks like that.
So, I guess it only landed on the online doc...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1422937 13f79535 -47bb-0310-9956-
ffa450edef68
Guenter Knauf [Mon, 17 Dec 2012 11:50:30 +0000 (11:50 +0000)]
Follow-up to r1422855 for NetWare and Windows.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1422879 13f79535 -47bb-0310-9956-
ffa450edef68
Jim Jagielski [Mon, 17 Dec 2012 11:50:03 +0000 (11:50 +0000)]
backported
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1422878 13f79535 -47bb-0310-9956-
ffa450edef68
Guenter Knauf [Mon, 17 Dec 2012 11:48:28 +0000 (11:48 +0000)]
Added missing exports for NetWare.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1422874 13f79535 -47bb-0310-9956-
ffa450edef68
Jim Jagielski [Mon, 17 Dec 2012 11:47:20 +0000 (11:47 +0000)]
backported
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1422872 13f79535 -47bb-0310-9956-
ffa450edef68
Graham Leggett [Mon, 17 Dec 2012 11:26:20 +0000 (11:26 +0000)]
Install cache_common.h as required by mod_cache.h. Allows external modules
to use mod_cache.
Submitted by Niklas Edmundsson.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1422855 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Fritsch [Sun, 16 Dec 2012 23:16:55 +0000 (23:16 +0000)]
remove unnecessary cast
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1422712 13f79535 -47bb-0310-9956-
ffa450edef68
Rainer Jung [Sun, 16 Dec 2012 15:14:01 +0000 (15:14 +0000)]
Xforms.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1422597 13f79535 -47bb-0310-9956-
ffa450edef68
Rainer Jung [Sun, 16 Dec 2012 15:12:57 +0000 (15:12 +0000)]
Backported.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1422595 13f79535 -47bb-0310-9956-
ffa450edef68
Rainer Jung [Sun, 16 Dec 2012 15:10:45 +0000 (15:10 +0000)]
Add a version compatibility section to the
expression parser docs page.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1422594 13f79535 -47bb-0310-9956-
ffa450edef68
Lucien Gentis [Sun, 16 Dec 2012 15:01:44 +0000 (15:01 +0000)]
Updates.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1422589 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Fritsch [Sun, 16 Dec 2012 11:51:56 +0000 (11:51 +0000)]
use ap_bin2hex() to simplify md5/sha1 code
also fixes some 'array subscript is above array bounds' warnings
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1422552 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Fritsch [Sun, 16 Dec 2012 11:49:14 +0000 (11:49 +0000)]
add new ap_bin2hex() utility function
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1422549 13f79535 -47bb-0310-9956-
ffa450edef68