1
0
mirror of https://github.com/apache/httpd.git synced 2026-01-06 09:01:14 +03:00
Commit Graph

22617 Commits

Author SHA1 Message Date
Graham Leggett
e46cdfc8a6 Fix warning: variable 'rv' set but not used.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1220826 13f79535-47bb-0310-9956-ffa450edef68
2011-12-19 16:20:26 +00:00
Graham Leggett
275ef9c64b Fix warning: 'nlen' may be used uninitialized in this function.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1220822 13f79535-47bb-0310-9956-ffa450edef68
2011-12-19 16:10:22 +00:00
Graham Leggett
833f9092cc RPM: Remove fiddling with installbuilddir, this is correct by default
through the use of config.layout.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1220794 13f79535-47bb-0310-9956-ffa450edef68
2011-12-19 15:26:06 +00:00
Graham Leggett
74a2aac090 Update transformations.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1220772 13f79535-47bb-0310-9956-ffa450edef68
2011-12-19 14:35:23 +00:00
Graham Leggett
bcedbc986a Clarify which tarballs we are talking about.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1220768 13f79535-47bb-0310-9956-ffa450edef68
2011-12-19 14:32:20 +00:00
Graham Leggett
38f71bb256 Update transformations.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1220571 13f79535-47bb-0310-9956-ffa450edef68
2011-12-19 00:37:19 +00:00
Graham Leggett
ee2414342e Add further explanation on RPM packaging.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1220570 13f79535-47bb-0310-9956-ffa450edef68
2011-12-19 00:36:39 +00:00
Graham Leggett
fd7fd59e02 Update transformations.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1220525 13f79535-47bb-0310-9956-ffa450edef68
2011-12-18 20:15:42 +00:00
Graham Leggett
a5b1971b8e Document the RPM platform.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1220524 13f79535-47bb-0310-9956-ffa450edef68
2011-12-18 20:14:28 +00:00
Stefan Fritsch
76f782e188 Various code cleanup to avoid compiler, cppcheck, or clang warnings:
modules/debugging/mod_firehose.c: Make some internal functions static
                                  (to do: logs_cleanup() is unused)

modules/filters/mod_charset_lite.c: Remove dead assignments

modules/filters/mod_include.c: likewise

modules/metadata/mod_usertrack.c: likewise

modules/proxy/mod_proxy_ftp.c: likewise

modules/ssl/ssl_engine_pphrase.c: likewise

modules/proxy/mod_proxy_balancer.c: likewise;
                                    Remove NULL check that can never happen

modules/proxy/proxy_util.c: Axe NULL-check that can never happen and if it
                            would, it would just mask another bug

os/unix/unixd.c: likewise

modules/http/http_filters.c: Remove sub-condition that is always true

modules/lua/mod_lua.c: Add default cases to switch statements

modules/generators/mod_autoindex.c: Unsigned value can never be < 0

