Lines Matching defs:to
1 /* Licensed to the Apache Software Foundation (ASF) under one or more
4 * The ASF licenses this file to You under the Apache License, Version 2.0
10 * Unless required by applicable law or agreed to in writing, software
18 * http_request.c: functions to get and process requests
59 /* XXX A cleaner and faster way to do this might be to pass the request_rec
60 * down the filter chain as a parameter. It would need to change for
66 request_rec *to)
70 f->r = to;
121 * The following takes care of Apache redirects to custom response URLs
122 * Note that if we are already dealing with the response to some other
124 * any attempt to handle the other thing "intelligently"...
128 r_1st_err = r_1st_err->prev; /* Get back to original error */
132 * an internal redirect to a bad URI. ap_internal_redirect has
133 * changed the filter chains to point to the ErrorDocument's
135 * original failing request_rec to send the canned error message.
155 * This test is done here so that none of the auth modules needs to know
163 /* If we don't want to keep the connection, make sure we mark that the
164 * connection is not eligible for keepalive. If we want to keep the
193 * This redirect needs to be a GET no matter what the original
199 * Provide a special method for modules to communicate
200 * more informative (than the plain canned) messages to us.
201 * Propagate them to ErrorDocuments via the ERROR_NOTES variable:
214 * Dumb user has given us a bad url to redirect to --- fake up
270 * deleted or moved to a buffered_bb => no more in bb), or an error
272 * to destroy it now. So cleanup any remaining bucket along with
277 /* From here onward, it is no longer safe to reference r
301 * This hook was added to enable serving files out of a URI keyed
305 * It may have other uses as well, such as routing requests directly to
306 * content handlers that have the ability to grok HTTP and do their
386 * It is still safe to use r / r->pool here as the eor bucket
390 "Timeout while writing data for URI %s to the"
433 * A whole lot of this really ought to be shared with http_protocol.c...
434 * another missing cleanup. It's particularly inappropriate to be
504 * mixture of filters specific to the old request (r), and
506 * chain, and remove all those which are specific to the old
516 "dropping filter '%s' in internal redirect from %s to %s",
519 /* To remove the filter, first set f->r to the *new*
531 * filter bug to get into this state. */
557 * to do their thing on internal redirects as well. Perhaps this is a
571 /* We need to tell POOL_DEBUG that we're guaranteeing that rr->pool
608 * will now be bogus (say rr->headers_out). If a filter tried to modify
609 * their f->r structure when it is pointing to rr, the real request_rec
621 * We need to check if we now have the SUBREQ_CORE filter in our filter
622 * chain. If this is the case we need to remove it since we are NO
623 * subrequest. But we need to keep in mind that the SUBREQ_CORE filter
624 * does not necessarily need to be the first filter in our chain. So we
625 * need to go through the chain. But we only need to walk up the chain
665 * using AddHandler, and you want to preserve the content type across