expcov report - Generated Sat Oct 15 21:39:18 2016

 Index  Statistics  Last 
Directory./modules/http
Filenamehttp_core.c
ModifiedFri Nov 16 07:08:30 2007

Pass Half Fail Excluded Total
Function
1
10.00%
9
90.00%
0
0.00%
10
100%
Expressions
21
15.22%
117
84.78%
0
0.00%
138
100%
Conditions
0
0.00%
2
6.06%
31
93.94%
0
0.00%
33
100%
MC/DC
0
0.00%
19
100.00%
0
0.00%
19
100%
Branches

if
0
0.00%
1
5.00%
19
95.00%
0
0.00%
20
100%
for
0
0.00%
0
0.00%
0
0.00%
0
0.00%
0
100%
while
0
0.00%
0
0.00%
2
100.00%
0
0.00%
2
100%
case
0
0.00%
0
0.00%
0
0.00%
0
0.00%
0
100%

1/* Licensed to the Apache Software Foundation (ASF) under one or more
2 * contributor license agreements.  See the NOTICE file distributed with
3 * this work for additional information regarding copyright ownership.
4 * The ASF licenses this file to You under the Apache License, Version 2.0
5 * (the "License"); you may not use this file except in compliance with
6 * the License.  You may obtain a copy of the License at
7 *
8 *     http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17#include "apr_strings.h"
18#include "apr_thread_proc.h"    /* for RLIMIT stuff */
19
20#define APR_WANT_STRFUNC
21#include "apr_want.h"
22
23#define CORE_PRIVATE
24#include "httpd.h"
25#include "http_config.h"
26#include "http_connection.h"
27#include "http_core.h"
28#include "http_protocol.h"   /* For index_of_response().  Grump. */
29#include "http_request.h"
30
31#include "util_filter.h"
32#include "util_ebcdic.h"
33#include "ap_mpm.h"
34#include "scoreboard.h"
35
36#include "mod_core.h"
37
38/* Handles for core filters */
39AP_DECLARE_DATA ap_filter_rec_t *ap_http_input_filter_handle;
40AP_DECLARE_DATA ap_filter_rec_t *ap_http_header_filter_handle;
41AP_DECLARE_DATA ap_filter_rec_t *ap_chunk_filter_handle;
42AP_DECLARE_DATA ap_filter_rec_t *ap_http_outerror_filter_handle;
43AP_DECLARE_DATA ap_filter_rec_t *ap_byterange_filter_handle;
44
45static int ap_process_http_connection(conn_rec *c);
46
47static const char *set_keep_alive_timeout : call=0
s
et_keep_alive_timeout(cmd_parms *cmd, void *dummy,
48                                          const char *arg)
49{
50    const char *err = ap_check_cmd_context : enter=0, leave=0

ap_check_cmd_context : include/http_config.h line=710 column=26
a
p_check_cmd_context(cmd : modules/http/http_core.c line=47 column=54
c
md, NOT_IN_DIR_LOC_FILE| : pass=0
|
NOT_IN_LIMIT);
51    if : true=0, false=0
i
f (err : modules/http/http_core.c line=50 column=17
e
rr != : true=0, false=0
!
= NULL) {
52        return : pass=0
r
eturn err : modules/http/http_core.c line=50 column=17
e
rr;
53    }
54
55    cmd : modules/http/http_core.c line=47 column=54
c
md-> : enter=0, leave=0
-
>server : include/http_config.h line=296 column=17
s
erver-> : enter=0, leave=0
-
>keep_alive_timeout : include/httpd.h line=1218 column=25
k
eep_alive_timeout = : enter=0, leave=0
=
 apr_time_from_sec(atoi : enter=0, leave=0

atoi : /usr/include/stdlib.h line=148 column=12
a
toi(arg : modules/http/http_core.c line=48 column=55
a
rg));
56    return : pass=0
r
eturn NULL;
57}
58
59static const char *set_keep_alive : call=0
s
et_keep_alive(cmd_parms *cmd, void *dummy,
60                                  const char *arg)
61{
62    const char *err = ap_check_cmd_context : enter=0, leave=0

ap_check_cmd_context : include/http_config.h line=710 column=26
a
p_check_cmd_context(cmd : modules/http/http_core.c line=59 column=46
c
md, NOT_IN_DIR_LOC_FILE| : pass=0
|
NOT_IN_LIMIT);
63    if : true=0, false=0
i
f (err : modules/http/http_core.c line=62 column=17
e
rr != : true=0, false=0
!
= NULL) {
64        return : pass=0
r
eturn err : modules/http/http_core.c line=62 column=17
e
rr;
65    }
66
67    /* We've changed it to On/Off, but used to use numbers
68     * so we accept anything but "Off" or "0" as "On"
69     */
70    if : true=0, false=0
i
f (! : true=0, false=0
MC/DC independently affect : true=0, false=0
!TF
strcasecmp : enter=0, leave=0

strcasecmp : /usr/include/string.h line=536 column=12
s
trcasecmp(arg : modules/http/http_core.c line=60 column=47
a
rg, "off") || : true=0, false=0
|
! : true=0, false=0
MC/DC independently affect : true=0, false=0
!TF
strcmp : enter=0, leave=0

strcmp : /usr/include/string.h line=143 column=12
s
trcmp(arg : modules/http/http_core.c line=60 column=47
a
rg, "0")) {
71        cmd : modules/http/http_core.c line=59 column=46
c
md-> : enter=0, leave=0
-
>server : include/http_config.h line=296 column=17
s
erver-> : enter=0, leave=0
-
>keep_alive : include/httpd.h line=1222 column=9
k
eep_alive = : enter=0, leave=0
=
 0;
72    }
73    else {
74        cmd : modules/http/http_core.c line=59 column=46
c
md-> : enter=0, leave=0
-
>server : include/http_config.h line=296 column=17
s
erver-> : enter=0, leave=0
-
>keep_alive : include/httpd.h line=1222 column=9
k
eep_alive = : enter=0, leave=0
=
 1;
75    }
76    return : pass=0
r
eturn NULL;
77}
78
79static const char *set_keep_alive_max : call=0
s
et_keep_alive_max(cmd_parms *cmd, void *dummy,
80                                      const char *arg)
81{
82    const char *err = ap_check_cmd_context : enter=0, leave=0

ap_check_cmd_context : include/http_config.h line=710 column=26
a
p_check_cmd_context(cmd : modules/http/http_core.c line=79 column=50
c
md, NOT_IN_DIR_LOC_FILE| : pass=0
|
NOT_IN_LIMIT);
83    if : true=0, false=0
i
f (err : modules/http/http_core.c line=82 column=17
e
rr != : true=0, false=0
!
= NULL) {
84        return : pass=0
r
eturn err : modules/http/http_core.c line=82 column=17
e
rr;
85    }
86
87    cmd : modules/http/http_core.c line=79 column=50
c
md-> : enter=0, leave=0
-
>server : include/http_config.h line=296 column=17
s
erver-> : enter=0, leave=0
-
>keep_alive_max : include/httpd.h line=1220 column=9
k
eep_alive_max = : enter=0, leave=0
=
 atoi : enter=0, leave=0

atoi : /usr/include/stdlib.h line=148 column=12
a
toi(arg : modules/http/http_core.c line=80 column=51
a
rg);
88    return : pass=0
r
eturn NULL;
89}
90
91static const command_rec http_cmds[] = {
92    AP_INIT_TAKE1("KeepAliveTimeout", set_keep_alive_timeout : modules/http/http_core.c line=47 column=20
s
et_keep_alive_timeout, NULL, RSRC_CONF,
93                  "Keep-Alive timeout duration (sec)"),
94    AP_INIT_TAKE1("MaxKeepAliveRequests", set_keep_alive_max : modules/http/http_core.c line=79 column=20
s
et_keep_alive_max, NULL, RSRC_CONF,
95                  "Maximum number of Keep-Alive requests per connection, "
96                  "or 0 for infinite"),
97    AP_INIT_TAKE1("KeepAlive", set_keep_alive : modules/http/http_core.c line=59 column=20
s
et_keep_alive, NULL, RSRC_CONF,
98                  "Whether persistent connections should be On or Off"),
99    { NULL }
100};
101
102static const char *http_scheme : call=0
h
ttp_scheme(const request_rec *r)
103{
104    /* 
105     * The http module shouldn't return anything other than 
106     * "http" (the default) or "https".
107     */
108    if : true=0, false=0
i
f (r : modules/http/http_core.c line=102 column=51
r
-> : enter=0, leave=0
-
>server : include/httpd.h line=784 column=17
s
erverMC/DC independently affect : true=0, false=0
-> : enter=0, leave=0
-TF
>server_scheme : include/httpd.h line=1242 column=17
s
erver_scheme && : true=0, false=0
&
&
109        (strcmp : enter=0, leave=0

strcmp : /usr/include/string.h line=143 column=12
s
trcmp(r : modules/http/http_core.c line=102 column=51
r
-> : enter=0, leave=0
-
>server : include/httpd.h line=784 column=17
s
erver-> : enter=0, leave=0
-
>server_scheme : include/httpd.h line=1242 column=17
s
erver_scheme, "https") == : true=0, false=0
MC/DC independently affect : true=0, false=0
=TF
= 0))
110        return : pass=0
r
eturn "https";
111    
112    return : pass=0
r
eturn "http";
113}
114
115static apr_port_t http_port : call=0
h
ttp_port(const request_rec *r)
116{
117    if : true=0, false=0
i
f (r : modules/http/http_core.c line=115 column=48
r
-> : enter=0, leave=0
-
>server : include/httpd.h line=784 column=17
s
erverMC/DC independently affect : true=0, false=0
-> : enter=0, leave=0
-TF
>server_scheme : include/httpd.h line=1242 column=17
s
erver_scheme && : true=0, false=0
&
&
118        (strcmp : enter=0, leave=0

strcmp : /usr/include/string.h line=143 column=12
s
trcmp(r : modules/http/http_core.c line=115 column=48
r
-> : enter=0, leave=0
-
>server : include/httpd.h line=784 column=17
s
erver-> : enter=0, leave=0
-
>server_scheme : include/httpd.h line=1242 column=17
s
erver_scheme, "https") == : true=0, false=0
MC/DC independently affect : true=0, false=0
=TF
= 0))
119        return : pass=0
r
eturn DEFAULT_HTTPS_PORT;
120    
121    return : pass=0
r
eturn DEFAULT_HTTP_PORT;
122}
123
124static int ap_process_http_async_connection : call=0
a
p_process_http_async_connection(conn_rec *c)
125{
126    request_rec *r;
127    conn_state_t *cs = c : modules/http/http_core.c line=124 column=55
c
-> : enter=0, leave=0
-
>cs : include/httpd.h line=1105 column=19
c
s;
128
129    if : true=0, false=0
i
f (c : modules/http/http_core.c line=124 column=55
c
-> : enter=0, leave=0
-
>clogging_input_filters : include/httpd.h line=1112 column=9
c
logging_input_filters) {
130        return : pass=0
r
eturn ap_process_http_connection : enter=0, leave=0

ap_process_http_connection : modules/http/http_core.c line=45 column=12
a
p_process_http_connection(c : modules/http/http_core.c line=124 column=55
c
);
131    }
132    
133    AP_DEBUG_ASSERT(cs->state == CONN_STATE_READ_REQUEST_LINE);
134
135    while : true=0, false=0
w
hile (cs : modules/http/http_core.c line=127 column=19
c
s-> : enter=0, leave=0
-
>state : include/httpd.h line=1133 column=18
s
tate == : true=0, false=0
=
CONN_STATE_READ_REQUEST_LINE : include/httpd.h line=1120 column=5
C
ONN_STATE_READ_REQUEST_LINE) {
136        ap_update_child_status : enter=0, leave=0

ap_update_child_status : include/scoreboard.h line=187 column=17
a
p_update_child_status(c : modules/http/http_core.c line=124 column=55
c
-> : enter=0, leave=0
-
>sbh : include/httpd.h line=1101 column=11
s
bh, SERVER_BUSY_READ, NULL);
137
138        if : true=0, false=0
i
f ((r : modules/http/http_core.c line=126 column=18
r
 = : pass=0
=
 ap_read_request : enter=0, leave=0

ap_read_request : include/http_protocol.h line=62 column=14
a
p_read_request(c : modules/http/http_core.c line=124 column=55
c
))) {
139
140            c : modules/http/http_core.c line=124 column=55
c
-> : enter=0, leave=0
-
>keepalive : include/httpd.h line=1074 column=25
k
eepalive = : enter=0, leave=0
=
 AP_CONN_UNKNOWN : include/httpd.h line=1037 column=5
A
P_CONN_UNKNOWN;
141            /* process the request if it was read without error */
142
143            ap_update_child_status : enter=0, leave=0

ap_update_child_status : include/scoreboard.h line=187 column=17
a
p_update_child_status(c : modules/http/http_core.c line=124 column=55
c
-> : enter=0, leave=0
-
>sbh : include/httpd.h line=1101 column=11
s
bh, SERVER_BUSY_WRITE, r : modules/http/http_core.c line=126 column=18
r
);
144            if : true=0, false=0
i
f (r : modules/http/http_core.c line=126 column=18
r
-> : enter=0, leave=0
-
>status : include/httpd.h line=822 column=9
s
tatus == : true=0, false=0
=
= HTTP_OK)
145                ap_process_request : enter=0, leave=0

ap_process_request : include/http_request.h line=243 column=6
a
p_process_request(r : modules/http/http_core.c line=126 column=18
r
);
146
147            if : true=0, false=0
i
f (ap_extended_status : include/scoreboard.h line=216 column=28 ap_extended_status)
148                ap_increment_counts : enter=0, leave=0

ap_increment_counts : include/scoreboard.h line=175 column=18
a
p_increment_counts(c : modules/http/http_core.c line=124 column=55
c
-> : enter=0, leave=0
-
>sbh : include/httpd.h line=1101 column=11
s
bh, r : modules/http/http_core.c line=126 column=18
r
);
149
150            if : true=0, false=0
i
f (c : modules/http/http_core.c line=124 column=55
c
-> : enter=0, leave=0
-
>keepalive : include/httpd.h line=1074 column=25
k
eepalive != : true=0, false=0
MC/DC independently affect : true=0, false=0
!TF
AP_CONN_KEEPALIVE : include/httpd.h line=1039 column=5
A
P_CONN_KEEPALIVE || : true=0, false=0
|
c : modules/http/http_core.c line=124 column=55
c
MC/DC independently affect : true=0, false=0
-> : enter=0, leave=0
-TF
>aborted : include/httpd.h line=1070 column=14
a
borted
151                    || : true=0, false=0
|
MC/DC independently affect : true=0, false=0
ap_graceful_stop_signalled : enter=0, leave=0

ap_graceful_stop_signalled : include/ap_mpm.h line=99 column=17
aTF
p_graceful_stop_signalled()) {
152                cs : modules/http/http_core.c line=127 column=19
c
s-> : enter=0, leave=0
-
>state : include/httpd.h line=1133 column=18
s
tate = : enter=0, leave=0
=
 CONN_STATE_LINGER : include/httpd.h line=1121 column=5
C
ONN_STATE_LINGER;
153            }
154            else if : true=0, false=0
i
f (! : true=0, false=0
!
c : modules/http/http_core.c line=124 column=55
c
-> : enter=0, leave=0
-
>data_in_input_filters : include/httpd.h line=1107 column=9
d
ata_in_input_filters) {
155                cs : modules/http/http_core.c line=127 column=19
c
s-> : enter=0, leave=0
-
>state : include/httpd.h line=1133 column=18
s
tate = : enter=0, leave=0
=
 CONN_STATE_CHECK_REQUEST_LINE_READABLE : include/httpd.h line=1119 column=5
C
ONN_STATE_CHECK_REQUEST_LINE_READABLE;
156            }
157
158            /* else we are pipelining.  Stay in READ_REQUEST_LINE state
159             *  and stay in the loop
160             */
161
162            apr_pool_destroy : enter=0, leave=0

apr_pool_destroy : /usr/include/apr-1/apr_pools.h line=385 column=19
a
pr_pool_destroy(r : modules/http/http_core.c line=126 column=18
r
-> : enter=0, leave=0
-
>pool : include/httpd.h line=780 column=17
p
ool);
163        }
164        else {   /* ap_read_request failed - client may have closed */
165            cs : modules/http/http_core.c line=127 column=19
c
s-> : enter=0, leave=0
-
>state : include/httpd.h line=1133 column=18
s
tate = : enter=0, leave=0
=
 CONN_STATE_LINGER : include/httpd.h line=1121 column=5
C
ONN_STATE_LINGER;
166        }
167    }
168
169    return : pass=0
r
eturn OK;
170}
171
172static int ap_process_http_connection : call=0
a
p_process_http_connection(conn_rec *c)
173{
174    request_rec *r;
175    apr_socket_t *csd = NULL;
176
177    /*
178     * Read and process each request found on our connection
179     * until no requests are left or we decide to close.
180     */
181
182    ap_update_child_status : enter=0, leave=0

ap_update_child_status : include/scoreboard.h line=187 column=17
a
p_update_child_status(c : modules/http/http_core.c line=172 column=49
c
-> : enter=0, leave=0
-
>sbh : include/httpd.h line=1101 column=11
s
bh, SERVER_BUSY_READ, NULL);
183    while : true=0, false=0
w
hile ((r : modules/http/http_core.c line=174 column=18
r
 = : pass=0
=
 ap_read_request : enter=0, leave=0

ap_read_request : include/http_protocol.h line=62 column=14
a
p_read_request(c : modules/http/http_core.c line=172 column=49
c
)) != : true=0, false=0
!
= NULL) {
184
185        c : modules/http/http_core.c line=172 column=49
c
-> : enter=0, leave=0
-
>keepalive : include/httpd.h line=1074 column=25
k
eepalive = : enter=0, leave=0
=
 AP_CONN_UNKNOWN : include/httpd.h line=1037 column=5
A
P_CONN_UNKNOWN;
186        /* process the request if it was read without error */
187
188        ap_update_child_status : enter=0, leave=0

ap_update_child_status : include/scoreboard.h line=187 column=17
a
p_update_child_status(c : modules/http/http_core.c line=172 column=49
c
-> : enter=0, leave=0
-
>sbh : include/httpd.h line=1101 column=11
s
bh, SERVER_BUSY_WRITE, r : modules/http/http_core.c line=174 column=18
r
);
189        if : true=0, false=0
i
f (r : modules/http/http_core.c line=174 column=18
r
-> : enter=0, leave=0
-
>status : include/httpd.h line=822 column=9
s
tatus == : true=0, false=0
=
= HTTP_OK)
190            ap_process_request : enter=0, leave=0

ap_process_request : include/http_request.h line=243 column=6
a
p_process_request(r : modules/http/http_core.c line=174 column=18
r
);
191
192        if : true=0, false=0
i
f (ap_extended_status : include/scoreboard.h line=216 column=28 ap_extended_status)
193            ap_increment_counts : enter=0, leave=0

ap_increment_counts : include/scoreboard.h line=175 column=18
a
p_increment_counts(c : modules/http/http_core.c line=172 column=49
c
-> : enter=0, leave=0
-
>sbh : include/httpd.h line=1101 column=11
s
bh, r : modules/http/http_core.c line=174 column=18
r
);
194
195        if : true=0, false=0
i
f (c : modules/http/http_core.c line=172 column=49
c
-> : enter=0, leave=0
-
>keepalive : include/httpd.h line=1074 column=25
k
eepalive != : true=0, false=0
MC/DC independently affect : true=0, false=0
!TF
AP_CONN_KEEPALIVE : include/httpd.h line=1039 column=5
A
P_CONN_KEEPALIVE || : true=0, false=0
|
c : modules/http/http_core.c line=172 column=49
c
MC/DC independently affect : true=0, false=0
-> : enter=0, leave=0
-TF
>aborted : include/httpd.h line=1070 column=14
a
borted)
196            break : pass=0
b
reak;
197
198        ap_update_child_status : enter=0, leave=0

ap_update_child_status : include/scoreboard.h line=187 column=17
a
p_update_child_status(c : modules/http/http_core.c line=172 column=49
c
-> : enter=0, leave=0
-
>sbh : include/httpd.h line=1101 column=11
s
bh, SERVER_BUSY_KEEPALIVE, r : modules/http/http_core.c line=174 column=18
r
);
199        apr_pool_destroy : enter=0, leave=0

apr_pool_destroy : /usr/include/apr-1/apr_pools.h line=385 column=19
a
pr_pool_destroy(r : modules/http/http_core.c line=174 column=18
r
-> : enter=0, leave=0
-
>pool : include/httpd.h line=780 column=17
p
ool);
200
201        if : true=0, false=0
i
f (ap_graceful_stop_signalled : enter=0, leave=0

ap_graceful_stop_signalled : include/ap_mpm.h line=99 column=17
a
p_graceful_stop_signalled())
202            break : pass=0
b
reak;
203
204        if : true=0, false=0
i
f (! : true=0, false=0
!
csd : modules/http/http_core.c line=175 column=19
c
sd) {
205            csd : modules/http/http_core.c line=175 column=19
c
sd = : pass=0
=
 ap_get_module_config(c : modules/http/http_core.c line=172 column=49
c
-> : enter=0, leave=0
-
>conn_config : include/httpd.h line=1092 column=30
c
onn_config, &core_module : include/http_core.h line=345 column=31
c
ore_module);
206        }
207        apr_socket_opt_set : enter=0, leave=0

apr_socket_opt_set : /usr/include/apr-1/apr_network_io.h line=600 column=27
a
pr_socket_opt_set(csd : modules/http/http_core.c line=175 column=19
c
sd, APR_INCOMPLETE_READ, 1);
208        apr_socket_timeout_set : enter=0, leave=0

apr_socket_timeout_set : /usr/include/apr-1/apr_network_io.h line=614 column=27
a
pr_socket_timeout_set(csd : modules/http/http_core.c line=175 column=19
c
sd, c : modules/http/http_core.c line=172 column=49
c
-> : enter=0, leave=0
-
>base_server : include/httpd.h line=1049 column=17
b
ase_server-> : enter=0, leave=0
-
>keep_alive_timeout : include/httpd.h line=1218 column=25
k
eep_alive_timeout);
209        /* Go straight to select() to wait for the next request */
210    }
211
212    return : pass=0
r
eturn OK;
213}
214
215static int http_create_request : call=0
h
ttp_create_request(request_rec *r)
216{
217    if : true=0, false=0
i
f (! : true=0, false=0
MC/DC independently affect : true=0, false=0
!TF
r : modules/http/http_core.c line=215 column=45
r
-> : enter=0, leave=0
-
>main : include/httpd.h line=793 column=18
m
ain && : true=0, false=0
&
! : true=0, false=0
MC/DC independently affect : true=0, false=0
!TF
r : modules/http/http_core.c line=215 column=45
r
-> : enter=0, leave=0
-
>prev : include/httpd.h line=789 column=18
p
rev) {
218        ap_add_output_filter_handle : enter=0, leave=0

ap_add_output_filter_handle : include/util_filter.h line=443 column=27
a
p_add_output_filter_handle(ap_byterange_filter_handle : modules/http/http_core.c line=43 column=34
a
p_byterange_filter_handle,
219                                    NULL, r : modules/http/http_core.c line=215 column=45
r
r : modules/http/http_core.c line=215 column=45
r
-> : enter=0, leave=0
-
>connection : include/httpd.h line=782 column=15
c
onnection);
220        ap_add_output_filter_handle : enter=0, leave=0

ap_add_output_filter_handle : include/util_filter.h line=443 column=27
a
p_add_output_filter_handle(ap_content_length_filter_handle : include/http_core.h line=682 column=41
a
p_content_length_filter_handle,
221                                    NULL, r : modules/http/http_core.c line=215 column=45
r
r : modules/http/http_core.c line=215 column=45
r
-> : enter=0, leave=0
-
>connection : include/httpd.h line=782 column=15
c
onnection);
222        ap_add_output_filter_handle : enter=0, leave=0

ap_add_output_filter_handle : include/util_filter.h line=443 column=27
a
p_add_output_filter_handle(ap_http_header_filter_handle : modules/http/http_core.c line=40 column=34
a
p_http_header_filter_handle,
223                                    NULL, r : modules/http/http_core.c line=215 column=45
r
r : modules/http/http_core.c line=215 column=45
r
-> : enter=0, leave=0
-
>connection : include/httpd.h line=782 column=15
c
onnection);
224        ap_add_output_filter_handle : enter=0, leave=0

ap_add_output_filter_handle : include/util_filter.h line=443 column=27
a
p_add_output_filter_handle(ap_http_outerror_filter_handle : modules/http/http_core.c line=42 column=34
a
p_http_outerror_filter_handle,
225                                    NULL, r : modules/http/http_core.c line=215 column=45
r
r : modules/http/http_core.c line=215 column=45
r
-> : enter=0, leave=0
-
>connection : include/httpd.h line=782 column=15
c
onnection);
226    }
227
228    return : pass=0
r
eturn OK;
229}
230
231static int http_send_options : call=0
h
ttp_send_options(request_rec *r)
232{
233    if : true=0, false=0
i
f ((r : modules/http/http_core.c line=231 column=43
r
-> : enter=0, leave=0
-
>method_number : include/httpd.h line=831 column=9
m
ethod_number == : true=0, false=0
MC/DC independently affect : true=0, false=0
=TF
= M_OPTIONS) && : true=0, false=0
&
r : modules/http/http_core.c line=231 column=43
r
MC/DC independently affect : true=0, false=0
-> : enter=0, leave=0
-TF
>uri : include/httpd.h line=946 column=11
u
ri && : true=0, false=0
&
& (r : modules/http/http_core.c line=231 column=43
r
-> : enter=0, leave=0
-
>uri : include/httpd.h line=946 column=11
u
ri[] : enter=0, leave=0
[
0] == : true=0, false=0
MC/DC independently affect : true=0, false=0
=TF
= '*') && : true=0, false=0
&
&
234         (r : modules/http/http_core.c line=231 column=43
r
-> : enter=0, leave=0
-
>uri : include/httpd.h line=946 column=11
u
ri[] : enter=0, leave=0
[
1] == : true=0, false=0
MC/DC independently affect : true=0, false=0
=TF
= '\0')) {
235        return : pass=0
r
eturn DONE;           /* Send HTTP pong, without Allow header */
236    }
237    return : pass=0
r
eturn DECLINED;
238}
239
240static void register_hooks : call=1
r
egister_hooks(apr_pool_t *p)
241{
242    /**
243     * If we ae using an MPM That Supports Async Connections,
244     * use a different processing function
245     */
246    int async_mpm = 0;
247    if : true=0, false=1
i
f (ap_mpm_query : enter=1, leave=1

ap_mpm_query : include/ap_mpm.h line=161 column=26
a
p_mpm_query(AP_MPMQ_IS_ASYNC, &async_mpm : modules/http/http_core.c line=246 column=9
a
sync_mpm) == : true=0, false=1
MC/DC independently affect : true=0, false=1
=TF
= APR_SUCCESS
248        && : true=0, false=1
&
async_mpm : modules/http/http_core.c line=246 column=9
a
sync_mpm == : true=0, false=0
MC/DC independently affect : true=0, false=0
=TF
= 1) {
249        ap_hook_process_connection : enter=0, leave=0

ap_hook_process_connection : modules/http/ line=128 column=1
a
p_hook_process_connection(ap_process_http_async_connection : modules/http/http_core.c line=124 column=12
a
p_process_http_async_connection, NULL,
250                                   NULL, APR_HOOK_REALLY_LAST);
251    }
252    else {
253        ap_hook_process_connection : enter=1, leave=1

ap_hook_process_connection : modules/http/ line=128 column=1
a
p_hook_process_connection(ap_process_http_connection : modules/http/http_core.c line=172 column=12
a
p_process_http_connection, NULL, NULL,
254                                   APR_HOOK_REALLY_LAST);
255    }
256
257    ap_hook_map_to_storage : enter=1, leave=1

ap_hook_map_to_storage : modules/http/ line=157 column=1
a
p_hook_map_to_storage(ap_send_http_trace : modules/http/mod_core.h line=82 column=24 ap_send_http_trace,NULL,NULL,APR_HOOK_MIDDLE);
258    ap_hook_map_to_storage : enter=1, leave=1

ap_hook_map_to_storage : modules/http/ line=157 column=1
a
p_hook_map_to_storage(http_send_options : modules/http/http_core.c line=231 column=12
h
ttp_send_options,NULL,NULL,APR_HOOK_MIDDLE);
259    ap_hook_http_scheme : enter=1, leave=1

ap_hook_http_scheme : modules/http/ line=61 column=1
a
p_hook_http_scheme(http_scheme : modules/http/http_core.c line=102 column=20
h
ttp_scheme,NULL,NULL,APR_HOOK_REALLY_LAST);
260    ap_hook_default_port : enter=1, leave=1

ap_hook_default_port : modules/http/ line=85 column=1
a
p_hook_default_port(http_port : modules/http/http_core.c line=115 column=19
h
ttp_port,NULL,NULL,APR_HOOK_REALLY_LAST);
261    ap_hook_create_request : enter=1, leave=1

ap_hook_create_request : modules/http/ line=109 column=1
a
p_hook_create_request(http_create_request : modules/http/http_core.c line=215 column=12
h
ttp_create_request, NULL, NULL, APR_HOOK_REALLY_LAST);
262    ap_http_input_filter_handle : modules/http/http_core.c line=39 column=34
a
p_http_input_filter_handle = : pass=1
=
263        ap_register_input_filter : enter=1, leave=1

ap_register_input_filter : include/util_filter.h line=329 column=31
a
p_register_input_filter("HTTP_IN", ap_http_filter : modules/http/mod_core.h line=51 column=14 ap_http_filter,
264                                 NULL, AP_FTYPE_PROTOCOL : include/util_filter.h line=170 column=5
A
P_FTYPE_PROTOCOL);
265    ap_http_header_filter_handle : modules/http/http_core.c line=40 column=34
a
p_http_header_filter_handle = : pass=1
=
266        ap_register_output_filter : enter=1, leave=1

ap_register_output_filter : include/util_filter.h line=350 column=31
a
p_register_output_filter("HTTP_HEADER", ap_http_header_filter : include/http_protocol.h line=673 column=33
a
p_http_header_filter,
267                                  NULL, AP_FTYPE_PROTOCOL : include/util_filter.h line=170 column=5
A
P_FTYPE_PROTOCOL);
268    ap_chunk_filter_handle : modules/http/http_core.c line=41 column=34
a
p_chunk_filter_handle = : pass=1
=
269        ap_register_output_filter : enter=1, leave=1

ap_register_output_filter : include/util_filter.h line=350 column=31
a
p_register_output_filter("CHUNK", ap_http_chunk_filter : modules/http/mod_core.h line=56 column=14 ap_http_chunk_filter,
270                                  NULL, AP_FTYPE_TRANSCODE : include/util_filter.h line=172 column=5
A
P_FTYPE_TRANSCODE);
271    ap_http_outerror_filter_handle : modules/http/http_core.c line=42 column=34
a
p_http_outerror_filter_handle = : pass=1
=
272        ap_register_output_filter : enter=1, leave=1

ap_register_output_filter : include/util_filter.h line=350 column=31
a
p_register_output_filter("HTTP_OUTERROR", ap_http_outerror_filter : modules/http/mod_core.h line=59 column=14 ap_http_outerror_filter,
273                                  NULL, AP_FTYPE_PROTOCOL : include/util_filter.h line=170 column=5
A
P_FTYPE_PROTOCOL);
274    ap_byterange_filter_handle : modules/http/http_core.c line=43 column=34
a
p_byterange_filter_handle = : pass=1
=
275        ap_register_output_filter : enter=1, leave=1

ap_register_output_filter : include/util_filter.h line=350 column=31
a
p_register_output_filter("BYTERANGE", ap_byterange_filter : include/http_protocol.h line=672 column=33
a
p_byterange_filter,
276                                  NULL, AP_FTYPE_PROTOCOL : include/util_filter.h line=170 column=5
A
P_FTYPE_PROTOCOL);
277    ap_method_registry_init : enter=1, leave=1

ap_method_registry_init : include/http_protocol.h line=235 column=18
a
p_method_registry_init(p : modules/http/http_core.c line=240 column=40
p
);
278}
279
280module AP_MODULE_DECLARE_DATA http_module = {
281    STANDARD20_MODULE_STUFF,
282    NULL,              /* create per-directory config structure */
283    NULL,              /* merge per-directory config structures */
284    NULL,              /* create per-server config structure */
285    NULL,              /* merge per-server config structures */
286    http_cmds : modules/http/http_core.c line=91 column=26
h
ttp_cmds,         /* command apr_table_t */
287    register_hooks : modules/http/http_core.c line=240 column=13
r
egister_hooks     /* register hooks */
288};
289[EOF]


Generated by expcov