]> git.ipfire.org Git - thirdparty/apache/httpd.git/log
thirdparty/apache/httpd.git
19 years agoNo need for this extra test, so remove dangit! :) fcgi-proxy-dev fcgi-proxy-dev
Jim Jagielski [Thu, 13 Apr 2006 21:53:31 +0000 (21:53 +0000)] 
No need for this extra test, so remove dangit! :)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/fcgi-proxy-dev@393955 13f79535-47bb-0310-9956-ffa450edef68

19 years agoExtend the output routine to ensure full writes
Jim Jagielski [Sat, 1 Apr 2006 02:26:57 +0000 (02:26 +0000)] 
Extend the output routine to ensure full writes

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/fcgi-proxy-dev@390571 13f79535-47bb-0310-9956-ffa450edef68

19 years agoLimit environment size to FastCGI to FCGI_MAX_ENV_SIZE
Jim Jagielski [Wed, 29 Mar 2006 17:59:14 +0000 (17:59 +0000)] 
Limit environment size to FastCGI to FCGI_MAX_ENV_SIZE
(which is currently 65535)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/fcgi-proxy-dev@389847 13f79535-47bb-0310-9956-ffa450edef68

19 years agoAdd support for starting multiple fastcgi processes listening on a
Garrett Rooney [Tue, 7 Mar 2006 04:37:02 +0000 (04:37 +0000)] 
Add support for starting multiple fastcgi processes listening on a
given socket.  This somewhat makes up for our lack of a good way to
manage connections to a given proxy backend.

* support/fcgistarter.c
  (main): Accept a new -N option that controls how many child procs
   we fork off.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/fcgi-proxy-dev@383774 13f79535-47bb-0310-9956-ffa450edef68

19 years agoOops, missed one thing I wanted to fix...
Garrett Rooney [Sun, 5 Mar 2006 21:46:47 +0000 (21:46 +0000)] 
Oops, missed one thing I wanted to fix...

* support/fcgistarter.c
  (main): Give the usage message if we get a bogus port argument.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/fcgi-proxy-dev@383415 13f79535-47bb-0310-9956-ffa450edef68

19 years agoAdd a first cut at a fastcgi starter program. This does the appropriate
Garrett Rooney [Sun, 5 Mar 2006 21:43:58 +0000 (21:43 +0000)] 
Add a first cut at a fastcgi starter program.  This does the appropriate
daemonization and sockets magic to let a standard fastcgi program listen
on a TCP port.

Unfortunately due to some requirements of the FastCGI libraries and the
way APR process creation works this currently requires platform specific
code and thus only works on Unix systems.

* support/fcgistarter.c: New program.

* support: Add fcgistarter to svn:ignore.

* support/Makefile.in: Build fcgistarter.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/fcgi-proxy-dev@383414 13f79535-47bb-0310-9956-ffa450edef68

19 years agoDon't just hardcode 30 seconds as the poll timeout.
Garrett Rooney [Sun, 5 Mar 2006 07:30:50 +0000 (07:30 +0000)] 
Don't just hardcode 30 seconds as the poll timeout.

* modules/proxy/mod_proxy_fcgi.c
  (dispatch): Use the worker timeout for our polls, falling back to the
   old behavior of 30 seconds if there is no worker timeout set.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/fcgi-proxy-dev@383292 13f79535-47bb-0310-9956-ffa450edef68

19 years agoFix up the path info in the balancer backend just like we do in the
Garrett Rooney [Sun, 5 Mar 2006 07:08:28 +0000 (07:08 +0000)] 
Fix up the path info in the balancer backend just like we do in the
fcgi backend.  This lets Rails apps work under a balancer setup without
any hacks to Rails itself.

* modules/proxy/mod_proxy_balancer.c
  (proxy_balancer_canon): Set r->path_info based on the path we got
   from parsing the URL.

* modules/proxy/mod_proxy_fcgi.c
  (proxy_fcgi_canon): Remove the comment about balancer not setting
   the path_info.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/fcgi-proxy-dev@383291 13f79535-47bb-0310-9956-ffa450edef68

19 years agoStop holding open connections to the backend fastcgi processes. At
Garrett Rooney [Sun, 5 Mar 2006 04:33:44 +0000 (04:33 +0000)] 
Stop holding open connections to the backend fastcgi processes.  At
this point we lack a good way to manage them, and thus it's really
easy to end up with situations where you get weird timeouts because
other worker process are holding all the connections open.

This allows Rails applications to reliably work with mod_proxy_fcgi.

* modules/proxy/mod_proxy_fcgi.c
  (dispatch): Add a timeout for our poll.  This should be controlled
   by a config option of some sort, but for now just hardcode it.
  (proxy_fcgi_handler): Set close_on_recycle to 1, so we don't hold
   open connections to the fastcgi processes.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/fcgi-proxy-dev@383278 13f79535-47bb-0310-9956-ffa450edef68

19 years agoBring the debugging output up to date with the kind of things that are
Garrett Rooney [Sun, 5 Mar 2006 00:57:24 +0000 (00:57 +0000)] 
Bring the debugging output up to date with the kind of things that are
actually being debugged at the moment.  Also note a problem with the way
we handle the path info setup.

* modules/proxy/mod_proxy_fcgi.c
  (proxy_fcgi_canon): Log the filename and path info when we set them,
   add a note that the path info stuff isn't being set if we're run in
   a balancer setup, which needs to be fixed somehow.
  (send_environment): Add an (ifdefed) call to log the environment vars
   we send to the backend server.
  (dump_header_to_log): Default to ifdefing this out, we're a bit beyond
   bugs in the raw FCGI protocol at this point and it fills up the logs.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/fcgi-proxy-dev@383239 13f79535-47bb-0310-9956-ffa450edef68

