PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
[ start all new proposals below, under PATCHES PROPOSED. ]
- * core: Check for child_num < 0 also in ap_update_child_status
- and ap_update_child_status_from_conn in scoreboard.c. PR 56767.
- trunk patch: http://svn.apache.org/r1638073
- 2.4.x patch: trunk works
- +1: jkaluza, covener, ylavic
-
* core: Do not match files when using DirectoryMatch. PR 41867.
trunk patch: http://svn.apache.org/r1635428
2.4.x patch: http://people.apache.org/~jkaluza/patches/httpd-2.4.x-directorymatch.patch
AP_DECLARE(int) ap_update_child_status(ap_sb_handle_t *sbh, int status,
request_rec *r)
{
- if (!sbh)
+ if (!sbh || (sbh->child_num < 0))
return -1;
return update_child_status_internal(sbh->child_num, sbh->thread_num,
AP_DECLARE(int) ap_update_child_status_from_conn(ap_sb_handle_t *sbh, int status,
conn_rec *c)
{
- if (!sbh)
+ if (!sbh || (sbh->child_num < 0))
return -1;
return update_child_status_internal(sbh->child_num, sbh->thread_num,