]> granicus.if.org Git - apache/log
apache
10 years agomore apr_file_write_full() simplification (like r1542413)
Jeff Trawick [Fri, 15 Nov 2013 22:03:16 +0000 (22:03 +0000)]
more apr_file_write_full() simplification (like r1542413)

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

10 years agoFollow-up to r1540161:
Jeff Trawick [Fri, 15 Nov 2013 21:52:58 +0000 (21:52 +0000)]
Follow-up to r1540161:

The last arg to apr_file_write_full() isn't needed
unless you need to know the number of bytes written before
an error occurred.

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

10 years agoPR: 54852. Only use a dummy_connection for idle processes
Jim Jagielski [Fri, 15 Nov 2013 19:29:11 +0000 (19:29 +0000)]
PR: 54852. Only use a dummy_connection for idle processes

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

10 years ago[Doc][trunk] Introducing french translation for misc/password_encryption
Vincent Deffontaines [Fri, 15 Nov 2013 18:30:46 +0000 (18:30 +0000)]
[Doc][trunk] Introducing french translation for misc/password_encryption

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

10 years ago[trunk][doc] Introducing the howto/index french translation
Vincent Deffontaines [Fri, 15 Nov 2013 18:14:55 +0000 (18:14 +0000)]
[trunk][doc] Introducing the howto/index french translation

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

10 years agoCGI is no longer the most common way to provide dynamic content, is it?
Vincent Deffontaines [Fri, 15 Nov 2013 18:02:29 +0000 (18:02 +0000)]
CGI is no longer the most common way to provide dynamic content, is it?

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

10 years agoFix potential rejection of valid MaxMemFree and ThreadStackSize
Jeff Trawick [Fri, 15 Nov 2013 17:35:16 +0000 (17:35 +0000)]
Fix potential rejection of valid MaxMemFree and ThreadStackSize
directives.

Submitted by: Mike Rumph <mike.rumph oracle.com>
Reviewed by: trawick

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

10 years agocmake build support for Windows is now in the 2.4.x branch; remove support for buildi...
Jeff Trawick [Thu, 14 Nov 2013 14:56:29 +0000 (14:56 +0000)]
cmake build support for Windows is now in the 2.4.x branch; remove support for building that branch

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

10 years agoUse a distinguishing APLOGNO for unk t-e with read-until-close behavior
William A. Rowe Jr [Wed, 13 Nov 2013 02:55:06 +0000 (02:55 +0000)]
Use a distinguishing APLOGNO for unk t-e with read-until-close behavior

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

10 years ago80 rule
Jim Jagielski [Tue, 12 Nov 2013 22:48:33 +0000 (22:48 +0000)]
80 rule

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

10 years agoWrap at 80 still, here at httpd project
William A. Rowe Jr [Tue, 12 Nov 2013 22:14:54 +0000 (22:14 +0000)]
Wrap at 80 still, here at httpd project

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

10 years agoAt least one authorizer that doesn't use libfcgi directly
Jeff Trawick [Tue, 12 Nov 2013 18:11:31 +0000 (18:11 +0000)]
At least one authorizer that doesn't use libfcgi directly
or indirectly does not like getting an empty FCGI_STDIN
block.  Don't send it.  (Other mods for httpd didn't send
it to authorizers either.)

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

10 years agoAdd parse_errorlog_arg callback to ap_errorlog_provider to allow providers
Jan Kaluža [Tue, 12 Nov 2013 12:14:50 +0000 (12:14 +0000)]
Add parse_errorlog_arg callback to ap_errorlog_provider to allow providers
to check the ErrorLog argument. Implement this check in mod_syslog.

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

10 years ago[trunk][doc] Introducing .fr translation for howto/access
Vincent Deffontaines [Mon, 11 Nov 2013 19:08:29 +0000 (19:08 +0000)]
[trunk][doc] Introducing .fr translation for howto/access

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

10 years agoUpdate.
Lucien Gentis [Sat, 9 Nov 2013 16:49:25 +0000 (16:49 +0000)]
Update.

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

10 years agoExpand some of these fields... mostlt it's the workers that we
Jim Jagielski [Sat, 9 Nov 2013 14:49:25 +0000 (14:49 +0000)]
Expand some of these fields... mostlt it's the workers that we
need to expand due to them mapping to actual hostnames

NOTE: 96 enough?

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

10 years agoAvoid the confusion... the digests are NOT strings.
Jim Jagielski [Fri, 8 Nov 2013 23:42:50 +0000 (23:42 +0000)]
Avoid the confusion... the digests are NOT strings.
Add some debug logging

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