server/util_expr_eval.c: Fix compiler warnings with VC and on OS2



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1220493 13f79535-47bb-0310-9956-ffa450edef68
2011-12-18 17:52:59 +00:00
Stefan Fritsch
42c9e0b393 Avoid segfault if url->hostname is NULL and filter->hostname is "*" or ".".
Found by clang.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1220467 13f79535-47bb-0310-9956-ffa450edef68
2011-12-18 17:38:24 +00:00
Stefan Fritsch
b9dacea0ea remove some dead code
found by clang statical analyzer


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1220462 13f79535-47bb-0310-9956-ffa450edef68
2011-12-18 17:25:40 +00:00
Graham Leggett
5923de8ef1 mod_firehose: Ensure directives are defined global only.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1220460 13f79535-47bb-0310-9956-ffa450edef68
2011-12-18 17:21:36 +00:00
Graham Leggett
0baba28abe Update transformations.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1220457 13f79535-47bb-0310-9956-ffa450edef68
2011-12-18 17:10:42 +00:00
Graham Leggett
0e223841a8 mod_firehose: Support portable non blocking support, and make non blocking
support optional.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1220456 13f79535-47bb-0310-9956-ffa450edef68
2011-12-18 17:05:43 +00:00
Graham Leggett
8ef69a4da9 Remove unused variable.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1215538 13f79535-47bb-0310-9956-ffa450edef68
2011-12-17 17:57:27 +00:00
Graham Leggett
a4a2e8d15d Fix the test for APR_HAVE_SYS_SYSLIMITS_H.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1215537 13f79535-47bb-0310-9956-ffa450edef68
2011-12-17 17:55:32 +00:00
Graham Leggett
f7048947c2 RPM: add firehose and mod_firehose to the RPM.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1215533 13f79535-47bb-0310-9956-ffa450edef68
2011-12-17 17:27:19 +00:00
Graham Leggett
1d0b69f8ab Update transformations.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1215530 13f79535-47bb-0310-9956-ffa450edef68
2011-12-17 17:11:42 +00:00
Graham Leggett
d7d34da947 Add a seealso section to link mod_firehose to the firehose tool.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1215529 13f79535-47bb-0310-9956-ffa450edef68
2011-12-17 17:11:17 +00:00
Graham Leggett
9ad07e7518 Update transformations.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1215526 13f79535-47bb-0310-9956-ffa450edef68
2011-12-17 17:06:08 +00:00
Graham Leggett
9ad824e793 mod_firehose: Add a new debugging module able to record traffic
passing through the server in such a way that connections and/or
requests be reconstructed and replayed.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1215525 13f79535-47bb-0310-9956-ffa450edef68
2011-12-17 17:03:59 +00:00
Lucien Gentis
0a91425696 Update.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1215514 13f79535-47bb-0310-9956-ffa450edef68
2011-12-17 15:33:23 +00:00
Jim Jagielski
9675b7484f Allow for changing of string more easily...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1214296 13f79535-47bb-0310-9956-ffa450edef68
2011-12-14 15:29:19 +00:00
Nilgun Belma Buguner
2a321cde3e update transformations.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1214099 13f79535-47bb-0310-9956-ffa450edef68
2011-12-14 08:14:29 +00:00
Nilgun Belma Buguner
7afff975d4 New Turkish translation
Translated by: Nilgün Belma Bugüner <nilgun belgeler.org>
Reviewed by:  Orhan berent <berent belgeler.org>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1214088 13f79535-47bb-0310-9956-ffa450edef68
2011-12-14 08:04:31 +00:00
Nilgun Belma Buguner
e6fff50c23 update for sync with English doc.
Translated by: Nilgün Belma Bugüner <nilgun belgeler.org>
Reviewed by:  Orhan Berent <berent belgeler.org>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1214087 13f79535-47bb-0310-9956-ffa450edef68
2011-12-14 08:04:05 +00:00
Graham Leggett
075c44f008 Update transformations.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1214021 13f79535-47bb-0310-9956-ffa450edef68
2011-12-14 01:25:00 +00:00
Graham Leggett
cb21a0dbcc Further clarify the naming of the entity that directly connects to us by
calling that entity a client instead of a peer.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1214015 13f79535-47bb-0310-9956-ffa450edef68
2011-12-14 01:10:52 +00:00
Graham Leggett
8cea5c4275 Update transformations.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1214007 13f79535-47bb-0310-9956-ffa450edef68
2011-12-14 00:34:27 +00:00
Graham Leggett
ad489c105b Further clarify the naming of the entity that originates the request by
calling that entity a useragent instead of a client.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1214005 13f79535-47bb-0310-9956-ffa450edef68
2011-12-14 00:33:46 +00:00
Graham Leggett
2af2fa44ad Further clarify the naming of the entity that originates the request by
calling that entity a useragent instead of a client.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1214003 13f79535-47bb-0310-9956-ffa450edef68
2011-12-14 00:31:51 +00:00
Nilgun Belma Buguner
a4e7bcc4d4 update translation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1213961 13f79535-47bb-0310-9956-ffa450edef68
2011-12-13 22:12:14 +00:00
Stefan Fritsch
e6d1031885 Explicitly cast function pointer, to remove 'const'.
Hopefully this makes the NetWare compiler happy.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1213567 13f79535-47bb-0310-9956-ffa450edef68
2011-12-13 05:53:50 +00:00
Kaspar Brand
627e53503d logging adjustments:
- consistently call ssl_log_ssl_error after ap_log_error etc.
- ssl_init_ConfigureServer: add vhost_id to log message


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1213399 13f79535-47bb-0310-9956-ffa450edef68
2011-12-12 20:01:43 +00:00
Jeff Trawick
10baccbe56 zap an unhelpful, out of date comment from httpd 1.2
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1213391 13f79535-47bb-0310-9956-ffa450edef68
2011-12-12 19:47:19 +00:00
Jeff Trawick
47b58a49e0 definAtely
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1213381 13f79535-47bb-0310-9956-ffa450edef68
2011-12-12 19:21:37 +00:00
Kaspar Brand
8d37f73ce7 Streamline TLS session ticket key handling (added in r1200040):
- drop the SSLTicketKeyDefault directive, and only support a single
  ticket key per server/vhost
