Merge of r1426802,1744460,1829799,1824716,1838318,1840678,1861294
*) easy patches to synch 2.4.x and trunk: - core: extend description of r->hostname - mod_proxy_http: Avoid memory allocation before making sure that this handler can handle the URL - core: Save a few cycles in 'ap_parse_form_data()' - mod_cache_socache: Save some cycles - mod_proxy_ftp: Save some cycle - vhost: move an assignment to the end of the loop to ease readability and please a compiler - core: Be a little more verbose when an error in trigerred in 'ap_set_file_slot()'
mod_cache_socache: avoid pool to heap reallocation.
Below some threshold, the previous code tried free (sub-)pooled memory ASAP by moving small buffers (< capacity / 2) to a heap bucket. But this is not really an optimization because first it requires at some point to allocate more than the configured capacity, and second since this happens during response handling the pool is about to be destroyed soon anymay.
This commit simply keeps the data in the subpool and uses a pool bucket for the output brigade to take care of the lifetime until it's consumed (or not).
Follow up to r1853874: CHANGES entry. Submitted by: ylavic Reviewed by: ylavic, icing, jim