19 years ago* modules/proxy/mod_proxy_fcgi.c
Garrett Rooney [Mon, 13 Feb 2006 01:32:26 +0000 (01:32 +0000)] 
* modules/proxy/mod_proxy_fcgi.c
  (dispatch): Remove extra level of indentation.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/fcgi-proxy-dev@377284 13f79535-47bb-0310-9956-ffa450edef68

19 years agoDocument that we are being chunking in our
Jim Jagielski [Thu, 9 Feb 2006 16:51:22 +0000 (16:51 +0000)] 
Document that we are being chunking in our
content passing, as compared to simply spooling
all the content in until clen == 0. Also, we
need to cleanup the brigade after each pass.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/fcgi-proxy-dev@376346 13f79535-47bb-0310-9956-ffa450edef68

19 years agoOK, if we have already seen headers, it's a smashing
Jim Jagielski [Thu, 9 Feb 2006 15:16:45 +0000 (15:16 +0000)] 
OK, if we have already seen headers, it's a smashing
good idea to go ahead and pass the data along.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/fcgi-proxy-dev@376318 13f79535-47bb-0310-9956-ffa450edef68

19 years agoMinor style change: IMO checking for APR_SUCCESS is
Jim Jagielski [Thu, 9 Feb 2006 14:07:03 +0000 (14:07 +0000)] 
Minor style change: IMO checking for APR_SUCCESS is
just better and more consistant.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/fcgi-proxy-dev@376297 13f79535-47bb-0310-9956-ffa450edef68

19 years agoNow that the dispatch function handles the entire request there's no need
Garrett Rooney [Sun, 29 Jan 2006 01:19:47 +0000 (01:19 +0000)] 
Now that the dispatch function handles the entire request there's no need
to create a long lived pool, we can use one that's local to the function.

* modules/proxy/mod_proxy_fcgi.c
  (proxy_fcgi_baton_t): Removed.
  (dispatch): Use a local setaside pool instead of one from the baton.
  (proxy_fcgi_handler): Don't bother creating a baton.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/fcgi-proxy-dev@373269 13f79535-47bb-0310-9956-ffa450edef68

19 years agoClean up the end-of-headers detection code a bit. I'm still getting some
Garrett Rooney [Tue, 24 Jan 2006 06:21:09 +0000 (06:21 +0000)] 
Clean up the end-of-headers detection code a bit.  I'm still getting some
strange problems with really large numbers of headers, but I'm starting to
suspect that it's a problem with my FastCGI lib, not this module, and this
at least makes things shorter and a bit easier to read, along with fixing
one bug.

* modules/proxy/mod_proxy_fcgi.c
  (handle_headers): Get rid of some cases that were not strictly needed.
   Insert a case that was missed that screwed things up when there were
   more than one header.
  (dispatch): Move the 'done with headers' code into the preceding block,
   add a note about a case that needs to be investigated.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/fcgi-proxy-dev@371840 13f79535-47bb-0310-9956-ffa450edef68

19 years agoUpdate the proxy worker stats when we read/write data from/to the back
Garrett Rooney [Mon, 23 Jan 2006 15:57:03 +0000 (15:57 +0000)] 
Update the proxy worker stats when we read/write data from/to the back
end fastcgi process.

* modules/proxy/mod_proxy_fcgi.c
  (send_data, get_data): New wrapper functions that do the sendv/recv
   stuff and then update the proper statistics.
  (send_begin_request, send_environment, dispatch): Use send_data/get_data.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/fcgi-proxy-dev@371560 13f79535-47bb-0310-9956-ffa450edef68

19 years agoUpdate an old comment.
Garrett Rooney [Mon, 23 Jan 2006 01:17:40 +0000 (01:17 +0000)] 
Update an old comment.

* modules/proxy/mod_proxy_fcgi.c
  (proxy_fcgi_handler): Stop describing the old URL style, remove a stray
   empty line.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/fcgi-proxy-dev@371431 13f79535-47bb-0310-9956-ffa450edef68

19 years agoFix the code that detects the end of the headers in mod_proxy_fcgi. In
Garrett Rooney [Mon, 23 Jan 2006 00:53:29 +0000 (00:53 +0000)] 
Fix the code that detects the end of the headers in mod_proxy_fcgi.  In
the old code, we'd fail to detect the end of the headers if they were split
over multiple fastcgi records, or if the cgi script used \n at the end of
each header instead of \r\n.

* modules/proxy/mod_proxy_fcgi.c
  (HDR_STATE_READING_HEADERS,
   HDR_STATE_GOT_CR,
   HDR_STATE_GOT_CRLF,
   HDR_STATE_GOT_CRLFCR,
   HDR_STATE_GOT_LF,
   HDR_STATE_DONE_WITH_HEADERS): Constants to track where we are in parsing
   the end of the headers.
  (handle_headers): Take the current parsing state as an argument, use a
   state machine to detect the end of the headers instead of strstr.
  (dispatch): Pass the state to handle_headers.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/fcgi-proxy-dev@371428 13f79535-47bb-0310-9956-ffa450edef68

19 years agoChange the FastCGI URL scheme to fcgi://.
Garrett Rooney [Wed, 11 Jan 2006 04:07:56 +0000 (04:07 +0000)] 
Change the FastCGI URL scheme to fcgi://.

* modules/proxy/mod_proxy_fcgi.c
  (proxy_fcgi_canon): Stop pretending unix domain sockets will need their
   own url scheme.
  (FCGI_SCHEME): New constant to describe the FastCGI proxy backend.
  (proxy_fcgi_handler): Drop the fcgi-local stuff, use FCGI_SCHEME now that
   we aren't worrying about multiple types of FastCGI workers.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/fcgi-proxy-dev@367906 13f79535-47bb-0310-9956-ffa450edef68