10 years agoIf apr_file_read did return APR_EOF, then ensure that,
Jim Jagielski [Fri, 8 Nov 2013 20:51:44 +0000 (20:51 +0000)]
If apr_file_read did return APR_EOF, then ensure that,
as long as we read the right number of bytes, we
return APR_SUCCESS

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

10 years agoAllow for backwards compatibility for the md5 check...
Jim Jagielski [Fri, 8 Nov 2013 20:48:16 +0000 (20:48 +0000)]
Allow for backwards compatibility for the md5 check...
if we've read the slotmem data and we are at EOF, then
don't bother checking the md5 and assume all is OK.

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

10 years agowhitespace
Jim Jagielski [Fri, 8 Nov 2013 19:41:34 +0000 (19:41 +0000)]
whitespace

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

10 years agoError detection and a quick validity check when restoring...
Jim Jagielski [Fri, 8 Nov 2013 19:38:20 +0000 (19:38 +0000)]
Error detection and a quick validity check when restoring...
Designed to address errors, not nefarious changes.

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

10 years agoUDS urls need to be desockified when configuring...
Jim Jagielski [Fri, 8 Nov 2013 14:30:12 +0000 (14:30 +0000)]
UDS urls need to be desockified when configuring...

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

10 years agoEnsure that the file-based shm file is removed...
Jim Jagielski [Fri, 8 Nov 2013 14:30:08 +0000 (14:30 +0000)]
Ensure that the file-based shm file is removed...

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

10 years agoDo not lose log messages with NULL server_rec when error log provider is used.
Jan Kaluža [Fri, 8 Nov 2013 11:41:08 +0000 (11:41 +0000)]
Do not lose log messages with NULL server_rec when error log provider is used.

- set stderr_log to NULL after it is redirected to /dev/null
- use log provider of ap_server_conf in log_error_core when no server_rec
  is provided and std_err_log is NULL

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

10 years agoPR 55475: Detect incomplete body in HTTP input filter and return APR_INCOMPLETE
Jim Jagielski [Mon, 4 Nov 2013 21:31:27 +0000 (21:31 +0000)]
PR 55475: Detect incomplete body in HTTP input filter and return APR_INCOMPLETE

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

10 years agoc->sbh can be unexpectedly NULL when the thread that pulls the ready keepalive
Eric Covener [Mon, 4 Nov 2013 01:37:31 +0000 (01:37 +0000)]
c->sbh can be unexpectedly NULL when the thread that pulls the ready keepalive
connection out of the queue laps the thread that put it on the queue.

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

10 years agoRemove useless apr_pstrdup as done for other mod_auth modules in r1026660
Christophe Jaillet [Sat, 2 Nov 2013 08:22:25 +0000 (08:22 +0000)]
Remove useless apr_pstrdup as done for other mod_auth modules in r1026660

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

10 years agoxforms
Daniel Gruno [Fri, 1 Nov 2013 13:20:32 +0000 (13:20 +0000)]
xforms

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

10 years agoFixes to the modguide, courtesy of Petter Berntsen (sluggr)
Daniel Gruno [Fri, 1 Nov 2013 12:40:29 +0000 (12:40 +0000)]
Fixes to the modguide, courtesy of Petter Berntsen (sluggr)

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

10 years ago* support/rotatelogs.c: Introduce an adjusted_time_t type to store the
Joe Orton [Thu, 31 Oct 2013 21:58:31 +0000 (21:58 +0000)]
* support/rotatelogs.c: Introduce an adjusted_time_t type to store the
  weird "adjusted time since epoch" type returned by get_now().
  Switch from int to long to fix an unnecessary Y2K38 issue.  Adjust
  use throughout and clean up other type issues.  No functional change
  intended apart from fixing Y2K38.

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

10 years agoFor better compatibility with mod_nss:
Joe Orton [Thu, 31 Oct 2013 15:42:08 +0000 (15:42 +0000)]
For better compatibility with mod_nss:

* modules/ssl/ssl_engine_config.c (ssl_config_server_new): Default
  sc->enabled to UNSET.

* modules/ssl/ssl_engine_init.c (ssl_init_Module): Only override
  sc->enabled based on the protocol iff sc->enabled is UNSET; allows
  "SSLEngine off" to override the Listen-based default.

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

10 years agoTransforms.
Joe Orton [Mon, 28 Oct 2013 10:53:20 +0000 (10:53 +0000)]
Transforms.

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