- rename the SSLTicketKeyFile directive to SSLSessionTicketKeyFile,
  remove the keyname parameter
- move ticket key parameters from SSLSrvConfigRec to modssl_ctx_t
- configure the tlsext_ticket_key_cb only when in server mode
- add documentation for SSLSessionTicketKeyFile


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1213380 13f79535-47bb-0310-9956-ffa450edef68
2011-12-12 19:21:35 +00:00
Stefan Fritsch
91ce790cd3 Limit length of lines in .htaccess to 8K again, to reduce DoS potential.
Make ap_varbuf_cfg_getline() strictly enforce the max_len parameter.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1213338 13f79535-47bb-0310-9956-ffa450edef68
2011-12-12 17:50:33 +00:00
Stefan Fritsch
e0a5a7882e Fix names of unary operators like '-s' being compared case insensitively.
Improve error message if op or function is not found. Document '-s' operator. 


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1212883 13f79535-47bb-0310-9956-ffa450edef68
2011-12-10 21:26:00 +00:00
Nick Kew
0aaf65934f Typos
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1212872 13f79535-47bb-0310-9956-ffa450edef68
2011-12-10 21:03:19 +00:00
Graham Leggett
c878a5ce0d RPM: Update the spec file to require at least apr-util v1.4.x.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1212402 13f79535-47bb-0310-9956-ffa450edef68
2011-12-09 13:27:07 +00:00
Rich Bowen
786ef4c02e Typo correction.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1211968 13f79535-47bb-0310-9956-ffa450edef68
2011-12-08 16:41:57 +00:00
Stefan Fritsch
53164d250f Various fixes for log message tags:
- Remove tags in ssl_log_ssl_error() and ssl_log_cert_error()
- Instead add tags to various ssl_log_xerror, ssl_log_cxerror
  calls (ssl_log_rxerror is unused).
- likewise for modssl_proxy_info_log()

- Fix spelling of APLOG_NOERRNO in coccinelle script
- add support for ssl_log_*error and ap_log_cserror

- add some more tags missing due to APLOG_NOERRNO spelling error

- Remove tags from example modules (we don't want people to blindly copy
  those)



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1211680 13f79535-47bb-0310-9956-ffa450edef68
2011-12-07 22:33:35 +00:00
Stefan Fritsch
0ecd2fe5e5 Remove usage of APLOG_NOERRNO. It has been a no-op since at least 2.0.x
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1211663 13f79535-47bb-0310-9956-ffa450edef68
2011-12-07 21:59:16 +00:00
Stefan Fritsch
408b6818e6 Remove unused variable
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1211637 13f79535-47bb-0310-9956-ffa450edef68
2011-12-07 21:13:57 +00:00
Graham Leggett
cdda948864 Add reference to the mod_socache modules in the mod_ssl docs.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1211528 13f79535-47bb-0310-9956-ffa450edef68
2011-12-07 16:47:32 +00:00
Joe Orton
3ca08c4dca * modules/: More doxy group fixes.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1211495 13f79535-47bb-0310-9956-ffa450edef68
2011-12-07 16:13:30 +00:00
Joe Orton
fd967eab44 * include/httpd.h, server/mpm/*/*.h: Tidy up doxygen tree view by moving
private interfaces into a separate group.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1211490 13f79535-47bb-0310-9956-ffa450edef68
2011-12-07 16:06:16 +00:00
Guenter Knauf
f3b2a3057e Removed some proxy imports from NetWare build.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1211380 13f79535-47bb-0310-9956-ffa450edef68
2011-12-07 10:39:23 +00:00