19 years agoAllow for "natural" usage of normal FCGI structs when logical, yet
Jim Jagielski [Mon, 9 Jan 2006 14:10:55 +0000 (14:10 +0000)] 
Allow for "natural" usage of normal FCGI structs when logical, yet
still correctly handle cases where we need to ship those structs
over the wire, by transforming them from FCGI structs to
unsigned char arrays. Place the logic of mapping that
struct to the arrays in distinct functions, isolating
them.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/fcgi-proxy-dev@367300 13f79535-47bb-0310-9956-ffa450edef68

19 years agoAfter more comparison with existing mod_proxy backends, such as http
Garrett Rooney [Mon, 9 Jan 2006 05:43:07 +0000 (05:43 +0000)] 
After more comparison with existing mod_proxy backends, such as http
it seems clear that we're going to need to be able to specify arbitrary
portions of the URL that need to be added to the path info.  Follow the
lead of mod_proxy_http and add the calculation of this into the canon
handler.

* modules/proxy/mod_proxy_fcgi.c
  (proxy_fcgi_canon): Add the path portion of the back end URL to the
   path_info of the request, via the ap_proxy_canonenc function.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/fcgi-proxy-dev@367208 13f79535-47bb-0310-9956-ffa450edef68

19 years agoSet up r->path_info so that the PATH_INFO environment variable gets
Garrett Rooney [Mon, 9 Jan 2006 02:52:48 +0000 (02:52 +0000)] 
Set up r->path_info so that the PATH_INFO environment variable gets
passed on to the back end FastCGI process.

* modules/proxy/mod_proxy_fcgi.c
  (proxy_fcgi_canon): Use the post-hostname portion of the URL as the
   path info for the request.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/fcgi-proxy-dev@367170 13f79535-47bb-0310-9956-ffa450edef68

19 years agoIn theory, we now correctly implement all of the FastCGI protocol, so
Garrett Rooney [Sun, 8 Jan 2006 04:48:50 +0000 (04:48 +0000)] 
In theory, we now correctly implement all of the FastCGI protocol, so
there's no reason that request ids wouldn't be matching up.  Until we
see an example of a request id mismatch error that is absolutely not
caused by an error in our parsing of the FastCGI protocol, we should
be able to go back to treating mismatches as errors.

* modules/proxy/mod_proxy_fcgi.c
  (dispatch): Remove #ifdef that turned off treating rid mismatches as
   fatal errors.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/fcgi-proxy-dev@366985 13f79535-47bb-0310-9956-ffa450edef68

19 years agoUpdate a log message.
Garrett Rooney [Sat, 7 Jan 2006 21:39:13 +0000 (21:39 +0000)] 
Update a log message.

* modules/proxy/mod_proxy_fcgi.c
  (fcgi_do_request): We're no longer just handling STDIN in this call...

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/fcgi-proxy-dev@366927 13f79535-47bb-0310-9956-ffa450edef68

19 years agoMake the handling of FastCGI request headers consistent. Previously, we
Garrett Rooney [Sat, 7 Jan 2006 21:37:40 +0000 (21:37 +0000)] 
Make the handling of FastCGI request headers consistent.  Previously, we
used a struct to hold the data when writing it, but read it into an array
when reading it.  This meant that the knowledge of the header layout was
in two places.  This change moves both sides to using an array, and adds
a set of #defines for the offsets into the array, so neither side can get
out of sync.

This also moves the logic for setting up the content length bytes into one
place, where before we had it in several places.

* modules/proxy/fcgi_protocol.h
  (fcgi_header): Removed.
  (FCGI_HDR_VERSION_OFFSET,
   FCGI_HDR_TYPE_OFFSET,
   FCGI_HDR_REQUEST_ID_B1_OFFSET,
   FCGI_HDR_REQUEST_ID_B0_OFFSET,
   FCGI_HDR_CONTENT_LEN_B1_OFFSET,
   FCGI_HDR_CONTENT_LEN_B0_OFFSET,
   FCGI_HDR_PADDING_LEN_OFFSET,
   FCGI_HDR_RESERVED_OFFSET): New constants.

* modules/proxy/mod_proxy_fcgi.c
  (fill_in_header): Take an array, not a struct pointer, and handle all
   the contents of the header, not just the type and request id.
  (send_begin_request, send_environment, dispatch): Update for new way
   to fill in headers.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/fcgi-proxy-dev@366926 13f79535-47bb-0310-9956-ffa450edef68

19 years agoMake a pass through mod_proxy_fcgi and clean up its style a bit. This
Garrett Rooney [Fri, 6 Jan 2006 04:03:13 +0000 (04:03 +0000)] 
Make a pass through mod_proxy_fcgi and clean up its style a bit.  This
makes everything consistent with regard to spacing, line length, etc.

* modules/proxy/mod_proxy_fcgi.c
  (dump_header_to_log, dispatch, proxy_fcgi_handler): Clean up.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/fcgi-proxy-dev@366414 13f79535-47bb-0310-9956-ffa450edef68

19 years agoRead the FCGI_STDERR stream and log it to the error log. This will need
Garrett Rooney [Fri, 6 Jan 2006 03:51:43 +0000 (03:51 +0000)] 
Read the FCGI_STDERR stream and log it to the error log.  This will need
cleanup, but at least it keeps us from messing up the stream when we get
stuff written to stderr by the fastcgi process.

