- Feb 10, 2018
-
-
Luca Toscano authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1823750 13f79535-47bb-0310-9956-ffa450edef68
-
Luca Toscano authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1823749 13f79535-47bb-0310-9956-ffa450edef68
-
- Feb 08, 2018
-
-
Yann Ylavic authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1823575 13f79535-47bb-0310-9956-ffa450edef68
-
Yann Ylavic authored
Fishy "unlink semantic" (description) does not apply anymore. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1823572 13f79535-47bb-0310-9956-ffa450edef68
-
Yann Ylavic authored
Rework server_rec ID so that it doesn't change on restart (or stop/start) unless it's Host(s)/IP(s):port(s), ServerName and/or ServerAlias(es) changed. The goal being to reuse SHMs (and persisted files) names as much as possible, with minimal bindings to configuration changes (as far as mod_proxy_balancer is concerned). So if the ServerName and first Host/IP:port are unique we use that first, otherwise the ServerAlias(es) and other Host(s)/IP(s):port(s) are also taken into account, and finally if that's still not enough the server index is also used (pathological case handled for correctness with regard to the underlying mod_slotmem_shm's reuse code). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1823564 13f79535-47bb-0310-9956-ffa450edef68
-
- Feb 07, 2018
-
-
Jim Jagielski authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1823482 13f79535-47bb-0310-9956-ffa450edef68
-
Rich Bowen authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1823473 13f79535-47bb-0310-9956-ffa450edef68
-
Rich Bowen authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1823463 13f79535-47bb-0310-9956-ffa450edef68
-
- Feb 06, 2018
-
-
Yann Ylavic authored
Complete layout of SHM and persited file (ascii art). Simplify an "if" condition, no functional change. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1823416 13f79535-47bb-0310-9956-ffa450edef68
-
Yann Ylavic authored
Do not bind attached slotmems to the global list, they should be detached when pconf is cleaned up, but not destroyed/removed (doubly) with pglobal. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1823415 13f79535-47bb-0310-9956-ffa450edef68
-
Yann Ylavic authored
Check SHM sizes when reused, reload may have changed the needs. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1823412 13f79535-47bb-0310-9956-ffa450edef68
-
- Feb 05, 2018
-
-
Joe Orton authored
older layout used in "RedHat". git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1823179 13f79535-47bb-0310-9956-ffa450edef68
-
- Feb 03, 2018
-
-
Yann Ylavic authored
This was the last non-constant time action performed by the listener thread. It's now handled by the worker thread directly after entering lingering close, which should directly address the cases when the socket is already closed remotely at that time, hence avoid more scheduling (it may be the common case for some scenarios). And it's only if the above would need blocking (i.e. more data to suck) that the socket is added to the pollset for the listener to re-schedule a worker later when ready. If no worker is available at that time then the socket is forcibly closed (similarly to what's done for keepalive connections in this case). Also, since process_lingering_close() is now called by a worker thread and with almost no depth in the call stack, we can grow the size of the "suck" buffer from 2K to 32K to potentially call recv() up to sixteen times less. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1823047 13f7...
-
- Feb 02, 2018
-
-
Joe Orton authored
static in optional fn pointer variable declaration. * modules/ssl/ssl_engine_vars.c (ssl_var_log_config_register): Likewise. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1822931 13f79535-47bb-0310-9956-ffa450edef68
-
- Feb 01, 2018
-
-
Yann Ylavic authored
Fix my maths, thanks Stefan and Rüdiger! git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1822883 13f79535-47bb-0310-9956-ffa450edef68
-
Yann Ylavic authored
Does r1822878's "static" APR_RETRIEVE_OPTIONAL_FN work if, say, mod_proxy is builtin but mod_http2 isn't? Not worth taking the risk here since it's not a fast path... Note: if this is an issue, I'm afraid it applies elsewhere too. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1822879 13f79535-47bb-0310-9956-ffa450edef68
-
Yann Ylavic authored
Get the help(er) of mod_http2 to determine how much connections should be handled in the reslist by default (i.e. max_threads). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1822878 13f79535-47bb-0310-9956-ffa450edef68
-
Stefan Eissing authored
adding AP_DECLARE for ap_parse_vhost_addrs() and minor bumb mmn. Resolves building mod_ssl on Windows. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1822872 13f79535-47bb-0310-9956-ffa450edef68
-
Ruediger Pluem authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1822858 13f79535-47bb-0310-9956-ffa450edef68
-
Joe Orton authored
has changed. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1822857 13f79535-47bb-0310-9956-ffa450edef68
-
Ruediger Pluem authored
be useful as mod_http2 has an additional thread pool on top of ThreadsPerChild. But leave the default with ThreadsPerChild. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1822849 13f79535-47bb-0310-9956-ffa450edef68
-
- Jan 31, 2018
-
-
Yann Ylavic authored
All was already there, I just misread name vs sname :/ git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1822806 13f79535-47bb-0310-9956-ffa450edef68
-
Yann Ylavic authored
Actually we already have an (per vhost) unique id for the balancer, so use it. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1822804 13f79535-47bb-0310-9956-ffa450edef68
-
Yann Ylavic authored
Use a unique balancer id per vhost for workers' slotmem too. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1822800 13f79535-47bb-0310-9956-ffa450edef68
-
- Jan 30, 2018
-
-
Yann Ylavic authored
We can't dereference 'f' after EOR is destroyed either. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1822666 13f79535-47bb-0310-9956-ffa450edef68
-
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
-