Commit Graph

30541 Commits

Author SHA1 Message Date
5b6172385f mpm_fdqueue: follow up to r1821624.
Make the allocation and zero-ing in ap_queue_init() => ap_queue_create().



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821660 13f79535-47bb-0310-9956-ffa450edef68
2018-01-19 14:16:01 +00:00
8d5f6ca44f mpm_fdqueue: follow up to r1821624.
Either error matters, simplify code.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821659 13f79535-47bb-0310-9956-ffa450edef68
2018-01-19 14:04:53 +00:00
41ca9b3d01 mpm_fdqueue: follow up to r1821624.
Be explicit in the naming about what's push/pop-ed.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821651 13f79535-47bb-0310-9956-ffa450edef68
2018-01-19 13:46:28 +00:00
0ca4811f5a mpm_worker: follow up to r1821624.
Free idle pools while stopping.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821650 13f79535-47bb-0310-9956-ffa450edef68
2018-01-19 13:30:19 +00:00
a121a58370 mpm_fdqueue: follow up to r1821624.
Cosmetics, 80 cols, no functional change.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821649 13f79535-47bb-0310-9956-ffa450edef68
2018-01-19 13:22:30 +00:00
c61a6e27e5 mpm_fdqueue: follow up to r1821624.
Fix typo in comment.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821648 13f79535-47bb-0310-9956-ffa450edef68
2018-01-19 12:59:12 +00:00
3f16856817 mpm_fdqueue: follow up to r1821624.
The code is not part of the API.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821647 13f79535-47bb-0310-9956-ffa450edef68
2018-01-19 12:57:20 +00:00
e6c430a37c mpm_fdqueue: follow up to r1821624.
The implemention wants APR_HAS_THREADS too.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821644 13f79535-47bb-0310-9956-ffa450edef68
2018-01-19 12:40:05 +00:00
bb88a667a6 mpm_worker: follow up to r1821624.
Use common [mpm_]fdqueue.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821639 13f79535-47bb-0310-9956-ffa450edef68
2018-01-19 12:29:18 +00:00
22d8be1cf5 mpm_fdqueue: follow up to r1821624.
Prepare mpm_worker to use common fdqueue.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821635 13f79535-47bb-0310-9956-ffa450edef68
2018-01-19 12:24:52 +00:00
95fbbd8d27 mpm_fdqueue: follow up to r1821624.
Clear recycled_pools_count in ap_free_idle_pools().



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821632 13f79535-47bb-0310-9956-ffa450edef68
2018-01-19 12:23:05 +00:00
2ef30515cf mpm_fdqueue: follow up to r1821624.
Rename ap_queue_info_get_idlers() to ap_queue_info_num_idlers().



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821629 13f79535-47bb-0310-9956-ffa450edef68
2018-01-19 12:20:44 +00:00
39b3f18392 mpm_fdqueue: follow up to r1821624.
Style, no functional change.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821627 13f79535-47bb-0310-9956-ffa450edef68
2018-01-19 12:15:17 +00:00
2f79ba80b5 mpm_fdqueue: follow up to r1821624.
Opacify fdqueue types.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821626 13f79535-47bb-0310-9956-ffa450edef68
2018-01-19 12:12:17 +00:00
0222a38bc8 mpm_fdqueue: follow up to r1821624.
And now it's mpm_fdqueue, with minimal #includes.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821625 13f79535-47bb-0310-9956-ffa450edef68
2018-01-19 12:07:23 +00:00
62b44b5ec4 Shared fdqueue code between MPMs event and worker into mpm_fdqueue.
This first step moves the files server/mpm/event/fdqueue.[ch] to
server/mpm_fdqueue.[ch] (untouched for now, simple svn move).

Will follow up with the necessary changes to mpm_unix.* for common code.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821624 13f79535-47bb-0310-9956-ffa450edef68
2018-01-19 11:46:12 +00:00
ff2d0af6cb Revert r1821526, r1821527, r1821534, r1821538, r1821539, r1821541, r1821605, r1821607, r1821608.
Instead of copying event/fdqueue.c code into existing mpm_unix.c, losing all
contributors (blame, since r105919...), will restart the series by svn-moving
event/fdqueue.[ch] to server/mpm_fdqueue.[ch] first.