* modules/proxy/mod_proxy_fcgi.c
  (dispatch): Move the plen recv down after the switch, so it gets done
   for all cases that have padding.  Read data for the FCGI_STDERR case
   just like we do for FCGI_STDOUT, but write it to the log instead of
   sending it to the client.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/fcgi-proxy-dev@366412 13f79535-47bb-0310-9956-ffa450edef68

19 years agoMake sure that we read the padding bytes in all cases. Also cut
Garrett Rooney [Thu, 5 Jan 2006 05:24:43 +0000 (05:24 +0000)] 
Make sure that we read the padding bytes in all cases.  Also cut
down on some of the crazy verbose logging, since this seems to be
the problem we were trying to find.

* modules/proxy/mod_proxy_fcgi.c
  (dispatch): Remove really verbose logging, move reading of the
   padding bytes down to the end of the FCGI_STDOUT case.

Tested By: iholsman

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/fcgi-proxy-dev@366086 13f79535-47bb-0310-9956-ffa450edef68

19 years agomore debug statements.
Ian Holsman [Wed, 4 Jan 2006 08:28:32 +0000 (08:28 +0000)] 
more debug statements.
right now it looks like for large requests it isn't reading enough off the wire.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/fcgi-proxy-dev@365863 13f79535-47bb-0310-9956-ffa450edef68

19 years agoshow me the header please
Ian Holsman [Wed, 4 Jan 2006 04:35:03 +0000 (04:35 +0000)] 
show me the header please

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/fcgi-proxy-dev@365824 13f79535-47bb-0310-9956-ffa450edef68

19 years agoClean up record header parsing a bit. This may fix the problems some
Garrett Rooney [Wed, 4 Jan 2006 03:51:58 +0000 (03:51 +0000)] 
Clean up record header parsing a bit.  This may fix the problems some
people have seen where rid != request_id.

* modules/proxy/mod_proxy_fcgi.c
  (dispatch): Stop initializing things we're just going to assign over
   them later, initialize all of the rid and clen variables, and fix a
   warning from passing an unsigned char array into apr_socket_recv by
   adding a cast to char *.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/fcgi-proxy-dev@365813 13f79535-47bb-0310-9956-ffa450edef68

19 years agoGarret has a good point... even though we are sending the whole
Jim Jagielski [Tue, 3 Jan 2006 18:05:54 +0000 (18:05 +0000)] 
Garret has a good point... even though we are sending the whole
struct, and assuming that it's following the correct format,
we should be extra careful when rec'ing the header info, and
ensure that each byte is followed one after another.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/fcgi-proxy-dev@365698 13f79535-47bb-0310-9956-ffa450edef68

19 years agoAlign with FCGI protocol defines.
Jim Jagielski [Tue, 3 Jan 2006 14:40:26 +0000 (14:40 +0000)] 
Align with FCGI protocol defines.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/fcgi-proxy-dev@365643 13f79535-47bb-0310-9956-ffa450edef68

19 years agoMove the FastCGI protocol types/constants to a sep file.
Jim Jagielski [Mon, 2 Jan 2006 20:53:43 +0000 (20:53 +0000)] 
Move the FastCGI protocol types/constants to a sep file.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/fcgi-proxy-dev@365432 13f79535-47bb-0310-9956-ffa450edef68

19 years agoTemporary hack to allow testing to continue. Interesting that
Jim Jagielski [Mon, 2 Jan 2006 18:25:42 +0000 (18:25 +0000)] 
Temporary hack to allow testing to continue. Interesting that
other FCGI modules (like mod_fcgid) don't bother to test
the return request_id...

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/fcgi-proxy-dev@365387 13f79535-47bb-0310-9956-ffa450edef68

19 years agoAvoid magic numbers. Since we are reading the header, let's
Jim Jagielski [Mon, 2 Jan 2006 16:52:58 +0000 (16:52 +0000)] 
Avoid magic numbers. Since we are reading the header, let's
be explicit about it. Also removes the need to clean up
the readbuf again, and any potential for confusion on
what we are doing ;)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/fcgi-proxy-dev@365376 13f79535-47bb-0310-9956-ffa450edef68

19 years agoWhen we get some kind of write failure or protocol problem, close the current socket...
Paul Querna [Fri, 30 Dec 2005 22:16:14 +0000 (22:16 +0000)] 
When we get some kind of write failure or protocol problem, close the current socket, since we don't know if we are left in a working state.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/fcgi-proxy-dev@360174 13f79535-47bb-0310-9956-ffa450edef68

19 years agoHandle reading fastcgi records with content length larger than AP_IOBUFSIZE.
Paul Querna [Fri, 30 Dec 2005 20:59:30 +0000 (20:59 +0000)] 
Handle reading fastcgi records with content length larger than AP_IOBUFSIZE.

* modules/proxy/mod_proxy_fcgi.c
  (proxy_fcgi_baton_t): New struct, holds per-connection data.
  (dispatch): Set buckets aside into the scratch pool in the baton,
   clearing it when we pass the baton on.  Deal with the case where
   the content length is larger than AP_IOBUFSIZE.  Consistently use
   sizeof when referring to the length of buffers.  Explicitly null
   terminate the read buffer after reading.  Read the padding bytes
   in a second pass to simplify logic.
  (proxy_fcgi_handler): Create our baton and stash it in the connection's
   data member.

Submitted By: Garrett Rooney <rooneg apache.org>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/fcgi-proxy-dev@360164 13f79535-47bb-0310-9956-ffa450edef68

19 years agoAdd support for reading FCGI_STDOUT and FCGI_END_REQUEST records from the
Paul Querna [Thu, 29 Dec 2005 21:59:50 +0000 (21:59 +0000)] 
Add support for reading FCGI_STDOUT and FCGI_END_REQUEST records from the
back end fastcgi process.  This includes switching to a poll based dispatch
loop that handles interleaved reads and writes.

