commit_msg
stringlengths 1
24.2k
| commit_hash
stringlengths 2
84
⌀ | project
stringlengths 2
40
| source
stringclasses 4
values | labels
int64 0
1
| repo_url
stringlengths 26
70
⌀ | commit_url
stringlengths 74
118
⌀ | commit_date
stringlengths 25
25
⌀ |
---|---|---|---|---|---|---|---|
Documentation: clean up a few misspelled word typos
Used GNU "aspell check <filename>" to review various documentation
files with the default aspell dictionary. Ignored false-positives
between american and british english.
Signed-off-by: Jacob Stopak <[email protected]>
Reviewed-by: Eric Sunshine <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>
| 72991ff558585490aa4284c0b8ca1f13e86f0f18 | git | neuralsentry | 0 | https://github.com/git/git | https://github.com/git/git/commit/72991ff558585490aa4284c0b8ca1f13e86f0f18 | 2022-09-19 19:45:56-07:00 |
submodule--helper: fix most "struct pathspec" memory leaks
Call clear_pathspec() at the end of various functions that work with
and allocate a "struct pathspec".
In some cases the zero-initialization here isn't strictly needed, but
as we're moving to a "goto cleanup" pattern let's make sure that it's
safe to call clear_pathspec(), we don't want the data to be
uninitialized.
E.g. for module_foreach() we can see from looking at
module_list_compute() that if it returns non-zero that the "pathspec"
will always have been initialized. But relying on that both assumes
knowledge about parse_pathspec(), and would set up a fragile pattern
going forward.
Signed-off-by: Ævar Arnfjörð Bjarmason <[email protected]>
Reviewed-by: Glen Choo <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>
| 8fb201d4da0e9244f44dabdb1a5f5ea2809b2270 | git | neuralsentry | 1 | https://github.com/git/git | https://github.com/git/git/commit/8fb201d4da0e9244f44dabdb1a5f5ea2809b2270 | 2022-09-01 01:14:10+02:00 |
help: add --config to list all available config
Sometimes it helps to list all available config vars so the user can
search for something they want. The config man page can also be used
but it's harder to search if you want to focus on the variable name,
for example.
This is not the best way to collect the available config since it's
not precise. Ideally we should have a centralized list of config in C
code (pretty much like 'struct option'), but that's a lot more work.
This will do for now.
Signed-off-by: Nguyễn Thái Ngọc Duy <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>
| 3ac68a93fd2b984e2a7e570217d2646a208ffcc3 | git | neuralsentry | 0 | https://github.com/git/git | https://github.com/git/git/commit/3ac68a93fd2b984e2a7e570217d2646a208ffcc3 | 2018-05-26 15:55:24+02:00 |
add -p: only display help for active keys
If the user presses a key that add -p wasn't expecting then it prints
a list of key bindings. Although the prompt only lists the active
bindings the help was printed for all bindings. Fix this by using the
list of keys in the prompt to filter the help. Note that the list of
keys was already passed to help_patch_cmd() by the caller so there is
no change needed to the call site.
Signed-off-by: Phillip Wood <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>
| 01a6966021a50dc7aff76c0f951bbdd6e1bdd444 | git | neuralsentry | 1 | https://github.com/git/git | https://github.com/git/git/commit/01a6966021a50dc7aff76c0f951bbdd6e1bdd444 | 2018-02-13 10:32:39+00:00 |
test-lib: abort when can't remove trash directory
We had two similar bugs in the tests sporadically triggering error
messages during the removal of the trash directory, see commits
bb05510e5 (t5510: run auto-gc in the foreground, 2016-05-01) and
ef09036cf (t6500: wait for detached auto gc at the end of the test
script, 2017-04-13). The test script succeeded nonetheless, because
these errors are ignored during housekeeping in 'test_done'.
However, such an error is a sign that something is fishy in the test
script. Print an error message and abort the test script when the
trash directory can't be removed successfully or is already removed,
because that's unexpected and we would prefer somebody notice and
figure out why.
Signed-off-by: SZEDER Gábor <[email protected]>
Reviewed-by: Jeff King <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>
| df4c0d1a7927e17e7944ec24fa94468eee979f6e | git | neuralsentry | 0 | https://github.com/git/git | https://github.com/git/git/commit/df4c0d1a7927e17e7944ec24fa94468eee979f6e | 2017-04-20 18:52:30+02:00 |
unpack-trees: fix English grammar in do-this-before-that messages
Signed-off-by: Alex Henrie <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>
| c2691e2add93453cfbcfe11ffcf2880d107d67f8 | git | neuralsentry | 0 | https://github.com/git/git | https://github.com/git/git/commit/c2691e2add93453cfbcfe11ffcf2880d107d67f8 | 2016-06-25 00:34:04-06:00 |
status: add optional stash count information
Introduce '--show-stash' and its configuration option 'status.showStash'
to allow git-status to show information about currently stashed entries.
Signed-off-by: Liam Beguin <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>
| c1b5d0194b98bd3d0acc9cec7070808fbbe6a740 | git | neuralsentry | 0 | https://github.com/git/git | https://github.com/git/git/commit/c1b5d0194b98bd3d0acc9cec7070808fbbe6a740 | 2017-06-17 18:30:51-04:00 |
Merge branch 'ab/man-sec-list'
Doc update.
* ab/man-sec-list:
git manpage: note [email protected]
| a8ba07c68a22d2740879c862d1ec57592fb2e15a | git | neuralsentry | 0 | https://github.com/git/git | https://github.com/git/git/commit/a8ba07c68a22d2740879c862d1ec57592fb2e15a | 2018-03-15 15:00:46-07:00 |
cleanup: fix possible overflow errors in binary search, part 2
Calculating the sum of two array indexes to find the midpoint between
them can overflow, i.e. code like this is unsafe for big arrays:
mid = (first + last) >> 1;
Make sure the intermediate value stays within the boundaries instead,
like this:
mid = first + ((last - first) >> 1);
The loop condition of the binary search makes sure that 'last' is
always greater than 'first', so this is safe as long as 'first' is
not negative. And that can be verified easily using the pre-context
of each change, except for name-hash.c, so add an assertion to that
effect there.
The unsafe calculations were found with:
git grep '(.*+.*) *>> *1'
This is a continuation of 19716b21a4 (cleanup: fix possible overflow
errors in binary search, 2017-10-08).
Signed-off-by: Rene Scharfe <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>
| 568a05c5ecb8e3a01fcb90d0f81857f49ef2add8 | git | neuralsentry | 1 | https://github.com/git/git | https://github.com/git/git/commit/568a05c5ecb8e3a01fcb90d0f81857f49ef2add8 | 2019-06-13 19:51:56+02:00 |
submodule: fix status of initialized but not cloned submodules
Original bash helper for "submodule status" was doing a check for
initialized but not cloned submodules and prefixed the status with
a minus sign in case no .git file or folder was found inside the
submodule directory.
This check was missed when the original port of the functionality
from bash to C was done.
Signed-off-by: Peter Kaestle <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>
| 3b2885ec9ba0b1328858231c9f5095e7f85d9f23 | git | neuralsentry | 1 | https://github.com/git/git | https://github.com/git/git/commit/3b2885ec9ba0b1328858231c9f5095e7f85d9f23 | 2020-01-24 11:34:04+01:00 |
git-p4: add Git LFS backend for large file system
Add example implementation including test cases for the large file
system using Git LFS.
Pushing files to the Git LFS server is not tested.
Signed-off-by: Lars Schneider <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>
| b47d807d20374d8dc929ba4c0ca3bd7e8a4ce1f7 | git | neuralsentry | 0 | https://github.com/git/git | https://github.com/git/git/commit/b47d807d20374d8dc929ba4c0ca3bd7e8a4ce1f7 | 2015-09-26 09:55:04+02:00 |
Merge branch 'rj/sequencer-sign-off-header-static'
Code clean-up.
* rj/sequencer-sign-off-header-static:
sequencer: make sign_off_header a file local symbol
| 8ac5444cba9349a5f89e64e1774ea9d6740a5add | git | neuralsentry | 0 | https://github.com/git/git | https://github.com/git/git/commit/8ac5444cba9349a5f89e64e1774ea9d6740a5add | 2019-02-13 18:18:41-08:00 |
protect_ntfs: turn on NTFS protection by default
Back in the DOS days, in the FAT file system, file names always
consisted of a base name of length 8 plus a file extension of length 3.
Shorter file names were simply padded with spaces to the full 8.3
format.
Later, the FAT file system was taught to support _also_ longer names,
with an 8.3 "short name" as primary file name. While at it, the same
facility allowed formerly illegal file names, such as `.git` (empty base
names were not allowed), which would have the "short name" `git~1`
associated with it.
For backwards-compatibility, NTFS supports alternative 8.3 short
filenames, too, even if starting with Windows Vista, they are only
generated on the system drive by default.
We addressed the problem that the `.git/` directory can _also_ be
accessed via `git~1/` (when short names are enabled) in 2b4c6efc821
(read-cache: optionally disallow NTFS .git variants, 2014-12-16), i.e.
since Git v1.9.5, by introducing the config setting `core.protectNTFS`
and enabling it by default on Windows.
In the meantime, Windows 10 introduced the "Windows Subsystem for Linux"
(short: WSL), i.e. a way to run Linux applications/distributions in a
thinly-isolated subsystem on Windows (giving rise to many a "2016 is the
Year of Linux on the Desktop" jokes). WSL is getting increasingly
popular, also due to the painless way Linux application can operate
directly ("natively") on files on Windows' file system: the Windows
drives are mounted automatically (e.g. `C:` as `/mnt/c/`).
Taken together, this means that we now have to enable the safe-guards of
Git v1.9.5 also in WSL: it is possible to access a `.git` directory
inside `/mnt/c/` via the 8.3 name `git~1` (unless short name generation
was disabled manually). Since regular Linux distributions run in WSL,
this means we have to enable `core.protectNTFS` at least on Linux, too.
To enable Services for Macintosh in Windows NT to store so-called
resource forks, NTFS introduced "Alternate Data Streams". Essentially,
these constitute additional metadata that are connected to (and copied
with) their associated files, and they are accessed via pseudo file
names of the form `filename:<stream-name>:<stream-type>`.
In a recent patch, we extended `core.protectNTFS` to also protect
against accesses via NTFS Alternate Data Streams, e.g. to prevent
contents of the `.git/` directory to be "tracked" via yet another
alternative file name.
While it is not possible (at least by default) to access files via NTFS
Alternate Data Streams from within WSL, the defaults on macOS when
mounting network shares via SMB _do_ allow accessing files and
directories in that way. Therefore, we need to enable `core.protectNTFS`
on macOS by default, too, and really, on any Operating System that can
mount network shares via SMB/CIFS.
A couple of approaches were considered for fixing this:
1. We could perform a dynamic NTFS check similar to the `core.symlinks`
check in `init`/`clone`: instead of trying to create a symbolic link
in the `.git/` directory, we could create a test file and try to
access `.git/config` via 8.3 name and/or Alternate Data Stream.
2. We could simply "flip the switch" on `core.protectNTFS`, to make it
"on by default".
The obvious downside of 1. is that it won't protect worktrees that were
clone with a vulnerable Git version already. We considered patching code
paths that check out files to check whether we're running on an NTFS
system dynamically and persist the result in the repository-local config
setting `core.protectNTFS`, but in the end decided that this solution
would be too fragile, and too involved.
The obvious downside of 2. is that everybody will have to "suffer" the
performance penalty incurred from calling `is_ntfs_dotgit()` on every
path, even in setups where.
After the recent work to accelerate `is_ntfs_dotgit()` in most cases,
it looks as if the time spent on validating ten million random
file names increases only negligibly (less than 20ms, well within the
standard deviation of ~50ms). Therefore the benefits outweigh the cost.
Another downside of this is that paths that might have been acceptable
previously now will be forbidden. Realistically, though, this is an
improvement because public Git hosters already would reject any `git
push` that contains such file names.
Note: There might be a similar problem mounting HFS+ on Linux. However,
this scenario has been considered unlikely and in light of the cost (in
the aforementioned benchmark, `core.protectHFS = true` increased the
time from ~440ms to ~610ms), it was decided _not_ to touch the default
of `core.protectHFS`.
This change addresses CVE-2019-1353.
Reported-by: Nicolas Joly <[email protected]>
Helped-by: Garima Singh <[email protected]>
Signed-off-by: Johannes Schindelin <[email protected]>
| 9102f958ee5254b10c0be72672aa3305bf4f4704 | git | neuralsentry | 1 | https://github.com/git/git | https://github.com/git/git/commit/9102f958ee5254b10c0be72672aa3305bf4f4704 | 2019-09-09 21:04:41+02:00 |
Merge branch 'ps/http-gssapi-cred-delegation'
In recent versions of cURL, GSSAPI credential delegation is
disabled by default due to CVE-2011-2192; introduce a configuration
to selectively allow enabling this.
* ps/http-gssapi-cred-delegation:
http: control GSSAPI credential delegation
| fbfe878f9777d4d52e1eaef1fca5170b9efee99a | git | neuralsentry | 1 | https://github.com/git/git | https://github.com/git/git/commit/fbfe878f9777d4d52e1eaef1fca5170b9efee99a | 2016-10-06 14:53:11-07:00 |
Merge branch 'ps/apply-beyond-symlink' into maint-2.30
Fix a vulnerability (CVE-2023-23946) that allows crafted input to trick
`git apply` into writing files outside of the working tree.
* ps/apply-beyond-symlink:
dir-iterator: prevent top-level symlinks without FOLLOW_SYMLINKS
Signed-off-by: Johannes Schindelin <[email protected]>
| a3033a68ac3886d44ee378784ae242f25afc9970 | git | neuralsentry | 1 | https://github.com/git/git | https://github.com/git/git/commit/a3033a68ac3886d44ee378784ae242f25afc9970 | 2023-02-03 14:57:27-08:00 |
mod_http2: fixing re-entrancy problems with new master event dispatching
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1744751 13f79535-47bb-0310-9956-ffa450edef68
| 134f867cea9f256a49cdab8a1a94467b9ef3bfe5 | httpd | neuralsentry | 1 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/134f867cea9f256a49cdab8a1a94467b9ef3bfe5 | 2016-05-20 14:37:39+00:00 |
mod_http2: version bump, slave connections cleanup strategy changed
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1846125 13f79535-47bb-0310-9956-ffa450edef68
| 833c4951eebe9478c877e75418aa3119f1d1cdbc | httpd | neuralsentry | 0 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/833c4951eebe9478c877e75418aa3119f1d1cdbc | 2018-11-08 10:55:08+00:00 |
Updated to EN revision 1828588
changed permalink
bug report
known issues
and bugfix translated to spanish
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1828637 13f79535-47bb-0310-9956-ffa450edef68
| 6e66beba1e93b8dcc27f9e3ad5d06b549061a89c | httpd | neuralsentry | 0 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/6e66beba1e93b8dcc27f9e3ad5d06b549061a89c | 2018-04-08 12:55:11+00:00 |
Adding .fr translation from the french doc translation project. Credits go to lgentis
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1780462 13f79535-47bb-0310-9956-ffa450edef68
| ae6b0541d5bf72b6086dff0a5bc075641e300073 | httpd | neuralsentry | 0 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/ae6b0541d5bf72b6086dff0a5bc075641e300073 | 2017-01-26 20:02:25+00:00 |
Run buildconf using the specific APR/APR-util versions if configured.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1869541 13f79535-47bb-0310-9956-ffa450edef68
| cc470ff55912783b6d5e04ddbe3cdcc3d68c38a1 | httpd | neuralsentry | 0 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/cc470ff55912783b6d5e04ddbe3cdcc3d68c38a1 | 2019-11-08 11:02:16+00:00 |
Clarify pool lifetime constraints when modifying ap_server_config_defines.
PR: 63516
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1861672 13f79535-47bb-0310-9956-ffa450edef68
| 314fb18f15ceb32589e40224257faeac6c8768b2 | httpd | neuralsentry | 0 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/314fb18f15ceb32589e40224257faeac6c8768b2 | 2019-06-20 07:27:06+00:00 |
mod_dav: making mod_dav.h compile with clang again
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1748155 13f79535-47bb-0310-9956-ffa450edef68
| 3597b9a443d0a56a46dd84b543fc5b7a85c8934b | httpd | neuralsentry | 0 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/3597b9a443d0a56a46dd84b543fc5b7a85c8934b | 2016-06-13 09:31:09+00:00 |
initialize args to not print garbage mem during a RewriteRule parse error
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1681795 13f79535-47bb-0310-9956-ffa450edef68
| 2e4745c7a6694a7a00f79042e393f31bcf7766bd | httpd | neuralsentry | 1 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/2e4745c7a6694a7a00f79042e393f31bcf7766bd | 2015-05-26 17:24:13+00:00 |
Fix broken link
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1745810 13f79535-47bb-0310-9956-ffa450edef68
| 643ef79c690780ba6ac73034f70b19d71f42c5e7 | httpd | neuralsentry | 0 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/643ef79c690780ba6ac73034f70b19d71f42c5e7 | 2016-05-27 20:25:04+00:00 |
fr doc rebuild.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1909157 13f79535-47bb-0310-9956-ffa450edef68
| 352fd2c766807ac8be127dba1b13f90c9632bb30 | httpd | neuralsentry | 0 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/352fd2c766807ac8be127dba1b13f90c9632bb30 | 2023-04-15 14:25:18+00:00 |
mod_cgid: Continuation of r1862968, experimental fd passing support.
Split out CGI bucket implementation from mod_cgi and use in both
mod_cgi and mod_cgid, bringing stderr handling in mod_cgid up to par
with mod_cgi. (There is a lot of code which has been copied between
mod_cgi{,d} so there's scope for further reduction of source
duplication between the modules using this header)
* modules/generators/cgi_common.h: Copied from mod_cgi.c, removed
everything but the CGI bucket implementation with only one change:
(struct cgi_bucket_data, cgi_bucket_create, cgi_bucket_read): Take a
timeout on bucket creation, store and use on reads.
* modules/generators/mod_cgi.c [APR_FILES_AS_SOCKETS]: Include
cgi_common.h.
(cgi_handler): Pass configured timeout to CGI bucket.
* modules/generators/mod_cgid.c: Include cgi_common.h.
(log_script_err): Copy from mod_cgi.c.
(log_script): Use log_script_err.
(send_req): Take fd for stderr.
(cgid_child_errfn): Handle fd-passing case by writing error
to stderr for client to pass through ap_log_rerror.
(cgid_handler): Create pipe for stderr, pass write-end to
server via send_req, use read-end to create CGI bucket. Handle
stderr output in failure paths.
PR: 54221
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1863191 13f79535-47bb-0310-9956-ffa450edef68
| eda8ddfc718ec893d842a867e6ad6c0f05fa7557 | httpd | neuralsentry | 0 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/eda8ddfc718ec893d842a867e6ad6c0f05fa7557 | 2019-07-17 07:51:53+00:00 |
motorz: add missing (fix duplicated) APLOGNOs.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1674609 13f79535-47bb-0310-9956-ffa450edef68
| 38159b5726526952cae7fe16b56962dfcc195657 | httpd | neuralsentry | 1 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/38159b5726526952cae7fe16b56962dfcc195657 | 2015-04-19 11:53:07+00:00 |
PR63678: Clarify fcgistarter -c parm
Submitted By: Giovanni Bechis <giovanni paclan.it>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1873395 13f79535-47bb-0310-9956-ffa450edef68
| d365a29a6797d326402e246db998207fc3491790 | httpd | neuralsentry | 0 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/d365a29a6797d326402e246db998207fc3491790 | 2020-01-31 02:28:33+00:00 |
adding --enable-http2 as preferred config option
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1704826 13f79535-47bb-0310-9956-ffa450edef68
| 93eb6be6c42f7bc44e20275c2d34266c1b383eb8 | httpd | neuralsentry | 0 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/93eb6be6c42f7bc44e20275c2d34266c1b383eb8 | 2015-09-23 12:06:41+00:00 |
Support OpenSSL 1.1.0.
- use common code for OpenSSL pre-1.1.0 and
1.1.0 where possible.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1730422 13f79535-47bb-0310-9956-ffa450edef68
| d7639a5ad052a8c44b0735e6782c546bfb9db290 | httpd | neuralsentry | 0 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/d7639a5ad052a8c44b0735e6782c546bfb9db290 | 2016-02-14 22:40:07+00:00 |
added AP_DECLARE for new ap_create_request
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1734231 13f79535-47bb-0310-9956-ffa450edef68
| ded480d219d73e74a2a17f35f73e42de38c4d676 | httpd | neuralsentry | 0 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/ded480d219d73e74a2a17f35f73e42de38c4d676 | 2016-03-09 12:39:04+00:00 |
Remove a space to synch with 2.4.x.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1793314 13f79535-47bb-0310-9956-ffa450edef68
| 800af538619e7bf1e66384b880c2e80b34d1adbd | httpd | neuralsentry | 0 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/800af538619e7bf1e66384b880c2e80b34d1adbd | 2017-05-01 11:58:37+00:00 |
Clean up an edge case where obs-fold continuation preceeds the first header.
This patch restructures the loop for legibility with a loop continuation,
allowing us to flatten all of this hard-to-follow code. The subsequent
patch will be a whitespace-only change for formatting.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1755098 13f79535-47bb-0310-9956-ffa450edef68
| 0a8addebb095f6f27d5ca1f41dbbdd304c539958 | httpd | neuralsentry | 1 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/0a8addebb095f6f27d5ca1f41dbbdd304c539958 | 2016-08-03 16:46:20+00:00 |
move the assignment to the end of the loop.
This is more readable and isn't miscompiled w/ -O3 on a certain
unnamed EBCDIC platforms compiler.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1840678 13f79535-47bb-0310-9956-ffa450edef68
| 8167ffff20f98830770313137b13c03d8e485308 | httpd | neuralsentry | 1 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/8167ffff20f98830770313137b13c03d8e485308 | 2018-09-12 13:06:00+00:00 |
* Make aliases more robust against potential traversal attacks, by using
apr_filepath_merge to merge the real path and the remainder of the fake
path like we do in the same situation for resources mapped by
DocumentRoot.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1894024 13f79535-47bb-0310-9956-ffa450edef68
| d8b3d1f0f6ed16ff6f83a30513aac573a8a44c34 | httpd | neuralsentry | 1 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/d8b3d1f0f6ed16ff6f83a30513aac573a8a44c34 | 2021-10-08 10:49:06+00:00 |
documentation rebuild
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1820313 13f79535-47bb-0310-9956-ffa450edef68
| 91155a211fc468281bc67a48e280605fbc218ccd | httpd | neuralsentry | 0 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/91155a211fc468281bc67a48e280605fbc218ccd | 2018-01-05 15:30:52+00:00 |
Logging update
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1782164 13f79535-47bb-0310-9956-ffa450edef68
| 2eef1176662f0f6453b1a0f684ca18b066ae93b8 | httpd | neuralsentry | 0 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/2eef1176662f0f6453b1a0f684ca18b066ae93b8 | 2017-02-08 13:23:36+00:00 |
Remove some useless 'return' statements.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1715567 13f79535-47bb-0310-9956-ffa450edef68
| f3de5dcfe6db72846da938b30ad1e5a84c0de585 | httpd | neuralsentry | 0 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/f3de5dcfe6db72846da938b30ad1e5a84c0de585 | 2015-11-21 20:42:39+00:00 |
Remove backported entry (see part of r1772678 which backports r1426827)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1814021 13f79535-47bb-0310-9956-ffa450edef68
| 7f9265f80ccec54a57054ee4d15efd3eca4c4d12 | httpd | neuralsentry | 0 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/7f9265f80ccec54a57054ee4d15efd3eca4c4d12 | 2017-11-01 23:40:43+00:00 |
test_h2_700_11, limit parallel connections, better error output
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1909566 13f79535-47bb-0310-9956-ffa450edef68
| 67a0bc26e5253a1858a1b632fd0dbcd9c59d93ac | httpd | neuralsentry | 0 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/67a0bc26e5253a1858a1b632fd0dbcd9c59d93ac | 2023-05-02 10:37:13+00:00 |
backported
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1834897 13f79535-47bb-0310-9956-ffa450edef68
| a5c4b0a3356cb48cdf6470abc3b00505d8d08944 | httpd | neuralsentry | 0 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/a5c4b0a3356cb48cdf6470abc3b00505d8d08944 | 2018-07-02 20:49:25+00:00 |
Updated broken link and added a clarification example for mod_authn_dbm. PR: 59558
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1743967 13f79535-47bb-0310-9956-ffa450edef68
| ad8095030ee040483cbc46f09875da0c9ec2d511 | httpd | neuralsentry | 0 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/ad8095030ee040483cbc46f09875da0c9ec2d511 | 2016-05-15 21:02:10+00:00 |
mpm_event: minor code simplification
- move variable initializations into declarations
- use max_workers variable
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1757030 13f79535-47bb-0310-9956-ffa450edef68
| c3293266ce37784a3d60cfb199ccf6725ee07d39 | httpd | neuralsentry | 0 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/c3293266ce37784a3d60cfb199ccf6725ee07d39 | 2016-08-20 20:45:40+00:00 |
mod_remoteip: Use r->useragent_addr as the root trusted address for verifying.
This fixes issue resulting in setting of bad useragent_ip when internal
redirection has been generated as response to the request (typically as
result of "ErrorDocument 40x").
In this case, the original request has been handled by mod_remoteip and its
useragent_ip has been changed properly, but when internal redirection
to ErrorDocument has been generated later, the mod_remoteip's handler has been
executed again with *the same* c->client_addr as in the original request. If
c->client_addr IP is trusted, this results in bad useragent_ip being set.
When using r->useragent_addr as the root trusted address instead of
c->client_addr, the internal redirection uses the first non-trusted
IP in this particular case, so it won't change the r->useragent_ip during
the internal redirection to ErrorDocument.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1688399 13f79535-47bb-0310-9956-ffa450edef68
| dd6c959b3625048ee15ba4ad72e6cb7bcaf91020 | httpd | neuralsentry | 1 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/dd6c959b3625048ee15ba4ad72e6cb7bcaf91020 | 2015-06-30 08:40:17+00:00 |
Harden mod_session and avoid overflow in case of indecently large session
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1900335 13f79535-47bb-0310-9956-ffa450edef68
| caf4efca9f6bf6e14969b5662d7f47b010408940 | httpd | neuralsentry | 1 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/caf4efca9f6bf6e14969b5662d7f47b010408940 | 2022-04-27 20:08:50+00:00 |
Fix doc as spotted by Mike Matthews in online doc
Fix link to distcache.
http://www.distcache.org/ --> http://distcache.sourceforge.net/
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1740717 13f79535-47bb-0310-9956-ffa450edef68
| 37c020680d0bfb2366447e64272ed253ae668136 | httpd | neuralsentry | 0 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/37c020680d0bfb2366447e64272ed253ae668136 | 2016-04-24 17:20:23+00:00 |
Fix maintainer mode with GCC/Clang.
Setting -Wstrict-prototypes in combination
with -Werror leads to compiler errors during
configure checks (autoconf generates incomplete
prototypes).
Adding -Wno-error=strict-prototypes lets the
compiler tolerate those.
Possible future enhancement: remember such
"configure time only" flags and remove them
from CFLAGS before generating our build time
files (Makefile, config_vars.mk etc.), so that
the full -Werror is in place during building.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1812263 13f79535-47bb-0310-9956-ffa450edef68
| 0da02415a578512570aaee6598e1dfc07ce42e4d | httpd | neuralsentry | 1 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/0da02415a578512570aaee6598e1dfc07ce42e4d | 2017-10-16 09:22:38+00:00 |
emphasize the meaning of this doc for UseCanonicalPhysicalPort
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1825740 13f79535-47bb-0310-9956-ffa450edef68
| 1ba2e2e633eb4240f0b216c44c188ba9a54143a9 | httpd | neuralsentry | 0 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/1ba2e2e633eb4240f0b216c44c188ba9a54143a9 | 2018-03-02 18:54:26+00:00 |
Add the AsyncFilter directive that allows the asynchronous filter
functionality to be switched off for certain classes of filters.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1707161 13f79535-47bb-0310-9956-ffa450edef68
| 2da6c9a57a7473c52d81b87e541228225691db6f | httpd | neuralsentry | 0 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/2da6c9a57a7473c52d81b87e541228225691db6f | 2015-10-06 22:33:03+00:00 |
ap_regex: Use Thread Local Storage (if efficient) to avoid allocations.
PCRE2 wants an opaque context by providing the API to allocate and free it, so
to minimize these calls we maintain one opaque context per thread (in Thread
Local Storage, TLS) grown as needed, and while at it we do the same for PCRE1
ints vectors. Note that this requires a fast TLS mechanism to be worth it,
which is the case of apr_thread_data_get/set() from/to apr_thread_current()
when APR_HAS_THREAD_LOCAL; otherwise we'll do the allocation and freeing for
each ap_regexec().
The small stack vector is used for PCRE1 && !APR_HAS_THREAD_LOCAL only now.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1897240 13f79535-47bb-0310-9956-ffa450edef68
| 747df57e08b23cf93c01b678de35b306e0e8bf6c | httpd | neuralsentry | 0 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/747df57e08b23cf93c01b678de35b306e0e8bf6c | 2022-01-20 11:09:34+00:00 |
fix for detecting direct mode on a TLS connections
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1691582 13f79535-47bb-0310-9956-ffa450edef68
| c5ebe036e67551590e0f137561c7e9919e347752 | httpd | neuralsentry | 1 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/c5ebe036e67551590e0f137561c7e9919e347752 | 2015-07-17 14:52:11+00:00 |
log2n compilation error fix, cache digest calculation fix
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1725262 13f79535-47bb-0310-9956-ffa450edef68
| 32ebc57fd198ffa0133178a87a669a9409e7855c | httpd | neuralsentry | 1 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/32ebc57fd198ffa0133178a87a669a9409e7855c | 2016-01-18 13:10:27+00:00 |
Fixing trace logging printf to have the correct args now that we number certs.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1887965 13f79535-47bb-0310-9956-ffa450edef68
| 21f16155c38e406e0a0daaa60a539d66128cf044 | httpd | neuralsentry | 1 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/21f16155c38e406e0a0daaa60a539d66128cf044 | 2021-03-23 15:25:34+00:00 |
PR63688 balancer csrf problems
fix case-sensitive referer check
Submitted By: Armin Abfalterer
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1865749 13f79535-47bb-0310-9956-ffa450edef68
| 0951669df6cd687511c10b1c889ba746407f4229 | httpd | neuralsentry | 1 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/0951669df6cd687511c10b1c889ba746407f4229 | 2019-08-23 13:06:57+00:00 |
mod_proxy_http: fix load-balancer fallback for requests with a body.
Since r1656259 (or r1656259 in 2.4.41) and the move of prefetch before connect,
the balancer fallback case where proxy_http_handler() is re-entered with the
next balancer member broke.
We need to save the body (partially) prefetched the first time and reuse it on
successive calls, otherwise we might forward partial or empty body.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1869216 13f79535-47bb-0310-9956-ffa450edef68
| 729909018201bf94587a430414f59cc9fbf64547 | httpd | neuralsentry | 1 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/729909018201bf94587a430414f59cc9fbf64547 | 2019-10-31 14:15:07+00:00 |
mod_proxy_ajp: Rename output_failed to client_failed in ap_proxy_ajp_request().
Since any read/write error is caught by this flag, it really means "dialog with
client <ip:port> failed" (as per the associated log message), whereas write to
client (output) errors need not be handled differently than any error occuring
after some bytes have already been sent to the client, which is the purpose of
the data_sent flag.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1674056 13f79535-47bb-0310-9956-ffa450edef68
| 70a0b58c6b8e8ec285c2d374636166816a87eef9 | httpd | neuralsentry | 0 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/70a0b58c6b8e8ec285c2d374636166816a87eef9 | 2015-04-16 12:08:25+00:00 |
Put quotation marks around the <Location> path.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1673656 13f79535-47bb-0310-9956-ffa450edef68
| 191ded935d5e67287da9216dbc8be981b2c7553b | httpd | neuralsentry | 0 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/191ded935d5e67287da9216dbc8be981b2c7553b | 2015-04-15 06:29:14+00:00 |
Do not double encode encoded slashes
In case that AllowEncodedSlashes is set to NoDecode do not double encode
encoded slashes in the URL sent by the reverse proxy to the backend.
* include/ap_mmn.h: Document the addition of ap_proxy_canonenc_ex to the API.
* modules/proxy/mod_proxy.h: Declare ap_proxy_canonenc_ex and define flag
values.
* modules/proxy/proxy_util.c: Implement ap_proxy_canonenc_ex by modifying
ap_proxy_canonenc accordingly and reimplement ap_proxy_canonenc to
use ap_proxy_canonenc_ex with the appropriate flag.
* modules/http2/mod_proxy_http2.c, modules/proxy/mod_proxy_*.c: Set the
correct flag based on the AllowEncodedSlashes configuration and use
ap_proxy_canonenc_ex instead of ap_proxy_canonenc.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1908341 13f79535-47bb-0310-9956-ffa450edef68
| 2fa15c2c06213dc516a5383faa4bce3c74b9286a | httpd | neuralsentry | 1 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/2fa15c2c06213dc516a5383faa4bce3c74b9286a | 2023-03-13 10:24:30+00:00 |
docs: update the prettify.js files with new directives
Procedure that I've used:
1) Copy https://httpd.apache.org/docs/trunk/mod/directives.html
to a text file.
2) Generate a csv with something like
cat /tmp/trunk_directives | sort | tr "\n" ","
3) Replace the content of CONFIG_KEYWORDS in prettify.js
with the list generated in 2)
4) Run the command the MINIFY command to generate prettify.min.js
This commit should hopefully allow a better syntax highlighting
in our docs examples.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1808203 13f79535-47bb-0310-9956-ffa450edef68
| 169929b0c0d4100ee5c5d73eca249bdc5ca185cc | httpd | neuralsentry | 0 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/169929b0c0d4100ee5c5d73eca249bdc5ca185cc | 2017-09-13 07:28:57+00:00 |
Fix yaml typo.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1869565 13f79535-47bb-0310-9956-ffa450edef68
| 41fd48a11ba8fddd797a66060e1c8cdc25d4e34a | httpd | neuralsentry | 0 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/41fd48a11ba8fddd797a66060e1c8cdc25d4e34a | 2019-11-08 14:30:34+00:00 |
mod_proxy: ap_proxy_create_hdrbrgd() to clear hop-by-hop first and fixup last.
So that ap_proxy_clear_connection() runs on the original headers only and
proxy_run_fixups() on the final ones.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1901461 13f79535-47bb-0310-9956-ffa450edef68
| 9ba58c7c30f4b56004e26017592d9cea5d97d0d6 | httpd | neuralsentry | 1 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/9ba58c7c30f4b56004e26017592d9cea5d97d0d6 | 2022-05-31 15:26:12+00:00 |
Actually cause the Host header to be overridden, as noted by rpluem,
and simplify now that there isn't a log-only mode.
I believe this logic to be busted. Given this request;
GET http://distant-host.com/ HTTP/1.1
Host: proxy-host
we would now fail to evaluate the proxy-host virtual host rules.
This seems like a breaking change to our config. mod_proxy already
follows this rule of RFC7230 section 5.4;
When a proxy receives a request with an absolute-form of
request-target, the proxy MUST ignore the received Host header field
(if any) and instead replace it with the host information of the
request-target. A proxy that forwards such a request MUST generate a
new Host field-value based on the received request-target rather than
forward the received Host field-value.
Section 5.5 of RFC7230 has this to say;
Once the effective request URI has been constructed, an origin server
needs to decide whether or not to provide service for that URI via
the connection in which the request was received. For example, the
request might have been misdirected, deliberately or accidentally,
such that the information within a received request-target or Host
header field differs from the host or port upon which the connection
has been made. If the connection is from a trusted gateway, that
inconsistency might be expected; otherwise, it might indicate an
attempt to bypass security filters, trick the server into delivering
non-public content, or poison a cache. See Section 9 for security
considerations regarding message routing.
Section 5.3.1 states;
To allow for transition to the absolute-form for all requests in some
future version of HTTP, a server MUST accept the absolute-form in
requests, even though HTTP/1.1 clients will only send them in
requests to proxies.
It seems to me we should simply trust the Host: header and dump this whole
mess. If we want to reject requests in absolute form after the proxy modules
have had a chance to accept them, that wouldn't be a bad solution.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1769965 13f79535-47bb-0310-9956-ffa450edef68
| 1fea002b502622c7ca949b9223084a5d714d2849 | httpd | neuralsentry | 1 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/1fea002b502622c7ca949b9223084a5d714d2849 | 2016-11-16 12:05:53+00:00 |
legacy default slash-matching behavior w/ 'MergeSlashes OFF'
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1889036 13f79535-47bb-0310-9956-ffa450edef68
| 6141d5aa3f5cf8f1b89472e7fdb66578810d0ae3 | httpd | neuralsentry | 0 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/6141d5aa3f5cf8f1b89472e7fdb66578810d0ae3 | 2021-04-21 01:02:11+00:00 |
mod_proxy_uwsgi: Stricter backend HTTP response parsing/validation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1907980 13f79535-47bb-0310-9956-ffa450edef68
| 0df5879df8f16b4101ea2365672178b4ae899e9e | httpd | neuralsentry | 1 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/0df5879df8f16b4101ea2365672178b4ae899e9e | 2023-03-02 15:10:30+00:00 |
mod_session_crypto: Authenticate the session data/cookie with a MAC (SipHash)
to prevent deciphering or tampering with a padding oracle attack.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1772812 13f79535-47bb-0310-9956-ffa450edef68
| fed21b132df300fc039e8516a73cb1c7930fcec2 | httpd | neuralsentry | 1 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/fed21b132df300fc039e8516a73cb1c7930fcec2 | 2016-12-05 23:43:05+00:00 |
Rename ap_casecmpstr[n]() to ap_cstr_casecmp[n](), update with APR doxygen
This time, with merge-ability back into 2.4.x
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1747478 13f79535-47bb-0310-9956-ffa450edef68
| 3844c66c2c5b89d9d99be6ca3e4ad10dada359e8 | httpd | neuralsentry | 0 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/3844c66c2c5b89d9d99be6ca3e4ad10dada359e8 | 2016-06-09 01:05:45+00:00 |
Add some more modules that use mod_watchdog
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1839250 13f79535-47bb-0310-9956-ffa450edef68
| 65f9bc30e7d918c260793c1f8897dbd16d3a31b0 | httpd | neuralsentry | 0 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/65f9bc30e7d918c260793c1f8897dbd16d3a31b0 | 2018-08-26 21:10:33+00:00 |
ab: Use new openssl-3 API when available.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1908440 13f79535-47bb-0310-9956-ffa450edef68
| f8a55c201217ddb7d2690f475f991a6b0d0cf5aa | httpd | neuralsentry | 0 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/f8a55c201217ddb7d2690f475f991a6b0d0cf5aa | 2023-03-16 14:36:01+00:00 |
Avoid NULL pointer dereferences for empty environment variable values
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1879878 13f79535-47bb-0310-9956-ffa450edef68
| 57df7f972eea050bf0efe119cd7a719741906041 | httpd | neuralsentry | 1 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/57df7f972eea050bf0efe119cd7a719741906041 | 2020-07-15 08:24:13+00:00 |
Add a note about string comparison operators
PR 63919
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1870427 13f79535-47bb-0310-9956-ffa450edef68
| f8d464d94823fe366687507a04fd944d208f1ee3 | httpd | neuralsentry | 0 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/f8d464d94823fe366687507a04fd944d208f1ee3 | 2019-11-25 22:14:48+00:00 |
Note guide
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1729668 13f79535-47bb-0310-9956-ffa450edef68
| 34bec8da4f4a879c92b66f5c52f0b0151ed00921 | httpd | neuralsentry | 0 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/34bec8da4f4a879c92b66f5c52f0b0151ed00921 | 2016-02-10 17:20:46+00:00 |
Support for OpenSSL 1.1.0:
- ab: use new API SSL_CTX_set_max_proto_version()
and SSL_CTX_set_min_proto_version() in
combination with TLS_client_method() instead
of the old deprecated methods.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1735891 13f79535-47bb-0310-9956-ffa450edef68
| fc8497424b5f66d20218087461be4e96212bae3e | httpd | neuralsentry | 0 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/fc8497424b5f66d20218087461be4e96212bae3e | 2016-03-20 18:26:22+00:00 |
* modules/proxy/ajp_header.c (sc_for_req_header): Zero-initialize
buffer to avoid potential (harmless) memcmp comparison against
garbage stack data later. (clang warning).
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1842881 13f79535-47bb-0310-9956-ffa450edef68
| 6ac821d9af5b2c84e77bc02ebb179c64c7f4653c | httpd | neuralsentry | 1 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/6ac821d9af5b2c84e77bc02ebb179c64c7f4653c | 2018-10-05 10:12:12+00:00 |
mpm_{event,worker,prefork}: late stop of children processes on restart.
Change how the main process handles restarts, from:
0. <restart signal>
1. stop old generation of children processes (graceful or not)
2. reload new configuration
3. start new generation of children processes
to:
0. <restart signal>
1. reload new configuration
2. stop old generation of children processes (graceful or not)
3. start new generation of children processes
The delay between stop and start is now very short and does not depend on the
reload time (which can be quite long with many vhosts and/or complex setups
with regexps or whatever third party components to compile).
Also, while reloading, the old generation of children processes keeps accepting
and handling incoming connections until the new generation is up to take over.
* os/unix/unixd.c (sig_term, sig_restart):
Set AP_MPMQ_STOPPING only once.
* server/listen.c (ap_duplicate_listeners):
Use ap_log_error() the main server instead of ap_log_perror().
* server/mpm/{event,worker,prefork}/{event,worker,prefork}.c
({event,worker,prefork}_retained_data):
Save the generation pool pointer (gen_pool) and all the buckets here, they
won't be cleared before the reload like pconf so they need a persitent
storage accross restarts (i.e. retained->gen_pool).
* server/mpm/{event,worker,prefork}/{event,worker,prefork}.c
(perform_idle_server_maintenance, child_main, make_child):
Change usage of all_buckets (previously with global/static scope) to the new
retained->buckets array.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1892587 13f79535-47bb-0310-9956-ffa450edef68
| 243c5fad0a8da9a1008681ac60f5b981de6c18d6 | httpd | neuralsentry | 0 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/243c5fad0a8da9a1008681ac60f5b981de6c18d6 | 2021-08-24 22:22:40+00:00 |
Fix a spurious test where a condition is always true:
if ((cfg->skipto != NULL) && (ctx->flags | ENC_SKIPTO)) {
^^^^^^^^^^^^^^^^^^^^^^^
This is apparently harmless because, in 'xml2enc_filter_init', the ENC_SKIPTO bit of 'flags' is set to ENC_SKIPTO if 'skipto' is non-NULL.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1704099 13f79535-47bb-0310-9956-ffa450edef68
| a5a367921ce3335d7c7450766546a2471da52b34 | httpd | neuralsentry | 1 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/a5a367921ce3335d7c7450766546a2471da52b34 | 2015-09-20 06:35:37+00:00 |
On the trunk:
core: avoid socket timeout settings etc. on slave connections.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1787606 13f79535-47bb-0310-9956-ffa450edef68
| ad79dc4101afd796e6f47342838a40102552e610 | httpd | neuralsentry | 1 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/ad79dc4101afd796e6f47342838a40102552e610 | 2017-03-19 10:33:43+00:00 |
Make sure updatelbstatus() is NULL
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1802845 13f79535-47bb-0310-9956-ffa450edef68
| e85309d373a68650fa0d4eae73bbfb1f5121c9c0 | httpd | neuralsentry | 1 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/e85309d373a68650fa0d4eae73bbfb1f5121c9c0 | 2017-07-24 17:19:55+00:00 |
adding my cents
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1776014 13f79535-47bb-0310-9956-ffa450edef68
| 678de36ab1d79bd69ea5d1dca27ca2ebeef61e6d | httpd | neuralsentry | 0 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/678de36ab1d79bd69ea5d1dca27ca2ebeef61e6d | 2016-12-25 16:19:47+00:00 |
PR59630: include OpenSSL_Applink when compiling on Visual Studio 2015 and up
Submitted By: Jan Ehrhardt <phpdev ehrhardt.nl>
Committed By: gsmith
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1745767 13f79535-47bb-0310-9956-ffa450edef68
| 94b38ab53b78a11a6a97f2c22e8805e064a40d47 | httpd | neuralsentry | 0 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/94b38ab53b78a11a6a97f2c22e8805e064a40d47 | 2016-05-27 15:47:23+00:00 |
RFC2616 defines #rules as:
#rule
A construct "#" is defined, similar to "*", for defining lists of
elements. The full form is "<n>#<m>element" indicating at least
<n> and at most <m> elements, each separated by one or more commas
(",") and OPTIONAL linear white space (LWS). This makes the usual
form of lists very easy; a rule such as
( *LWS element *( *LWS "," *LWS element ))
can be shown as
1#element
It also defines Linear White Space (LWS) as:
LWS = [CRLF] 1*( SP | HT )
The actual implementation only accepts SP (Space) and not HT (Horizontal Tab) when parsing cache related header fields (i.e. "Vary", "Cache-Control" and "Pragma")
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1710723 13f79535-47bb-0310-9956-ffa450edef68
| 46b3048bd6c3d3bb6fba5f386be2b40ca85fbc04 | httpd | neuralsentry | 0 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/46b3048bd6c3d3bb6fba5f386be2b40ca85fbc04 | 2015-10-27 06:45:03+00:00 |
PR58761: developer doc improvements.
Submitted By: Luca Toscano
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1721973 13f79535-47bb-0310-9956-ffa450edef68
| c1980adcd69f0b5b7086bf3be087edd9fd60c19e | httpd | neuralsentry | 0 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/c1980adcd69f0b5b7086bf3be087edd9fd60c19e | 2015-12-28 18:23:36+00:00 |
Some renaming to make things more clear.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1726317 13f79535-47bb-0310-9956-ffa450edef68
| 2c8abebd62fcd9aaf7c9a73715930041f4c935b0 | httpd | neuralsentry | 0 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/2c8abebd62fcd9aaf7c9a73715930041f4c935b0 | 2016-01-22 21:26:53+00:00 |
mod_brotli: Add initial implementation.
This new module supports dynamic Brotli (RFC 7932) compression. Existing
mod_deflate installations can benefit from better compression ratio by
sending Brotli-compressed data to the clients that support it:
SetOutputFilter BROTLI_COMPRESS;DEFLATE
The module features zero-copy processing, which is only possible with the
new API from the upcoming 1.0.x series of brotli [1]. The Linux makefile
works against libbrotli [2], as currently the core brotli repository doesn't
offer a way to build a library [3]. Apart from that, only the CMake build
is now supported.
[1] https://github.com/google/brotli
[2] https://github.com/bagder/libbrotli
[3] https://github.com/google/brotli/pull/332
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1761714 13f79535-47bb-0310-9956-ffa450edef68
| 44c1d726d18760cd9e9da670fcc90c4902a9eee4 | httpd | neuralsentry | 0 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/44c1d726d18760cd9e9da670fcc90c4902a9eee4 | 2016-09-21 10:38:48+00:00 |
mod_ssl: Extend the coalescing filter to avoid sending HTTP response
headers in a separate TLS record to the response body in some cases.
* modules/ssl/ssl_engine_io.c:
Increase size of coalesce buffer to AP_IOBUFSIZE (8Kb).
(ssl_io_filter_coalesce): Try harder to fill the prefix which
gets coalesced, including a read&split of a morphing bucket type
Github: closes #106
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1875871 13f79535-47bb-0310-9956-ffa450edef68
| 21530e63e2f9102904599df1bf397a7de0167458 | httpd | neuralsentry | 1 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/21530e63e2f9102904599df1bf397a7de0167458 | 2020-03-30 09:17:35+00:00 |
PR63628: individual status codes for ProxyErrorOverride.
Support specifying the http status codes to be considered by ProxyErrorOverride
Submitted By: Martin Drößler <mail martindroessler.de>
Committed By: covener
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1876404 13f79535-47bb-0310-9956-ffa450edef68
| a545608f8355fba22eee1edf86a63f0be785f595 | httpd | neuralsentry | 0 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/a545608f8355fba22eee1edf86a63f0be785f595 | 2020-04-11 21:19:08+00:00 |
mod-proxy documentation rebuild
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1802076 13f79535-47bb-0310-9956-ffa450edef68
| f21bbb56597310ee4a90e7b1f74ce32d758066db | httpd | neuralsentry | 0 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/f21bbb56597310ee4a90e7b1f74ce32d758066db | 2017-07-16 16:05:07+00:00 |
* modules/ssl/ssl_util.c (ssl_util_vhostid): Simplify code,
no functional change.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1828912 13f79535-47bb-0310-9956-ffa450edef68
| 90bfc436ee18e366f531caceab8942c579a0bc49 | httpd | neuralsentry | 0 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/90bfc436ee18e366f531caceab8942c579a0bc49 | 2018-04-11 15:58:04+00:00 |
fr doc - XML file update.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1883018 13f79535-47bb-0310-9956-ffa450edef68
| c68dc769ed8bb01f69a214a717bb923d48e56d4d | httpd | neuralsentry | 0 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/c68dc769ed8bb01f69a214a717bb923d48e56d4d | 2020-10-31 14:00:32+00:00 |
Test mod_cgid w/fdpassing.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1879108 13f79535-47bb-0310-9956-ffa450edef68
| 936723eaf00805d1da71411d4072c82bd6e08998 | httpd | neuralsentry | 0 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/936723eaf00805d1da71411d4072c82bd6e08998 | 2020-06-23 09:45:07+00:00 |
don't use workaround on trunk
it breaks the build w/ maintainer mode.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1838054 13f79535-47bb-0310-9956-ffa450edef68
| a54f7fbbe641642f45edc2dbcd51ca748608ebd8 | httpd | neuralsentry | 1 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/a54f7fbbe641642f45edc2dbcd51ca748608ebd8 | 2018-08-14 21:25:54+00:00 |
Save a few bytes in the conf pool.
The directive's names don't need to be duplicated in this pool when parsing the configuration file.
Either they match a known directive name and we can use it directly if needed. Otherwise, it is still possible to make a copy afterwards.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1744980 13f79535-47bb-0310-9956-ffa450edef68
| a023efd4b1228c05e6fc91c8542fe24395a501e6 | httpd | neuralsentry | 0 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/a023efd4b1228c05e6fc91c8542fe24395a501e6 | 2016-05-21 20:39:59+00:00 |
*) mod_http2: remove unused and insecure code. Fixes PR66037.
Thanks to Ronald Crane (Zippenhop LLC) for reporting this.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1900356 13f79535-47bb-0310-9956-ffa450edef68
| cc894406d8e2c2afb79269dcb6190c28837fc142 | httpd | neuralsentry | 1 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/cc894406d8e2c2afb79269dcb6190c28837fc142 | 2022-04-28 10:41:48+00:00 |
Support for OpenSSL 1.1.0:
- symbols get_rfc..._prime_... have been
renamed to BN_get_rfc..._prime_...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1740652 13f79535-47bb-0310-9956-ffa450edef68
| 6ba30d2c2b41e2322cd3df9df85e80d0d4d20d05 | httpd | neuralsentry | 0 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/6ba30d2c2b41e2322cd3df9df85e80d0d4d20d05 | 2016-04-23 12:36:43+00:00 |
event.xml: fix reference to upcoming httpd release
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1807868 13f79535-47bb-0310-9956-ffa450edef68
| 9d9ccac7d7fdb392c1b8eea075a269f6332f551a | httpd | neuralsentry | 0 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/9d9ccac7d7fdb392c1b8eea075a269f6332f551a | 2017-09-09 09:29:47+00:00 |
On the trunk:
mod_http2: Fix for possible CPU busy loop introduced in v1.10.3 where a stream may keep
the session in continuous check for state changes that never happen.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1797745 13f79535-47bb-0310-9956-ffa450edef68
| 0541926064c7adb62e784e146cd0e8f901b82299 | httpd | neuralsentry | 1 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/0541926064c7adb62e784e146cd0e8f901b82299 | 2017-06-06 07:58:57+00:00 |
ap_regex: Follow up to r1897244: Fix pmatch overflow and returned value at limits.
Don't write to pmatch[nlimit:] when ncaps > nlimit, rc should not exceed nmatch
either as before r1897244.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1897248 13f79535-47bb-0310-9956-ffa450edef68
| 38dddb187af8189d12fee18aea367824a20ffd10 | httpd | neuralsentry | 1 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/38dddb187af8189d12fee18aea367824a20ffd10 | 2022-01-20 12:47:02+00:00 |
mod_rewrite: URI-to-filename rewrites to transparently handle proxy mappings.
Since mod_rewrite works on r->filename and mod_proxy's mapping=servlet|decoded
sets its "proxy:" URL there at pre_translate_name stage (i.e. before
mod_rewrite's translate_name hook), users have to match the full proxy URL in
their RewriteRules to handle proxy mappings, which is not very friendly nor
consistent with how proxy non-mapping requests have to be matched.
Let's use r->filename = r->uri in hook_uri2file() for pre_trans'ed reverse
proxy requests, and restore r->filename to its original value if the request
was finally DECLINED (like in hook_fixup).
But if a proxy mapping gets rewritten to a non-proxy request, clear any
proxy specific r->proxyreq or r->handler so that processing continues
accordingly.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1898509 13f79535-47bb-0310-9956-ffa450edef68
| 815cf05bb2d506f44a35b65e93de393d5410c779 | httpd | neuralsentry | 1 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/815cf05bb2d506f44a35b65e93de393d5410c779 | 2022-03-01 13:26:03+00:00 |
Satisfy XML validation and fix some typos
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1717818 13f79535-47bb-0310-9956-ffa450edef68
| 3bf386ebf37427c1f69ef203ecfd7c6b645255d7 | httpd | neuralsentry | 0 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/3bf386ebf37427c1f69ef203ecfd7c6b645255d7 | 2015-12-03 17:59:50+00:00 |
rotatelogs: fix -n help text
this closes #24
Submitted By: Isaac Boukris <iboukris gmail.com>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1780308 13f79535-47bb-0310-9956-ffa450edef68
| d7b14caa5740721a1640ba88ba85713d103100ae | httpd | neuralsentry | 0 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/d7b14caa5740721a1640ba88ba85713d103100ae | 2017-01-26 02:02:59+00:00 |
some small tweaks to get things building again
replace mod_socache_redis.dsp as original was corrupted
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821581 13f79535-47bb-0310-9956-ffa450edef68
| 130ccb055ffecd9dc47193ea4027b6f375e1cc9c | httpd | neuralsentry | 0 | https://github.com/apache/httpd | https://github.com/apache/httpd/commit/130ccb055ffecd9dc47193ea4027b6f375e1cc9c | 2018-01-19 01:54:42+00:00 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.