The code is not really unix specific either, so this sounds better.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821619 13f79535-47bb-0310-9956-ffa450edef68
2018-01-19 11:29:00 +00:00
8f45a56cee mpm_worker: Follow up to r1821526.
Use common fdqueue.

[Reverted by r1821619]


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821608 13f79535-47bb-0310-9956-ffa450edef68
2018-01-19 09:40:16 +00:00
56cfe4c25f mpm_unix: Follow up to r1821526.
Prepare mpm_worker to use common fdqueue.

[Reverted by r1821619]


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821607 13f79535-47bb-0310-9956-ffa450edef68
2018-01-19 09:39:29 +00:00
2ce4d05fc5 follow up to r1821582
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821606 13f79535-47bb-0310-9956-ffa450edef68
2018-01-19 09:34:17 +00:00
5cf277ef5d mpm_unix: Follow up to r1821526.
Clear recycled_pools_count in ap_free_idle_pools().

[Reverted by r1821619]


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821605 13f79535-47bb-0310-9956-ffa450edef68
2018-01-19 09:32:53 +00:00
3ff6f80d69 mpm_event: Follow up to r1821558.
Don't crash (in listener) if we can't create the ptrans allocator.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821595 13f79535-47bb-0310-9956-ffa450edef68
2018-01-19 08:26:00 +00:00
0da57e8748 get mod_brotli in build
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821582 13f79535-47bb-0310-9956-ffa450edef68
2018-01-19 02:46:06 +00:00
130ccb055f 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
2018-01-19 01:54:42 +00:00
3326cefa11 Follow up to r1819855: CHANGES entry.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821562 13f79535-47bb-0310-9956-ffa450edef68
2018-01-18 22:08:54 +00:00
21e96b70c7 Follow up to r1821558: CHANGES typo.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821561 13f79535-47bb-0310-9956-ffa450edef68
2018-01-18 22:05:53 +00:00
cf5af9975d mod_event: Let the listener thread do its maintenance job on resources shortage.
PR 61979.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821558 13f79535-47bb-0310-9956-ffa450edef68
2018-01-18 21:07:45 +00:00
8555523bc0 Backported.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821557 13f79535-47bb-0310-9956-ffa450edef68
2018-01-18 21:02:04 +00:00
85695a624a Follow up to r1821526: rename ap_queue_info_get_idlers to ap_queue_info_num_idlers.
[Reverted by r1821619]


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821541 13f79535-47bb-0310-9956-ffa450edef68
2018-01-18 18:40:09 +00:00
d35f2f7675 Follow up to r1821526: style, no functional change.
[Reverted by r1821619]


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821539 13f79535-47bb-0310-9956-ffa450edef68
2018-01-18 18:35:20 +00:00
b31ba4c83c Follow up to r1821526: opacify fdqueue types.
[Reverted by r1821619]


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821538 13f79535-47bb-0310-9956-ffa450edef68
2018-01-18 18:28:25 +00:00
ed1e3421f0 Follow up to r1821526: mpm_unix.h needs this includes only for now.
[Reverted by r1821619]


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821534 13f79535-47bb-0310-9956-ffa450edef68
2018-01-18 18:05:37 +00:00
a4d180680f Follow up to r1821526: mpm_unix.h
The fdqueue code is not for WIN32 (per mpm_unix.c), and does not seem to
require all the #includes (system) it claimed (at least in .h).

[Reverted by r1821619]


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821527 13f79535-47bb-0310-9956-ffa450edef68
2018-01-18 17:54:41 +00:00
1c5106c6bf Share fdqueue code between MPMs event and worker.
This first step moves the content of server/mpm/event/fdqueue.c to
the existing server/mpm_unix.c file, and the server/mpm/event/fdqueue.h file
to trunk/server/mpm_unix.h (untouched for now, simple svn move).