* modules/proxy/mod_proxy_fcgi.c
  (MAX_INPUT_BYTES): Removed, we now use AP_IOBUFSIZE.
  (handle_headers): New helper function for parsing headers out of the
   response data.
  (send_stdin): Removed, code incorporated into dispatch routine.
  (dispatch): New, poll based dispatch loop that handles both reads and
   writes.
  (fcgi_do_request): Call new dispatch routine.  Return OK if we get
   through without errors.

Submitted By: Garrett Rooney <rooneg apache.org>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/fcgi-proxy-dev@359901 13f79535-47bb-0310-9956-ffa450edef68

19 years agoAdd support for sending the FASTCGI_STDIN stream of data to the fastcgi
Paul Querna [Tue, 27 Dec 2005 07:23:44 +0000 (07:23 +0000)] 
Add support for sending the FASTCGI_STDIN stream of data to the fastcgi
process.

* modules/proxy/mod_proxy_fcgi.c
  (fill_in_header): New helper function.
  (send_begin_request, send_environment): Fix formatting, use fill_in_header.
  (MAX_INPUT_BYTES): New constant.
  (send_stdin): New function.
  (fcgi_do_request): Send the body of the request via send_stdin.

Submitted By: Garrett Rooney <rooneg apache.org>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/fcgi-proxy-dev@359183 13f79535-47bb-0310-9956-ffa450edef68

19 years agoAdd support for sending the environment to the backend fastcgi process
Paul Querna [Mon, 26 Dec 2005 08:57:06 +0000 (08:57 +0000)] 
Add support for sending the environment to the backend fastcgi process
to mod_proxy_fcgi.

* modules/proxy/mod_proxy_fcgi.c
  (proxy_fcgi_canon): Remove unused variables, wrap a long line.
  (send_begin_request): Helper function to send the FCGI_BEGIN_REQUEST
   message.
  (send_environment): Helper function to send the environment.
  (fcgi_do_request): Use send_begin_request and send_environment.

Submitted By: Garrett Rooney <rooneg apache.org>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/fcgi-proxy-dev@359043 13f79535-47bb-0310-9956-ffa450edef68

19 years ago- Add defines for most common FastCGI values.
Paul Querna [Fri, 23 Dec 2005 05:38:51 +0000 (05:38 +0000)] 
- Add defines for most common FastCGI values.
- Add basic structures, defined in the FastCGI Spec.
- Write a request to the server.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/fcgi-proxy-dev@358719 13f79535-47bb-0310-9956-ffa450edef68

19 years agoFix the parsing of the protocol in ProxyPass, so now you can do:
Paul Querna [Fri, 23 Dec 2005 03:16:07 +0000 (03:16 +0000)] 
Fix the parsing of the protocol in ProxyPass, so now you can do:
  ProxyPass / fcgi-tcp://localhost:9000/, and we will try to connect with TCP.

I still need to write supporting code to send/recv the FastCGI protocol packets.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/fcgi-proxy-dev@358690 13f79535-47bb-0310-9956-ffa450edef68

19 years agoCreate a templte for a FastCGI proxy backend. It does not actually do much yet,...
Paul Querna [Sun, 18 Dec 2005 05:42:38 +0000 (05:42 +0000)] 
Create a templte for a FastCGI proxy backend.  It does not actually do much yet, but is the base for more development.  I hope to work on this more tomorrow.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/fcgi-proxy-dev@357444 13f79535-47bb-0310-9956-ffa450edef68

19 years agoCreate a development branch for a FastCGI backend to mod_proxy.
Paul Querna [Sun, 18 Dec 2005 04:38:25 +0000 (04:38 +0000)] 
Create a development branch for a FastCGI backend to mod_proxy.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/fcgi-proxy-dev@357431 13f79535-47bb-0310-9956-ffa450edef68

19 years ago* Fix ap_http_chunk_filter to create correct chunks in the case that a
Ruediger Pluem [Sat, 17 Dec 2005 09:25:09 +0000 (09:25 +0000)] 
* Fix ap_http_chunk_filter to create correct chunks in the case that a
  flush bucket is pre- and postfixed by data buckets in the brigade.

Submitted by: Ruediger Pluem
Reviewed by: Justin Erenkrantz, Joe Orton, Jim Jagielski

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@357328 13f79535-47bb-0310-9956-ffa450edef68

19 years ago Add the module details for our /base:@...,mod_foo.so magic
William A. Rowe Jr [Fri, 16 Dec 2005 21:15:12 +0000 (21:15 +0000)] 
  Add the module details for our /base:@...,mod_foo.so magic

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@357234 13f79535-47bb-0310-9956-ffa450edef68

19 years ago A more generic explanation
William A. Rowe Jr [Fri, 16 Dec 2005 21:06:45 +0000 (21:06 +0000)] 
  A more generic explanation

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@357231 13f79535-47bb-0310-9956-ffa450edef68

19 years ago Test _NMAKE_VER define to determine nmake -nologo behavior,
William A. Rowe Jr [Fri, 16 Dec 2005 20:54:27 +0000 (20:54 +0000)] 
  Test _NMAKE_VER define to determine nmake -nologo behavior,
  and use $(MAKEOPT) -f syntax throughout to avoid problems
  on mingw, borland, etc.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@357226 13f79535-47bb-0310-9956-ffa450edef68

19 years ago New Win32 9x efforts are a nonstarter.
William A. Rowe Jr [Fri, 16 Dec 2005 20:28:43 +0000 (20:28 +0000)] 
  New Win32 9x efforts are a nonstarter.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@357223 13f79535-47bb-0310-9956-ffa450edef68

