1 --- httpd-2.4.4.org/server/mpm_unix.c 2012-07-03 21:38:58.000000000 +0200
2 +++ httpd-2.4.4/server/mpm_unix.c 2013-04-15 14:27:54.197655418 +0200
7 - apr_socket_send(sock, data, &len);
8 + rv = apr_socket_send(sock, data, &len);
9 + if (rv == APR_SUCCESS && lp->protocol && strcasecmp(lp->protocol, "http") == 0) {
10 + char *buffer[10]; // dummy buffer to see if child is alive
12 + len = sizeof(buffer);
13 + rv = apr_socket_recv(sock, buffer, &len);
14 + if (rv != APR_SUCCESS) {
15 + ap_log_error(APLOG_MARK, APLOG_DEBUG, rv, ap_server_conf,
16 + "receiving response to dummy data to listener on %pI", lp->bind_addr);
19 apr_socket_close(sock);