Will follow up with the necessary changes to mpm_unix.* for common code.

[Reverted by r1821619]


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821526 13f79535-47bb-0310-9956-ffa450edef68
2018-01-18 17:45:40 +00:00
a1689af8ce Follow up to r1821504: same comment in event than in worker.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821505 13f79535-47bb-0310-9956-ffa450edef68
2018-01-18 14:56:22 +00:00
85ed30bd14 mpm_{event,worker}: Mask signals for threads created by modules in child init.
PR 62009, so that they don't receive (implicitely) the ones meant for the MPM.

Inspired by: Armin Abfalterer <a.abfalterer gmail.com>
Proposed by: Yann Ylavic



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821504 13f79535-47bb-0310-9956-ffa450edef68
2018-01-18 14:47:41 +00:00
149c60c42e Revert r1821499, will re-commit the right change.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821503 13f79535-47bb-0310-9956-ffa450edef68
2018-01-18 14:43:38 +00:00
f239cf1476 mpm_event,worker: Mask signals for threads created by modules in child init.
PR 62009, so that they don't receive (implicitely) the ones meant for the MPM.

Inspired by: Armin Abfalterer <a.abfalterer gmail com>
Proposed by: Yann Ylavic

[Reverted by r1821503]


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821499 13f79535-47bb-0310-9956-ffa450edef68
2018-01-18 14:19:28 +00:00
48bb2db6fb On the trunk:
mod_md:  removing comments that documented that greenbytes has untransferable copyright to the sources. The rights, of course, remain unaffected, but maybe some people can sleep better.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821374 13f79535-47bb-0310-9956-ffa450edef68
2018-01-17 14:50:58 +00:00
eb0fb1c922 On the trunk:
mod_http2: removing comments that documented that greenbytes has untransferable copyright to the sources. The rights, of course, remain unaffected, but maybe some people can sleep better.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821371 13f79535-47bb-0310-9956-ffa450edef68
2018-01-17 14:41:30 +00:00
4f3fc84c90 fix copy & paste error, util_cookies.h is in include not server.
add util_config.c now needed per steffenal.
http://mail-archives.apache.org/mod_mbox/httpd-dev/201801.mbox/%3C4C412873-869D-4A0C-89E6-397706EFA1F7@apachelounge.com%3E


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821195 13f79535-47bb-0310-9956-ffa450edef68
2018-01-15 19:08:01 +00:00
2c3e0554c3 Fixed word 'Directive' placement in the directives list. In Spanish we must sort them the same as in French. Correct format is: 'Directiva xxxx', not the opposite
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821179 13f79535-47bb-0310-9956-ffa450edef68
2018-01-15 16:15:25 +00:00
7167e7c77c docs: update the prettify.js files with new directives
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821120 13f79535-47bb-0310-9956-ffa450edef68
2018-01-14 22:34:39 +00:00
def5552472 Rebuild.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821107 13f79535-47bb-0310-9956-ffa450edef68
2018-01-14 14:01:21 +00:00
ce5a6e97e1 New XML file.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821105 13f79535-47bb-0310-9956-ffa450edef68
2018-01-14 14:00:17 +00:00
2827edd42f mod_md manual: updated version and added note about current port requirements
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821095 13f79535-47bb-0310-9956-ffa450edef68
2018-01-14 11:47:21 +00:00
8966378f40 Initial version of Spanish Translation for mod_status.xml
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821078 13f79535-47bb-0310-9956-ffa450edef68
2018-01-13 17:33:06 +00:00
97dd94bc93 We track merges at the root only.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821075 13f79535-47bb-0310-9956-ffa450edef68
2018-01-13 16:39:14 +00:00
7a402c43e1 Rebuild.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821064 13f79535-47bb-0310-9956-ffa450edef68
2018-01-13 15:16:50 +00:00
de070caca7 XML update.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821063 13f79535-47bb-0310-9956-ffa450edef68
2018-01-13 15:15:58 +00:00