- Jan 30, 2018
-
-
Stefan Eissing authored
mod_http2: removed obsolete stream detach code, no longer generating events in beam shutdown on pool destroy. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1822624 13f79535-47bb-0310-9956-ffa450edef68
-
Yann Ylavic authored
The core request filter is the only one which should take care of it. In theory the other request filters should have bailed out on EOS already, but that's not always the case (and even less the case on error). So be safe by not sending them a bucket which may destroy the request (and their brigade) underneath them. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1822600 13f79535-47bb-0310-9956-ffa450edef68
-
Yann Ylavic authored
The filter should pass everything up to and including EOR, then bail out. For EOR it can't use a brigade created on r->pool, so retain one created on c->pool in c->notes (this avoids leaking a brigades for each request on the same connection). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1822596 13f79535-47bb-0310-9956-ffa450edef68
-
- Jan 29, 2018
-
-
Yann Ylavic authored
We can destroy ap_pglobal in the MPMs because clean_child_exit() runs in a DSO which would be unloaded under us. So we defer an ap_terminate() with atexit() in ap_unixd_mpm_set_signals(), all this is static/builtin code in "os/unix/unixd.c". git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1822537 13f79535-47bb-0310-9956-ffa450edef68
-
Yann Ylavic authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1822535 13f79535-47bb-0310-9956-ffa450edef68
-
Yann Ylavic authored
When connection_destructor() is called when pconf is gone, we can't dereference worker->cp anymore. This happens is one_process mode exit if we apr_terminate() or destroy the process pool directly (APR_POOL_DEBUG is needed too). Fix this by NULL-ing worker->cp in conn_pool_cleanup(), and by registering it as a pre_cleanup. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1822531 13f79535-47bb-0310-9956-ffa450edef68
-
Yann Ylavic authored
Please buildbot (and incidentally users of older APR) by using apr_shm_remove() instead of the new(er) apr_shm_delete(). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1822511 13f79535-47bb-0310-9956-ffa450edef68
-
Yann Ylavic authored
To fix races with graceful restarts (PR 62044). This commit does: 1/ use a constant file name for all systems (no generation suffix which makes a new SHM to be created for each restart, losing previous data) 2/ maintain the list of the created SHMs accross restarts (ap_pglobal list) 3/ not unlink the files on restart anymore (otherwise we can't reuse them) 4/ not attach existing SHMs in slotmem_create() anymore (not suitable since those are necessarily crash remainders) 5/ add type/sizes consistency check for persisted slots on restoration 6/ unlink the files only on stop/exit or before creating them (crash recovery) We could possibly avoid 6/ (since we don't need to re-open files now) if we remove the file just after the SHM is created. This would at least work for systems with "unlink semantic" (i.e. unlink succeeds even if some descriptors are opened, the "real" thing happening when the last one desciptor closed), but this wouldn't work for other systems so I kept the code generic for now. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1822509 13f79535-47bb-0310-9956-ffa450edef68
-
Yann Ylavic authored
Will follow up with an alternate fix. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1822505 13f79535-47bb-0310-9956-ffa450edef68
-
Stefan Eissing authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1822503 13f79535-47bb-0310-9956-ffa450edef68
-
Stefan Eissing authored
mod_http2: discourage gzip/brotli content encoding on http2-status responses as they are inserted into the reponse when filters are already done. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1822502 13f79535-47bb-0310-9956-ffa450edef68
-
Stefan Eissing authored
core: adding defines to allow interworking with honggfuzz without further patches. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1822500 13f79535-47bb-0310-9956-ffa450edef68
-
- Jan 27, 2018
-
-
Yann Ylavic authored
80 colums. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1822367 13f79535-47bb-0310-9956-ffa450edef68
-
Yann Ylavic authored
Export ap_queue_*() fonctions, so that they are accessible from MPMs, but don't provide "mpm_fdqueue.h" in the API (include/). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1822366 13f79535-47bb-0310-9956-ffa450edef68
-
- Jan 26, 2018
-
-
Jim Jagielski authored
all platforms. Keep persisted filename as-was. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1822341 13f79535-47bb-0310-9956-ffa450edef68
-
Joe Orton authored
since mk_password_hash() can use crypt(). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1822305 13f79535-47bb-0310-9956-ffa450edef68
-
- Jan 24, 2018
-
-
Daniel Ferradal authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1822108 13f79535-47bb-0310-9956-ffa450edef68
-
- Jan 21, 2018
-
-
Gregg Lewis Smith authored
but require user interaction until apu changes HAVE_CRYPTO default. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821768 13f79535-47bb-0310-9956-ffa450edef68
-
Gregg Lewis Smith authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821767 13f79535-47bb-0310-9956-ffa450edef68
-
Gregg Lewis Smith authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821766 13f79535-47bb-0310-9956-ffa450edef68
-
- Jan 20, 2018
-
-
Gregg Lewis Smith authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821727 13f79535-47bb-0310-9956-ffa450edef68
-
- Jan 19, 2018
-
-
Yann Ylavic authored
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
-
Yann Ylavic authored
Either error matters, simplify code. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821659 13f79535-47bb-0310-9956-ffa450edef68
-
Yann Ylavic authored
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
-
Yann Ylavic authored
Free idle pools while stopping. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821650 13f79535-47bb-0310-9956-ffa450edef68
-
Yann Ylavic authored
Cosmetics, 80 cols, no functional change. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821649 13f79535-47bb-0310-9956-ffa450edef68
-
Yann Ylavic authored
Fix typo in comment. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821648 13f79535-47bb-0310-9956-ffa450edef68
-
Yann Ylavic authored
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
-
Yann Ylavic authored
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
-
Yann Ylavic authored
Use common [mpm_]fdqueue. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821639 13f79535-47bb-0310-9956-ffa450edef68
-
Yann Ylavic authored
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
-
Yann Ylavic authored
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
-
Yann Ylavic authored
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
-
Yann Ylavic authored
Style, no functional change. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821627 13f79535-47bb-0310-9956-ffa450edef68
-
Yann Ylavic authored
Opacify fdqueue types. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821626 13f79535-47bb-0310-9956-ffa450edef68
-
Yann Ylavic authored
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
-
Yann Ylavic authored
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
-
Yann Ylavic authored
Instead of copying event/fdqueue.c code into existing mpm_unix.c, losing all contributors (blame, since r89781 ...), 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
-
Yann Ylavic authored
Use common fdqueue. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821608 13f79535-47bb-0310-9956-ffa450edef68
-
Yann Ylavic authored
Prepare mpm_worker to use common fdqueue. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821607 13f79535-47bb-0310-9956-ffa450edef68
-