MCPcopy Create free account
hub / github.com/apache/httpd / ap_bucket_error_create

Function ap_bucket_error_create

server/error_bucket.c:55–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55AP_DECLARE(apr_bucket *) ap_bucket_error_create(int error, const char *buf,
56 apr_pool_t *p,
57 apr_bucket_alloc_t *list)
58{
59 apr_bucket *b = apr_bucket_alloc(sizeof(*b), list);
60
61 APR_BUCKET_INIT(b);
62 b->free = apr_bucket_free;
63 b->list = list;
64 if (!ap_is_HTTP_VALID_RESPONSE(error)) {
65 error = HTTP_INTERNAL_SERVER_ERROR;
66 }
67 return ap_bucket_error_make(b, error, buf, p);
68}
69
70AP_DECLARE_DATA const apr_bucket_type_t ap_bucket_type_error = {
71 "ERROR", 5, APR_BUCKET_METADATA,

Callers 11

send_416Function · 0.85
bail_out_on_errorFunction · 0.85
ap_proxy_backend_brokeFunction · 0.85
bail_out_on_errorFunction · 0.85
ef_output_filterFunction · 0.85
ev_stream_doneFunction · 0.85
h2_c2_filter_request_inFunction · 0.85
ifFunction · 0.85
h2test_echo_handlerFunction · 0.85
h2test_error_handlerFunction · 0.85
end_output_streamFunction · 0.85

Calls 1

ap_bucket_error_makeFunction · 0.85

Tested by 2

h2test_echo_handlerFunction · 0.68
h2test_error_handlerFunction · 0.68