Lines Matching refs:status
167 apr_status_t status;
194 int original_status = r->status;
210 status = ajp_send_header(conn->sock, r, maxsize, uri);
211 if (status != APR_SUCCESS) {
213 ap_log_rerror(APLOG_MARK, APLOG_ERR, status, r, APLOGNO(00868)
217 if (status == AJP_EOVERFLOW)
234 status = ajp_alloc_data_msg(r->pool, &buff, &bufsiz, &msg);
235 if (status != APR_SUCCESS) {
252 status = ap_get_brigade(r->input_filters, input_brigade,
256 if (status != APR_SUCCESS) {
259 ap_log_rerror(APLOG_MARK, APLOG_DEBUG, status, r, APLOGNO(00871)
262 return ap_map_http_request_error(status, HTTP_BAD_REQUEST);
275 status = apr_brigade_flatten(input_brigade, buff, &bufsiz);
276 if (status != APR_SUCCESS) {
280 ap_log_rerror(APLOG_MARK, APLOG_ERR, status, r, APLOGNO(00874)
289 status = ajp_send_data_msg(conn->sock, msg, bufsiz);
291 if (status != APR_SUCCESS) {
295 ap_log_rerror(APLOG_MARK, APLOG_ERR, status, r, APLOGNO(00876)
309 ap_log_rerror(APLOG_MARK, APLOG_ERR, status, r, APLOGNO(00877)
329 status = ajp_read_header(conn->sock, r, maxsize,
331 if (status != APR_SUCCESS) {
335 ap_log_rerror(APLOG_MARK, APLOG_ERR, status, r, APLOGNO(00878)
344 if (APR_STATUS_IS_TIMEUP(status) &&
384 ap_log_rerror(APLOG_MARK, APLOG_DEBUG, status, r, APLOGNO(00879)
387 status = ap_get_brigade(r->input_filters, input_brigade,
391 if (status != APR_SUCCESS) {
392 ap_log_rerror(APLOG_MARK, APLOG_DEBUG, status, r, APLOGNO(00880)
394 if (APR_STATUS_IS_TIMEUP(status)) {
397 else if (status == AP_FILTER_ERROR) {
404 status = apr_brigade_flatten(input_brigade, buff,
407 if (status != APR_SUCCESS) {
408 ap_log_rerror(APLOG_MARK, APLOG_DEBUG, status, r, APLOGNO(00881)
418 status = ajp_send_data_msg(conn->sock, msg, bufsiz);
420 if (status != APR_SUCCESS) {
421 ap_log_rerror(APLOG_MARK, APLOG_DEBUG, status, r, APLOGNO(00882)
448 status = ajp_parse_header(r, conf, conn->data);
449 if (status != APR_SUCCESS) {
452 else if ((r->status == 401) && conf->error_override) {
467 status = ajp_parse_data(r, conn->data, &size, &send_body_chunk_buff);
468 if (status == APR_SUCCESS) {
472 if (!conf->error_override || !ap_is_HTTP_ERROR(r->status)) {
492 * error status so that an underlying error (eg HTTP_NOT_FOUND)
495 if (conf->error_override && !ap_is_HTTP_ERROR(r->status)
497 r->status = original_status;
541 status = ajp_parse_reuse(r, conn->data, &conn_reuse);
542 if (status != APR_SUCCESS) {
545 if (!conf->error_override || !ap_is_HTTP_ERROR(r->status)) {
571 /* no response yet (or ever), set status for access log */
573 r->status = HTTP_BAD_REQUEST;
590 status = ajp_read_header(conn->sock, r, maxsize,
592 if (status != APR_SUCCESS) {
594 ap_log_rerror(APLOG_MARK, APLOG_DEBUG, status, r, APLOGNO(00889)
640 if (conf->error_override && ap_is_HTTP_ERROR(r->status)) {
641 /* clear r->status for override error, otherwise ErrorDocument
645 rv = r->status;
646 r->status = HTTP_OK;
654 ap_log_rerror(APLOG_MARK, APLOG_ERR, status, r, APLOGNO(00893)
677 if (APR_STATUS_IS_TIMEUP(status) &&
690 ap_log_rerror(APLOG_MARK, level, status, r, APLOGNO(02822)
733 int status;
753 status = ap_proxy_acquire_connection(scheme, &backend, worker,
755 if (status != OK) {
760 return status;
770 status = ap_proxy_determine_connection(p, r, conf, worker, backend,
775 if (status != OK)
783 status = HTTP_SERVICE_UNAVAILABLE;
792 ap_log_rerror(APLOG_MARK, APLOG_ERR, status, r, APLOGNO(02534)
795 status = HTTP_SERVICE_UNAVAILABLE;
801 status = ajp_handle_cping_cpong(backend->sock, r,
809 if (status != APR_SUCCESS) {
811 ap_log_rerror(APLOG_MARK, APLOG_ERR, status, r, APLOGNO(00897)
814 status = HTTP_SERVICE_UNAVAILABLE;
821 status = ap_proxy_ajp_request(p, r, backend, origin, dconf, uri, locurl,
828 return status;