19 years ago Not Applicable anymore
William A. Rowe Jr [Fri, 16 Dec 2005 20:24:45 +0000 (20:24 +0000)] 
  Not Applicable anymore

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@357222 13f79535-47bb-0310-9956-ffa450edef68

19 years ago* server/protocol.c (ap_old_write_filter): Use NULL for the NULL
Joe Orton [Fri, 16 Dec 2005 14:48:22 +0000 (14:48 +0000)] 
* server/protocol.c (ap_old_write_filter): Use NULL for the NULL
pointer not 0.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@357170 13f79535-47bb-0310-9956-ffa450edef68

19 years ago* acinclude.m4 (APACHE_ENABLE_MODULES): Support passing "none" to
Joe Orton [Fri, 16 Dec 2005 14:46:54 +0000 (14:46 +0000)] 
* acinclude.m4 (APACHE_ENABLE_MODULES): Support passing "none" to
--enable-modules to build an httpd with no optional modules enabled.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@357168 13f79535-47bb-0310-9956-ffa450edef68

19 years agoBring forward the fix for CVE-2005-3352 already on the branches:
Joe Orton [Fri, 16 Dec 2005 14:27:47 +0000 (14:27 +0000)] 
Bring forward the fix for CVE-2005-3352 already on the branches:

* modules/mappers/mod_imagemap.c (imap_url): Escape the referer.

* server/util.c (ap_escape_html): Escape the " character.

Submitted by: mjc
Reviewed by: fielding, jorton

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@357161 13f79535-47bb-0310-9956-ffa450edef68

19 years ago* modules/debug/mod_bucketeer.c (bucketeer_out_filter): Only pass on
Joe Orton [Fri, 16 Dec 2005 13:08:32 +0000 (13:08 +0000)] 
* modules/debug/mod_bucketeer.c (bucketeer_out_filter): Only pass on
the brigade if the pass delimiter is reached and not for any flush
delimiter; allows creating brigades with a flush bucket in the middle.
Fail if ap_pass_brigade() fails.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@357156 13f79535-47bb-0310-9956-ffa450edef68

19 years agoSorry, previous commit was not ok.
Jean-Frederic Clere [Thu, 15 Dec 2005 16:58:10 +0000 (16:58 +0000)] 
Sorry, previous commit was not ok.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@357044 13f79535-47bb-0310-9956-ffa450edef68

19 years agoThe string comming from TC is in ASCII and the string returned by apr_psprintf isn't.
Jean-Frederic Clere [Thu, 15 Dec 2005 14:44:39 +0000 (14:44 +0000)] 
The string comming from TC is in ASCII and the string returned by apr_psprintf isn't.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@357022 13f79535-47bb-0310-9956-ffa450edef68

19 years ago Mirror Makefile.win from the GUI environment. The path here must be
William A. Rowe Jr [Wed, 14 Dec 2005 20:16:52 +0000 (20:16 +0000)] 
  Mirror Makefile.win from the GUI environment.  The path here must be
  explicit to help point the debugger at the resulting, installed binaries.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@356853 13f79535-47bb-0310-9956-ffa450edef68

19 years ago Revert 1/2 of my last commit, keep Apache2 as the default name so we don't
William A. Rowe Jr [Wed, 14 Dec 2005 20:14:46 +0000 (20:14 +0000)] 
  Revert 1/2 of my last commit, keep Apache2 as the default name so we don't
  need to keep syncing this with releases.

  Retain the other 1/2 - a better message since apr's must be in the build
  tree srclib/ not the install target srclib/.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@356852 13f79535-47bb-0310-9956-ffa450edef68

19 years ago Keep default INSTDIR out of a 2.0, 2.2 tree when working in svn trunk
William A. Rowe Jr [Wed, 14 Dec 2005 20:07:37 +0000 (20:07 +0000)] 
  Keep default INSTDIR out of a 2.0, 2.2 tree when working in svn trunk

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@356844 13f79535-47bb-0310-9956-ffa450edef68

19 years agoupdate transformation
André Malo [Wed, 14 Dec 2005 16:39:01 +0000 (16:39 +0000)] 
update transformation

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@356801 13f79535-47bb-0310-9956-ffa450edef68

19 years agofix that paste error and properties
André Malo [Wed, 14 Dec 2005 16:34:19 +0000 (16:34 +0000)] 
fix that paste error and properties

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@356799 13f79535-47bb-0310-9956-ffa450edef68

19 years ago* include/ap_config.h: Fix the macro name.
Joe Orton [Mon, 12 Dec 2005 11:14:10 +0000 (11:14 +0000)] 
* include/ap_config.h: Fix the macro name.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@356248 13f79535-47bb-0310-9956-ffa450edef68

19 years ago* include/ap_config.h: Define AP_HAVE_DESIGNATED_INITIALIZER for GCC
Joe Orton [Mon, 12 Dec 2005 10:10:33 +0000 (10:10 +0000)] 
* include/ap_config.h: Define AP_HAVE_DESIGNATED_INITIALIZER for GCC
(but not G++) or any compiler which claims C99 support.

* configure.in: Don't define AP_HAVE_DESIGNATED_INITIALIZER here.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@356234 13f79535-47bb-0310-9956-ffa450edef68

19 years agoOK, while we ponder how best to reuse conn pools for workers,
Jim Jagielski [Sun, 11 Dec 2005 21:36:27 +0000 (21:36 +0000)] 
OK, while we ponder how best to reuse conn pools for workers,
clean this section up.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@356030 13f79535-47bb-0310-9956-ffa450edef68