10 years ago* docs/manual/upgrading.xml: Note 2.4 backwards-compat break for
Joe Orton [Mon, 28 Oct 2013 10:51:36 +0000 (10:51 +0000)]
* docs/manual/upgrading.xml: Note 2.4 backwards-compat break for
  some piped logging configurations.

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

10 years agothis was backported to 2.2, so not an upgrade issue.
Eric Covener [Sat, 26 Oct 2013 19:05:31 +0000 (19:05 +0000)]
this was backported to 2.2, so not an upgrade issue.

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

10 years ago/. Initialisations
Lucien Gentis [Sat, 26 Oct 2013 14:33:57 +0000 (14:33 +0000)]
/. Initialisations
if (! laCouleurFond) setCouleurFond(MENU_POPUP_COULEUR_FOND); else setCouleurFond(laCouleurFond);

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

10 years agoAllow for format specifiers to be used in the base substitution string for Header...
Daniel Ruggeri [Fri, 25 Oct 2013 17:16:46 +0000 (17:16 +0000)]
Allow for format specifiers to be used in the base substitution string for Header edit

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

10 years agoRemove unused APXS setting from template for generated Makefile
Jeff Trawick [Fri, 25 Oct 2013 11:36:00 +0000 (11:36 +0000)]
Remove unused APXS setting from template for generated Makefile

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

10 years agoSECURITY (CVE-2014-0231): Fix for DoS due to hang waiting for CGI script.
Eric Covener [Wed, 23 Oct 2013 19:26:08 +0000 (19:26 +0000)]
SECURITY (CVE-2014-0231): Fix for DoS due to hang waiting for CGI script.
Patch one of two.

Permit a read timeout to be used in mod_cgid to give up on a slow CGI script.

In trunk, it defaults to the servers Timeout.  PR43494

Submitted By: Eric Covener, Toshikuni Fukaya
Reviewed By: Eric Covener

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

10 years agoaxe some useless assignments (clang scan-build)
Jeff Trawick [Wed, 23 Oct 2013 12:03:04 +0000 (12:03 +0000)]
axe some useless assignments (clang scan-build)

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

10 years agodon't ignore some apr_procattr failures (clang scan-build)
Jeff Trawick [Wed, 23 Oct 2013 11:59:35 +0000 (11:59 +0000)]
don't ignore some apr_procattr failures (clang scan-build)

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

10 years agorotatelogs: Remove last constant length error buffer.
Ben Reser [Wed, 23 Oct 2013 05:14:45 +0000 (05:14 +0000)]
rotatelogs: Remove last constant length error buffer.

* support/rotatelogs.c
  (ERRMSGSZ): Remove.
  (rotate_status): Remove errbuff member.
  (truncate_and_write_error): Accept the error message as an argument.
  (doRotate): Shift the pool destruction slightly later and use it to generate
    the error message to pass truncate_and_write_error().
  (main): In case of write errors create a pool to generate the error message,
    since the other pools available may never been freed.  Adjust to pass
    message directly to truncate_and_write_error().

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

10 years agorotatelogs: Remove another use of a consant length buffer for errors.
Ben Reser [Wed, 23 Oct 2013 03:12:46 +0000 (03:12 +0000)]
rotatelogs: Remove another use of a consant length buffer for errors.

* support/rotatelogs.c
  (doRotate): Use apr_psprintf() and %pm.  Move the destruction of the pool
    after we're done with the error message so the error string stays allocated
    long enough.

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

10 years agorotatelogs: Use apr_psprintf() with %pm instead of a constant length buffer for
Ben Reser [Wed, 23 Oct 2013 03:01:05 +0000 (03:01 +0000)]
rotatelogs: Use apr_psprintf() with %pm instead of a constant length buffer for
errors.

* support/rotatelogs.c
  (post_rotate, doRotate): Switch to using apr_psprintf() with %pm.

Suggested by: rpluem

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

