and ap_update_child_status_from_conn. PR 56767.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1638073 13f79535-47bb-0310-9956-
ffa450edef68
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,