Commit Graph

25336 Commits

Author SHA1 Message Date
347c75b3c5 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
2013-10-17 14:10:43 +00:00
43fb7fa32f Eclipse code analysis warning
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1533065 13f79535-47bb-0310-9956-ffa450edef68
2013-10-17 12:53:53 +00:00
81254bebb7 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
2013-10-16 18:16:16 +00:00
a0a6b456c1 add generated files
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1532822 13f79535-47bb-0310-9956-ffa450edef68
2013-10-16 17:16:14 +00:00
2fc962a22a generated files
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1532819 13f79535-47bb-0310-9956-ffa450edef68
2013-10-16 17:12:57 +00:00
9db7c3545d 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
2013-10-16 17:11:29 +00:00
a91c47c2e5 No more magic numbers.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1532746 13f79535-47bb-0310-9956-ffa450edef68
2013-10-16 12:21:49 +00:00
a00a928dd2 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
2013-10-15 20:02:30 +00:00
bfa6d07466 Update LOGNO
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1532456 13f79535-47bb-0310-9956-ffa450edef68
2013-10-15 17:45:47 +00:00
56397983aa in 2.4.7
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1532405 13f79535-47bb-0310-9956-ffa450edef68
2013-10-15 16:03:26 +00:00
c4a8285899 docco userland change
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1532403 13f79535-47bb-0310-9956-ffa450edef68
2013-10-15 15:58:37 +00:00
6c23d1338a xforms update
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1532397 13f79535-47bb-0310-9956-ffa450edef68
2013-10-15 15:45:30 +00:00
9b6fb3d615 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
2013-10-15 15:38:09 +00:00
86014a1423 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
2013-10-15 14:09:29 +00:00
ce61f94003 * 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
2013-10-15 11:19:38 +00:00
fd4ae8e200 * 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
2013-10-15 10:44:17 +00:00
4073515aa5 avoid needless apr_pstrdup()
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1532122 13f79535-47bb-0310-9956-ffa450edef68
2013-10-14 22:51:44 +00:00
e8d701a8ed check that we have a pool...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1531971 13f79535-47bb-0310-9956-ffa450edef68
2013-10-14 16:38:52 +00:00
3af21fb887 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
2013-10-14 16:31:17 +00:00
c984a2e5f3 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
2013-10-14 16:12:30 +00:00
cc4c936c2e 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
2013-10-14 16:08:41 +00:00
5f17fef1a5 xforms
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1531934 13f79535-47bb-0310-9956-ffa450edef68
2013-10-14 15:03:05 +00:00
0b40ddae79 IDE typo error
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1531933 13f79535-47bb-0310-9956-ffa450edef68
2013-10-14 15:02:50 +00:00
935f822f44 Update doccos about UDS
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1531930 13f79535-47bb-0310-9956-ffa450edef68
2013-10-14 14:59:40 +00:00
76927e7a34 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
2013-10-14 14:59:38 +00:00
c8b1ad8f55 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
2013-10-13 13:07:19 +00:00
0d9b5c81a5 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
2013-10-13 12:27:54 +00:00
6330b052dd mod_auth_form: Make sure the optional functions are loaded even when
the AuthFormProvider isn't specified.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1531672 13f79535-47bb-0310-9956-ffa450edef68
2013-10-13 12:14:39 +00:00
ce430a69ee Updates.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1531538 13f79535-47bb-0310-9956-ffa450edef68
2013-10-12 15:03:05 +00:00
31a3eab6d7 Followup to r1529559: mod_dav_fs: Fix encoding of hrefs in PROPFIND response.
Previous commit missed encoding the names of the children of the PROPFIND
request when the depth wasn't 0.

* modules/dav/fs/repos.c
  (dav_fs_append_uri): New function
  (dav_fs_walker): Use dav_fs_append_uri() and adjust length calculations to
    use the encoded length.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1531505 13f79535-47bb-0310-9956-ffa450edef68
2013-10-12 06:13:20 +00:00
0605393196 syntax sugar... if the worker is associated w/ a UDS,
then make sure the log reporting has a visual clue.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1531370 13f79535-47bb-0310-9956-ffa450edef68
2013-10-11 17:36:24 +00:00
e40e0a785b Reformat the UDS support inline with a new naming structure.
Use a flag for speed for testing.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1531340 13f79535-47bb-0310-9956-ffa450edef68
2013-10-11 16:12:41 +00:00
13af10453a save a possible lookup
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1530813 13f79535-47bb-0310-9956-ffa450edef68
2013-10-09 22:22:17 +00:00
b299ff2e98 core: Don't truncate output when sending is interrupted by a signal,
such as from an exiting CGI process.