10 years agodon't pass uninitialized rv passed to ap_log_rerror()
Jeff Trawick [Wed, 23 Oct 2013 01:32:32 +0000 (01:32 +0000)]
don't pass uninitialized rv passed to ap_log_rerror()
  (rv wasn't interesting / follow an existing example)

stop throwing away a pointer on the heap

(clang scan-build)

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

10 years agoaxe attempt to close a previously-closed apr socket
Jeff Trawick [Wed, 23 Oct 2013 01:25:05 +0000 (01:25 +0000)]
axe attempt to close a previously-closed apr socket
(clang scan-build says "uninitialized", but it doesn't know
how apr_sockaddr_info_get() reports errors)

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

10 years agoaxe unused autodata+heap (clang scan-build)
Jeff Trawick [Wed, 23 Oct 2013 01:23:18 +0000 (01:23 +0000)]
axe unused autodata+heap (clang scan-build)

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

10 years agoSSL_CONF support for files and directories.
Stephen Henson [Tue, 22 Oct 2013 19:55:43 +0000 (19:55 +0000)]
SSL_CONF support for files and directories.

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

10 years ago* modules/proxy/mod_proxy_http.c (ap_proxy_http_request): Use the same
Joe Orton [Mon, 21 Oct 2013 18:58:26 +0000 (18:58 +0000)]
* modules/proxy/mod_proxy_http.c (ap_proxy_http_request): Use the same
  brigade lifetime for the header brigade as the other brigades.
  POSSIBLE (but as yet unconfirmed) fix for crashes seen with threaded
  servers, e.g. PR 50335; appears correct or at least not harmful.

PR: 50335

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

10 years agoFix r1533728. Not a great idea to dereference process after pool destroy!
Nick Kew [Mon, 21 Oct 2013 00:30:26 +0000 (00:30 +0000)]
Fix r1533728.  Not a great idea to dereference process after pool destroy!

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

10 years agoupdate transformation
André Malo [Sun, 20 Oct 2013 18:33:04 +0000 (18:33 +0000)]
update transformation

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

10 years agoproperty fix.
André Malo [Sun, 20 Oct 2013 18:27:07 +0000 (18:27 +0000)]
property fix.

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

10 years agoFollowup to r1533810: Put the rotatelogs docs in the right place.
Ben Reser [Sun, 20 Oct 2013 18:12:23 +0000 (18:12 +0000)]
Followup to r1533810: Put the rotatelogs docs in the right place.

* docs/man/rotatelogs.8,
  docs/manual/programs/rotatelogs.html.en: Remove changes from r1533810.

* docs/manual/programs/rotatelogs.xml: Adjust docs for new -d option.

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

10 years agoAdd an option to autocreate directories to rotatelogs.
Ben Reser [Sat, 19 Oct 2013 19:10:33 +0000 (19:10 +0000)]
Add an option to autocreate directories to rotatelogs.

* support/rotatelogs.c
  (rotate_config): Remove const from szLogRoot since we'll be passing it to
    apr_filepath_merge.  Add create_path member.
  (usage, dumpConfig): Update to reflect new -d option.
  (doRotate): Add code that knows how to create the directories a log file
    is going to go into.
  (main): Add the -d option and canonicalize the incoming path with
    apr_filepath_merge() so that the code in doRotate can work properly.

* docs/man/rotatelogs.8,
  docs/manual/programs/rotatelogs.html.en: Update for -d option.

PR: 46669
Submitted by: Philippe Lantin <plantin cobaltgroup.com>
              (which was actually a patch written by myself when I worked there)
Tweaked by: breser (ported to trunk and changed option from -p to -d)

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

10 years agoUpdates.
Lucien Gentis [Sat, 19 Oct 2013 14:11:05 +0000 (14:11 +0000)]
Updates.

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

10 years agoLike r1532122: Axe needless string duplication in
Jeff Trawick [Sat, 19 Oct 2013 13:59:31 +0000 (13:59 +0000)]
Like r1532122: Axe needless string duplication in
               setup for call to apr_proc_create().

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

10 years agoRemove erroneous space reported in pr55676
Daniel Ruggeri [Sat, 19 Oct 2013 12:50:25 +0000 (12:50 +0000)]
Remove erroneous space reported in pr55676

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

10 years agoPR 55670
Nick Kew [Sat, 19 Oct 2013 11:01:11 +0000 (11:01 +0000)]
PR 55670
Don't risk failing silently at startup when running in a tty.

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

10 years ago* Fix logical flaw introduced in r1531340. We checked for the opposite.
Ruediger Pluem [Fri, 18 Oct 2013 13:30:52 +0000 (13:30 +0000)]
* Fix logical flaw introduced in r1531340. We checked for the opposite.

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

10 years agoRüdiger and Yann suggestions
Jim Jagielski [Fri, 18 Oct 2013 13:10:45 +0000 (13:10 +0000)]
Rüdiger and Yann suggestions

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

10 years agoxforms
Igor Galić [Thu, 17 Oct 2013 22:18:34 +0000 (22:18 +0000)]
xforms

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

10 years agoSo, Fix pet-peeve!
Igor Galić [Thu, 17 Oct 2013 22:15:29 +0000 (22:15 +0000)]
So, Fix pet-peeve!

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

10 years agoFix typos and grammar.
Igor Galić [Thu, 17 Oct 2013 22:14:30 +0000 (22:14 +0000)]
Fix typos and grammar.

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

10 years agoanother suggestion by Yann... use a shorter lifetime pool
Jim Jagielski [Thu, 17 Oct 2013 22:04:31 +0000 (22:04 +0000)]
another suggestion by Yann... use a shorter lifetime pool

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

10 years agoGrammar
Rich Bowen [Thu, 17 Oct 2013 20:40:47 +0000 (20:40 +0000)]
Grammar

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

10 years agos/sometimes maybe not what/sometimes may not be what/
Jeff Trawick [Thu, 17 Oct 2013 19:32:33 +0000 (19:32 +0000)]
s/sometimes maybe not what/sometimes may not be what/

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

10 years agoRebuild doc.
Rich Bowen [Thu, 17 Oct 2013 18:23:51 +0000 (18:23 +0000)]
Rebuild doc.

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

10 years agoBroken markup in example
Rich Bowen [Thu, 17 Oct 2013 18:23:19 +0000 (18:23 +0000)]
Broken markup in example

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

10 years agotypo
Jim Jagielski [Thu, 17 Oct 2013 17:21:37 +0000 (17:21 +0000)]
typo

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

10 years agofrom an idea by Yann Ylavic <ylavic.dev@gmail.com>
Jim Jagielski [Thu, 17 Oct 2013 17:21:04 +0000 (17:21 +0000)]
from an idea by Yann Ylavic <ylavic.dev@gmail.com>

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

10 years agodocco update now that we can support URL paths
Jim Jagielski [Thu, 17 Oct 2013 16:54:53 +0000 (16:54 +0000)]
docco update now that we can support URL paths

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

10 years agomove pool creation to the single instance when we need it...
Jim Jagielski [Thu, 17 Oct 2013 16:52:04 +0000 (16:52 +0000)]
move pool creation to the single instance when we need it...
but be pool aware anyway, just in case.

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

10 years agoOnly assume localhost in the special case where the person
Jim Jagielski [Thu, 17 Oct 2013 15:24:44 +0000 (15:24 +0000)]
Only assume localhost in the special case where the person
just has the lone scheme after the |

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

10 years agoap_proxy_strncpy should correctly handle src being NULL.
Jim Jagielski [Thu, 17 Oct 2013 15:02:04 +0000 (15:02 +0000)]
ap_proxy_strncpy should correctly handle src being NULL.
Actually, apr_cpystrn() should as well...

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

10 years agoPut the uds path in its own field, and adjust the logic
Jim Jagielski [Thu, 17 Oct 2013 14:10:43 +0000 (14:10 +0000)]
Put the uds path in its own field, and adjust the logic
to look for an empty string rather than a flag.

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

10 years agoEclipse code analysis warning
Jim Jagielski [Thu, 17 Oct 2013 12:53:53 +0000 (12:53 +0000)]
Eclipse code analysis warning

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

10 years agoaxe svn:mime-type, add svn:eol-style
Jeff Trawick [Wed, 16 Oct 2013 18:16:16 +0000 (18:16 +0000)]
axe svn:mime-type, add svn:eol-style

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

10 years agoadd generated files
Jeff Trawick [Wed, 16 Oct 2013 17:16:14 +0000 (17:16 +0000)]
add generated files

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

10 years agogenerated files
Jeff Trawick [Wed, 16 Oct 2013 17:12:57 +0000 (17:12 +0000)]
generated files

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

10 years agoInterpolation worked within the scheme portion of URLs for
Jeff Trawick [Wed, 16 Oct 2013 17:11:29 +0000 (17:11 +0000)]
Interpolation worked within the scheme portion of URLs for
ProxyPass and ProxyPassReverse until a fix to apr_uri_parse()
in APR-Util 1.5.2 closed the hole that had previously allowed
the necessary {} characters within the scheme.

Lack of support for interpolation within the scheme will be a
permanent limitation.

The mod_proxy documentation is updated to provide an alternate
configuration solution.

PR: 55315
Submitted by: Mike Rumph <mike.rumph oracle.com>
Tweaked by: trawick

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

10 years agoNo more magic numbers.
Jim Jagielski [Wed, 16 Oct 2013 12:21:49 +0000 (12:21 +0000)]
No more magic numbers.

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

10 years agodon't use what could have been freed...
Jim Jagielski [Tue, 15 Oct 2013 20:02:30 +0000 (20:02 +0000)]
don't use what could have been freed...

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

10 years agoUpdate LOGNO
Jim Jagielski [Tue, 15 Oct 2013 17:45:47 +0000 (17:45 +0000)]
Update LOGNO

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

10 years agoin 2.4.7
Jim Jagielski [Tue, 15 Oct 2013 16:03:26 +0000 (16:03 +0000)]
in 2.4.7

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

10 years agodocco userland change
Jim Jagielski [Tue, 15 Oct 2013 15:58:37 +0000 (15:58 +0000)]
docco userland change

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

10 years agoxforms update
Jim Jagielski [Tue, 15 Oct 2013 15:45:30 +0000 (15:45 +0000)]
xforms update

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

10 years agoStandardize on:
Jim Jagielski [Tue, 15 Oct 2013 15:38:09 +0000 (15:38 +0000)]
Standardize on:

   unix:/path/to/socket|scheme://ignored

for ProxyPass UDS.

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

10 years agoFollow-up to r1525597:
Jeff Trawick [Tue, 15 Oct 2013 14:09:29 +0000 (14:09 +0000)]
Follow-up to r1525597:

Initialize error log providers in vhosts, solving crashes
when logging from those vhosts as well as allowing a different
provider (or provider configuration) for vhosts.

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

10 years ago* support/rotatelogs.c (get_now): Fix the NULL ptr dereferences
Joe Orton [Tue, 15 Oct 2013 11:19:38 +0000 (11:19 +0000)]
* support/rotatelogs.c (get_now): Fix the NULL ptr dereferences
  added in r1532281.

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

10 years ago* support/rotatelogs.c (get_now): Return the offset applied to the
Joe Orton [Tue, 15 Oct 2013 10:44:17 +0000 (10:44 +0000)]
* support/rotatelogs.c (get_now): Return the offset applied to the
  Unix time as a parameter.
  (doRotate): When exploding the time for strtfime formatting, iff in
  -l mode, subtract the offset and explode the real Unix time as a
  local time so %Z etc works correctly.

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

10 years agoavoid needless apr_pstrdup()
Jeff Trawick [Mon, 14 Oct 2013 22:51:44 +0000 (22:51 +0000)]
avoid needless apr_pstrdup()

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

10 years agocheck that we have a pool...
Jim Jagielski [Mon, 14 Oct 2013 16:38:52 +0000 (16:38 +0000)]
check that we have a pool...

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

10 years agoJust use the def global... consistency is important
Jim Jagielski [Mon, 14 Oct 2013 16:31:17 +0000 (16:31 +0000)]
Just use the def global... consistency is important

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

10 years agoEnsure that userland format of UDS is the same as how it is
Jim Jagielski [Mon, 14 Oct 2013 16:12:30 +0000 (16:12 +0000)]
Ensure that userland format of UDS is the same as how it is
configured, no matter how we store and use it internally.

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

10 years agoSupport optional initialization arguments for socache providers in
Chris Darroch [Mon, 14 Oct 2013 16:08:41 +0000 (16:08 +0000)]
Support optional initialization arguments for socache providers in
mod_authn_socache.

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

10 years agoxforms
Jim Jagielski [Mon, 14 Oct 2013 15:03:05 +0000 (15:03 +0000)]
xforms

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

10 years agoIDE typo error
Jim Jagielski [Mon, 14 Oct 2013 15:02:50 +0000 (15:02 +0000)]
IDE typo error

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

10 years agoUpdate doccos about UDS
Jim Jagielski [Mon, 14 Oct 2013 14:59:40 +0000 (14:59 +0000)]
Update doccos about UDS

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

10 years agoclean up socket definition... just the sock: path matters,
Jim Jagielski [Mon, 14 Oct 2013 14:59:38 +0000 (14:59 +0000)]
clean up socket definition... just the sock: path matters,
and we adjust relative to DefaultRuntimeDir

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

10 years agomod_session: Reset the max-age on session save. PR 47476.
Graham Leggett [Sun, 13 Oct 2013 13:07:19 +0000 (13:07 +0000)]
mod_session: Reset the max-age on session save. PR 47476.

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

10 years agomod_session: After parsing the value of the header specified by the
Graham Leggett [Sun, 13 Oct 2013 12:27:54 +0000 (12:27 +0000)]
mod_session: After parsing the value of the header specified by the
SessionHeader directive, remove the value from the response. PR 55279.

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