19 years agoDetails about changing auth provider.
Rich Bowen [Sun, 11 Dec 2005 20:40:56 +0000 (20:40 +0000)] 
Details about changing auth provider.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@356012 13f79535-47bb-0310-9956-ffa450edef68

19 years agoA few additional seealso links
Rich Bowen [Sun, 11 Dec 2005 18:25:59 +0000 (18:25 +0000)] 
A few additional seealso links

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@355990 13f79535-47bb-0310-9956-ffa450edef68

19 years ago* revert r355823 and r355837
Ruediger Pluem [Sun, 11 Dec 2005 01:28:13 +0000 (01:28 +0000)] 
* revert r355823 and r355837

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@355853 13f79535-47bb-0310-9956-ffa450edef68

19 years ago* Let the proxy handler know that the backend connection broke after we have
Ruediger Pluem [Sun, 11 Dec 2005 00:50:21 +0000 (00:50 +0000)] 
* Let the proxy handler know that the backend connection broke after we have
  sent the headers.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@355837 13f79535-47bb-0310-9956-ffa450edef68

19 years ago* Move handling of backends that broke after the headers have been sent
Ruediger Pluem [Sun, 11 Dec 2005 00:15:27 +0000 (00:15 +0000)] 
* Move handling of backends that broke after the headers have been sent
  into the proxy handler of mod_proxy.

  This patch still sets r->connection->aborted to 1 which is currently
  vetoed by Roy. Moving it from the scheme handler to the proxy handler
  should ease the reimplementation of this, as the scheme handlers only
  needs to return PROXY_BACKEND_BROKEN to signal the above situation to
  the proxy handler.

  mod_proxy.h: Add define for PROXY_BACKEND_BROKEN
  mod_proxy.c: Handle PROXY_BACKEND_BROKEN in proxy handler
  mod_proxy_http.c: Sent back PROXY_BACKEND_BROKEN if backend broke
  after we sent the headers.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@355823 13f79535-47bb-0310-9956-ffa450edef68

19 years agoSplit the Access Control stuff off into it's own howto, because I wanted
Rich Bowen [Sat, 10 Dec 2005 19:39:24 +0000 (19:39 +0000)] 
Split the Access Control stuff off into it's own howto, because I wanted
to do some stuff that really isn't auth related.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@355768 13f79535-47bb-0310-9956-ffa450edef68

19 years agoupdate transformation
André Malo [Sat, 10 Dec 2005 15:52:24 +0000 (15:52 +0000)] 
update transformation

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@355753 13f79535-47bb-0310-9956-ffa450edef68

19 years agofix xml validation error
André Malo [Sat, 10 Dec 2005 15:45:41 +0000 (15:45 +0000)] 
fix xml validation error

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@355750 13f79535-47bb-0310-9956-ffa450edef68

19 years agoMention that digest can also be used with authn_dbd
Rich Bowen [Sat, 10 Dec 2005 14:00:05 +0000 (14:00 +0000)] 
Mention that digest can also be used with authn_dbd

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@355745 13f79535-47bb-0310-9956-ffa450edef68

19 years agoAdd required AuthName directive
Rich Bowen [Fri, 9 Dec 2005 02:41:20 +0000 (02:41 +0000)] 
Add required AuthName directive

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@355326 13f79535-47bb-0310-9956-ffa450edef68

19 years ago* include/httpd.h (conn_state_e): Remove trailing comma from enum.
Joe Orton [Thu, 8 Dec 2005 17:12:36 +0000 (17:12 +0000)] 
* include/httpd.h (conn_state_e): Remove trailing comma from enum.

Submitted by: Per Olausson <pao darkheim.freeserve.co.uk>
PR: 37840

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@355143 13f79535-47bb-0310-9956-ffa450edef68

19 years agoAdd a comment and use proper grammar for another comment.
Justin Erenkrantz [Wed, 7 Dec 2005 00:44:13 +0000 (00:44 +0000)] 
Add a comment and use proper grammar for another comment.
(No functional changes.)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@354636 13f79535-47bb-0310-9956-ffa450edef68

19 years agoIf a connection aborts while waiting for a chunked line, flag the connection as
Justin Erenkrantz [Wed, 7 Dec 2005 00:21:38 +0000 (00:21 +0000)] 
If a connection aborts while waiting for a chunked line, flag the connection as
errored out and send errors upwards.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@354630 13f79535-47bb-0310-9956-ffa450edef68

19 years agoIf we get an error reading the upstream response, we should bail.
Justin Erenkrantz [Wed, 7 Dec 2005 00:18:58 +0000 (00:18 +0000)] 
If we get an error reading the upstream response, we should bail.

Reported by: Brian Akins

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@354628 13f79535-47bb-0310-9956-ffa450edef68

19 years agoAdd the mod_dbd exports to the NetWare make file
Bradley Nicholes [Tue, 6 Dec 2005 16:48:48 +0000 (16:48 +0000)] 
Add the mod_dbd exports to the NetWare make file

Submitted by: Guenter Knauf <fuankg apache.org>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@354471 13f79535-47bb-0310-9956-ffa450edef68