PR: 55643


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1530793 13f79535-47bb-0310-9956-ffa450edef68
2013-10-09 21:09:41 +00:00
ec6996c38d follow-up to r1530603: fix typo/syntax error
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1530792 13f79535-47bb-0310-9956-ffa450edef68
2013-10-09 21:08:55 +00:00
6284650f6d ping tuning via Yann Ylavic <ylavic.dev@gmail.com>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1530603 13f79535-47bb-0310-9956-ffa450edef68
2013-10-09 13:38:45 +00:00
b7924d7645 Break long lines.
Add missing <code></code>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1530514 13f79535-47bb-0310-9956-ffa450edef68
2013-10-09 07:15:29 +00:00
6dd580a163 Add no's
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1530361 13f79535-47bb-0310-9956-ffa450edef68
2013-10-08 17:21:27 +00:00
fb96deae58 Fix typo
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1530161 13f79535-47bb-0310-9956-ffa450edef68
2013-10-08 06:03:48 +00:00
151a95ae46 Correct typo in comments for ap_map_http_request_error().
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1529991 13f79535-47bb-0310-9956-ffa450edef68
2013-10-07 16:14:39 +00:00
3f864213bc Correct typo in comments for ap_map_http_request_error().
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1529988 13f79535-47bb-0310-9956-ffa450edef68
2013-10-07 16:10:07 +00:00
4de0b69f7f Fix PR 55397: dav_resource->uri treated as an unparsed uri.
The change made for PR 54611 caused this field to be treated as
unescaped.  mod_dav_svn however, provided escaped URIs.  Essentially
breaking support for paths with non-URI safe characters in SVN.

Adjust the code so that dav_resource->uri is assumed to be escaped and
adjust mod_dav_fs so that it uses escaped URIs in this field.

* modules/dav/fs/repos.c
  (dav_fs_get_resource): Use the unparsed_uri to contruct the resource uri.

* modules/dav/main/mod_dav.c
  (dav_xml_escape_uri): Do not uri escape, just handle xml escaping.
  (dav_created): Assume that locn if provided is escaped.
  (dav_method_copymove, dav_method_bind): Use the unparsed_uri on the request
    when calling dav_created() to adjust to locn assuming it is escaped.

* modules/dav/main/mod_dav.h
  (dav_resource): Document that uri is escaped.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1529559 13f79535-47bb-0310-9956-ffa450edef68
2013-10-06 01:08:51 +00:00
bc8495dba1 When building modules with prereqs, search httpd include dirs
before prereq include dirs in case httpd is installed to the same
place as the prereq, in which case we might be using an older
httpd .h file.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1529452 13f79535-47bb-0310-9956-ffa450edef68
2013-10-05 13:49:22 +00:00
1ce3115aab ap_rputs() silently truncated size_t to int, resulting in 130+ warnings
when building httpd and a rich set of modules on Windows. 


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1529449 13f79535-47bb-0310-9956-ffa450edef68
2013-10-05 13:14:36 +00:00
c2c75f9172 Update.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1529447 13f79535-47bb-0310-9956-ffa450edef68
2013-10-05 13:09:18 +00:00
2bd622626f Disable event/eventopt if apr skiplist isn't available
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1529442 13f79535-47bb-0310-9956-ffa450edef68
2013-10-05 12:44:36 +00:00
6fb8a4ad86 skiplist is gone
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1529440 13f79535-47bb-0310-9956-ffa450edef68
2013-10-05 12:11:58 +00:00
bd643bdfb6 WebSocket support requires Winsock2
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1529277 13f79535-47bb-0310-9956-ffa450edef68
2013-10-04 20:03:50 +00:00
6a76621f9f core: Add missing Reason-Phrase in HTTP response headers.
PR 54946.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1529014 13f79535-47bb-0310-9956-ffa450edef68
2013-10-03 21:50:07 +00:00
04830237c5 Remove backported items from CHANGES.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1528972 13f79535-47bb-0310-9956-ffa450edef68
2013-10-03 19:00:03 +00:00