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

Function ap_rflush

server/protocol.c:2253–2273  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2251}
2252
2253AP_DECLARE(int) ap_rflush(request_rec *r)
2254{
2255 conn_rec *c = r->connection;
2256 apr_bucket *b;
2257 ap_filter_t *f;
2258 old_write_filter_ctx *ctx;
2259 apr_status_t rv;
2260
2261 f = insert_old_write_filter(r);
2262 ctx = f->ctx;
2263
2264 b = apr_bucket_flush_create(c->bucket_alloc);
2265 APR_BRIGADE_INSERT_TAIL(ctx->tmpbb, b);
2266
2267 rv = ap_pass_brigade(r->output_filters, ctx->tmpbb);
2268 apr_brigade_cleanup(ctx->tmpbb);
2269 if (rv != APR_SUCCESS)
2270 return -1;
2271
2272 return 0;
2273}
2274
2275/*
2276 * This function sets the Last-Modified output header field to the value

Callers 7

balancer_display_pageFunction · 0.85
proxy_connect_handlerFunction · 0.85
lua_ap_rflushFunction · 0.85
lua_websocket_greetFunction · 0.85
lua_websocket_writeFunction · 0.85
hm_handlerFunction · 0.85
http_protocol.hFile · 0.85

Calls 2

insert_old_write_filterFunction · 0.85
ap_pass_brigadeFunction · 0.85

Tested by

no test coverage detected