19 years agoImprove defaults from 'test' values (and get meaningful errors on
Nick Kew [Tue, 6 Dec 2005 10:54:57 +0000 (10:54 +0000)] 
Improve defaults from 'test' values (and get meaningful errors on
startup if database is down); trivial tidyups.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@354400 13f79535-47bb-0310-9956-ffa450edef68

19 years ago* modules/ssl/ssl_engine_kernel.c (ssl_hook_Access): Omit further
Joe Orton [Tue, 6 Dec 2005 10:21:41 +0000 (10:21 +0000)] 
* modules/ssl/ssl_engine_kernel.c (ssl_hook_Access): Omit further
access control checks if SSL is not in use regardless of vhost
settings.

Submitted by: Rüdiger Plüm, Joe Orton
PR: 37791

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@354394 13f79535-47bb-0310-9956-ffa450edef68

19 years ago* os/unix/unixd.h: Use extern "C" linkage.
Joe Orton [Tue, 6 Dec 2005 09:48:19 +0000 (09:48 +0000)] 
* os/unix/unixd.h: Use extern "C" linkage.

PR: 37357

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@354389 13f79535-47bb-0310-9956-ffa450edef68

19 years agoFix documentation bugs
Nick Kew [Tue, 6 Dec 2005 00:54:29 +0000 (00:54 +0000)] 
Fix documentation bugs

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@354248 13f79535-47bb-0310-9956-ffa450edef68

19 years agoGive a clue about what event really does, and some
Joshua Slive [Mon, 5 Dec 2005 20:35:24 +0000 (20:35 +0000)] 
Give a clue about what event really does, and some
small improvements to the leader and worker docs.

Submitted by: Noirin Plunkett <firebird nerdchic.net>, Joshua Slive

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@354164 13f79535-47bb-0310-9956-ffa450edef68

19 years agoPR 36090
Nick Kew [Mon, 5 Dec 2005 18:22:29 +0000 (18:22 +0000)] 
PR 36090
Fix recursive ErrorDocument handling

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@354118 13f79535-47bb-0310-9956-ffa450edef68

19 years agoFix for Bug 37790 (hangs on error return from post_read_request)
Nick Kew [Mon, 5 Dec 2005 15:30:15 +0000 (15:30 +0000)] 
Fix for Bug 37790 (hangs on error return from post_read_request)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@354085 13f79535-47bb-0310-9956-ffa450edef68

19 years agoupdate transformation
André Malo [Sat, 3 Dec 2005 21:56:02 +0000 (21:56 +0000)] 
update transformation

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@352028 13f79535-47bb-0310-9956-ffa450edef68

19 years agofix remaining mod_imap occurences
André Malo [Sat, 3 Dec 2005 21:39:50 +0000 (21:39 +0000)] 
fix remaining mod_imap occurences

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@352025 13f79535-47bb-0310-9956-ffa450edef68

19 years ago* Fix PR37753. Off by one bug in get_path_param eats up too much of the string
Ruediger Pluem [Sat, 3 Dec 2005 20:17:11 +0000 (20:17 +0000)] 
* Fix PR37753. Off by one bug in get_path_param eats up too much of the string
  such that session identifier for sticky sessions is never found in URL.

Submitted by: Kazuhiro Osawa <ko yappo.ne.jp>
Reviewed by: Ruediger Pluem

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@352010 13f79535-47bb-0310-9956-ffa450edef68

19 years agoOnly define sendfile_nonblocking if APR_HAS_SENDFILE is true.
Paul Querna [Sat, 3 Dec 2005 18:22:25 +0000 (18:22 +0000)] 
Only define sendfile_nonblocking if APR_HAS_SENDFILE is true.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@351997 13f79535-47bb-0310-9956-ffa450edef68

19 years agoPoint the breadcrump links to the new docs index page.
Joshua Slive [Fri, 2 Dec 2005 19:45:19 +0000 (19:45 +0000)] 
Point the breadcrump links to the new docs index page.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@351819 13f79535-47bb-0310-9956-ffa450edef68

19 years ago Recover text
William A. Rowe Jr [Fri, 2 Dec 2005 13:46:07 +0000 (13:46 +0000)] 
  Recover text

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@351717 13f79535-47bb-0310-9956-ffa450edef68

19 years ago Style nit - alpha order is slightly easier to later review
William A. Rowe Jr [Fri, 2 Dec 2005 12:34:40 +0000 (12:34 +0000)] 
  Style nit - alpha order is slightly easier to later review

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@351703 13f79535-47bb-0310-9956-ffa450edef68

19 years agorebuild.
Paul Querna [Thu, 1 Dec 2005 17:51:23 +0000 (17:51 +0000)] 
rebuild.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@350290 13f79535-47bb-0310-9956-ffa450edef68

19 years agoNuke really old version recommendation on GCC. Any modern version should be acceptable.
Paul Querna [Thu, 1 Dec 2005 17:40:17 +0000 (17:40 +0000)] 
Nuke really old version recommendation on GCC. Any modern version should be acceptable.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@350286 13f79535-47bb-0310-9956-ffa450edef68

19 years agoUntil we determine whether we should dip into the connection
Jim Jagielski [Thu, 1 Dec 2005 13:50:11 +0000 (13:50 +0000)] 
Until we determine whether we should dip into the connection
pool each time, rearrange the logic to avoid a double
check which is unneeded. No matter what (if it's reusable or
not) a null conn->hostname needs to be set. At that
point it doesn't matter if we're not reusing it or
if the string comparison happens, since what we
would do in that case has already been done.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@350250 13f79535-47bb-0310-9956-ffa450edef68

19 years agominor doc changes already on 2.2 branch
Roy T. Fielding [Thu, 1 Dec 2005 07:51:52 +0000 (07:51 +0000)] 
minor doc changes already on 2.2 branch

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@350202 13f79535-47bb-0310-9956-ffa450edef68

19 years agoCheck that conn->hostname is valid before we do the string
Jim Jagielski [Wed, 30 Nov 2005 18:40:05 +0000 (18:40 +0000)] 
Check that conn->hostname is valid before we do the string
comparison

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@350009 13f79535-47bb-0310-9956-ffa450edef68