Garrett Rooney
9340c8c658
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
2006-03-07 04:37:02 +00:00
Garrett Rooney
83a30c52e6
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
2006-03-05 21:46:47 +00:00
Garrett Rooney
1244039b4a
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
2006-03-05 21:43:58 +00:00
Joe Orton
c124e62bc5
* modules/ssl/ssl_scache_dc.c (ssl_scache_dc_retrieve): Fix warning
...
with OpenSSL 0.9.8a.
* support/ab.c (ssl_print_cb, ssl_print_cert_info): Fix warnings with
OpenSSL 0.9.8a.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@349415 13f79535-47bb-0310-9956-ffa450edef68
2005-11-28 16:16:21 +00:00
Jim Jagielski
b72e610410
No functional change: more indenting/formatting changes due to
...
tabbing
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@332316 13f79535-47bb-0310-9956-ffa450edef68
2005-11-10 16:03:23 +00:00
Jim Jagielski
5061d9fa92
No functional Change: Removing trailing whitespace. This also
...
means that "blank" lines consisting of just spaces or
tabs are now really blank lines
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@332306 13f79535-47bb-0310-9956-ffa450edef68
2005-11-10 15:11:44 +00:00
Jim Jagielski
5d2fae4818
No functional change: simple detabbing of indented code.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@332305 13f79535-47bb-0310-9956-ffa450edef68
2005-11-10 15:05:51 +00:00
Colm MacCarthaigh
f8ee6a0da2
Logresolve style and nit fix-ups:
...
* Remove some redundant whitespace in variable declarations.
* Add some whitespace for clarity around an if and a while statement.
* Remove redundant and unneccessary casts
* Use APR_HASH_KEY_STRING
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@328048 13f79535-47bb-0310-9956-ffa450edef68
2005-10-24 12:18:54 +00:00
Colm MacCarthaigh
811b2867ab
A complete rewrite of support/logresolve.c:
...
* Now uses APR
* Supports IPv6 addresses
* Slighty less hurtful on memory
* archaic (but interesting) notes marked as historical
* Will not perform very well without APR >= 1.3 due to
lack of buffered file-io.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@327909 13f79535-47bb-0310-9956-ffa450edef68
2005-10-24 01:52:56 +00:00
Joe Orton
99b60bff39
* support/ab.c (test): Increment count of started requests when a
...
non-blocking connect completes; avoids case where more requests are
made than intended.
PR: 36966
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@314844 13f79535-47bb-0310-9956-ffa450edef68
2005-10-12 11:04:18 +00:00
Colm MacCarthaigh
31bebda15a
Add htcachclean to the win32 build.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@290659 13f79535-47bb-0310-9956-ffa450edef68
2005-09-21 08:52:08 +00:00
Ian Holsman
8c1e315d3f
Doxygen fixup / cleanup
...
submited by: Neale Ranns neale ranns.org
reviewed by: Ian Holsman
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@263931 13f79535-47bb-0310-9956-ffa450edef68
2005-08-28 23:03:59 +00:00
Colm MacCarthaigh
42377545e2
Allow htcacheclean to deal in gigabytes.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@240297 13f79535-47bb-0310-9956-ffa450edef68
2005-08-26 17:54:18 +00:00
Colm MacCarthaigh
51daa83cd7
Allow apachectl to support "graceful-stop" argument
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@240273 13f79535-47bb-0310-9956-ffa450edef68
2005-08-26 16:12:28 +00:00
André Malo
42bcc6868d
fix line endings
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@239616 13f79535-47bb-0310-9956-ffa450edef68
2005-08-24 12:01:38 +00:00
Colm MacCarthaigh
275c89cda8
Add APR_FOPEN_BINARY to the options passed to apr for opening the
...
cache header files.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@239436 13f79535-47bb-0310-9956-ffa450edef68
2005-08-23 17:03:01 +00:00
Andreas Steinmetz
59a68232cc
Split mod_disk_cache.c into mod_disk_cache.c and mod_disk_cache.h
...
to allow inclusion of mod_disk_cache.h in htcacheclean.c.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@239406 13f79535-47bb-0310-9956-ffa450edef68
2005-08-23 13:35:00 +00:00
Colm MacCarthaigh
68e258c315
add htcacheclean to support/README
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@239382 13f79535-47bb-0310-9956-ffa450edef68
2005-08-23 09:29:23 +00:00
Colm MacCarthaigh
7482daa131
Update htcacheclean defines to match mod_disk_cache.c, Andreas is working on
...
mod_disk_cache.h, an all-round better solution, but for now just fix the
bug.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@239381 13f79535-47bb-0310-9956-ffa450edef68
2005-08-23 09:25:31 +00:00
Joe Orton
48b1a69890
* support/httxt2dbm.c: Fix some style nits, no functional change.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@233462 13f79535-47bb-0310-9956-ffa450edef68
2005-08-19 10:18:10 +00:00
Joe Orton
1e9e5a69cb
* support/htcacheclean.c (directory_empty): Remove unused function.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@232218 13f79535-47bb-0310-9956-ffa450edef68
2005-08-12 06:38:01 +00:00
Justin Erenkrantz
c5db9990f3
Add -t option to htcacheclean to clean out empty directories.
...
* support/htcacheclean.c: Implement -t option.
* docs/man/htcacheclean.8, docs/manual/programs/htcacheclean.html.en,
docs/manual/programs/htcacheclean.xml: Document -t option.
Justin did some minor tweaks as he agrees with Andreas and Rudiger that
apr_dir_remove should return an error if the directory isn't empty; hence,
remove the apr_dir_read calls.
Submitted by: Colm MacCarthaigh
Reviewed by: Justin Erenkrantz, Andreas Steinmetz, Rudiger Pluem
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@231351 13f79535-47bb-0310-9956-ffa450edef68
2005-08-10 23:14:57 +00:00
Joe Orton
0141d72a36
* support/httxt2dbm.c: Include stdlib.h to pick up atexit() prototype.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@219845 13f79535-47bb-0310-9956-ffa450edef68
2005-07-20 06:08:47 +00:00
Bradley Nicholes
f55ad90340
Add the NetWare makefile for the httxt2dbm utility
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@209611 13f79535-47bb-0310-9956-ffa450edef68
2005-07-07 15:35:43 +00:00
Paul Querna
4e21137318
Add the httxt2dbm utility to create DBM files for RewriteMap. This replaces the txt2dbm script in the manual, and allows the use of any available DBM format.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@209539 13f79535-47bb-0310-9956-ffa450edef68
2005-07-06 23:15:34 +00:00
Jeff Trawick
e077e6efc9
Fix htdbm password validation for records which included comments.
...
Submitted by: Eric Covener <covener gmail.com>
Reviewed by: trawick
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@201455 13f79535-47bb-0310-9956-ffa450edef68
2005-06-23 20:45:17 +00:00
Joe Orton
4c242849fc
* support/htdbm.c (main): Fix (valid) variable "may be used
...
uninitialized" warning with gcc 4.0.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@190611 13f79535-47bb-0310-9956-ffa450edef68
2005-06-14 15:19:32 +00:00
Joe Orton
9687f8c6a7
Update remaining 2004 copyright notices.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@190592 13f79535-47bb-0310-9956-ffa450edef68
2005-06-14 13:54:34 +00:00
Paul Querna
03bf1c3436
- Bring htcacheclean into sync with mod_disk_cache. It now has a very basic understanding of the Varied Headers file format, and will cleanup orphaned data files, or Vary Header Files that have expired.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@190537 13f79535-47bb-0310-9956-ffa450edef68
2005-06-14 00:27:01 +00:00
Joe Orton
30d100bceb
* Makefile.in (install-build): Install mkdir.sh since it's used by the
...
installed special.mk now; install instdso.sh as 0755.
* support/apxs.in: Fix Makefile template created by -g.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@189928 13f79535-47bb-0310-9956-ffa450edef68
2005-06-10 09:18:14 +00:00
Paul Querna
75c1bee252
- Use the correct newline in htpasswd, instead of always using \n.
...
PR: 25090
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@179689 13f79535-47bb-0310-9956-ffa450edef68
2005-06-03 01:11:44 +00:00
Joe Orton
8f9c95cb74
* support/ab.c: Rewrite SSL support so that it works reliably, and
...
enable it by default when the --enable-ssl is passed to configure.
Adds support for -Z and -f arguments to tweak SSL protocol options.
Submitted by: Masaoki Kobayashi <masaoki techfirm.co.jp>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@170612 13f79535-47bb-0310-9956-ffa450edef68
2005-05-17 15:34:43 +00:00
William A. Rowe Jr
10d2058ea4
One issue I repeatedly have with 3rd party module builds is that
...
they may choose to build a platform-default library with the usual
platform-default extension, as part of the compilation process.
Modules built on HP/UX with the .sl extension, on OSX with .dylib,
or on OS2 or Win32 with .dll are perfectly legitimate loadable
modules, but don't pass muster with apxs.
This patch allows any of the common source library extensions to
be passed in, but makes .so the explicit target. The behavior
already works for .la origin files with an .so target name.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@170383 13f79535-47bb-0310-9956-ffa450edef68
2005-05-16 13:03:35 +00:00
William A. Rowe Jr
1c8f208558
Did not belong in r170253; evalute this patch seperately from
...
the win32 /Oy- patch. Will recommit for seperate discussion.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@170380 13f79535-47bb-0310-9956-ffa450edef68
2005-05-16 12:59:34 +00:00
William A. Rowe Jr
20d06d7a06
Reintroduce stack frame construction with /Oy- (removal was implied by /O2).
...
This makes binaries far easier to debug, during operation and for post-crash
.dmp analysis. Do not alter /Gs optimizations per brane.
Reviewed by: stoddard, brane
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@170253 13f79535-47bb-0310-9956-ffa450edef68
2005-05-15 19:11:57 +00:00
Bradley Nicholes
93e638300b
Link to the correct socket library depending on which one is selected
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@161791 13f79535-47bb-0310-9956-ffa450edef68
2005-04-18 19:54:33 +00:00
Joe Orton
f59e1aac61
* support/ab.c (open_postfile): Use apr_file_read_full, tidy up error
...
messages, remove redundant variable.s
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@161485 13f79535-47bb-0310-9956-ffa450edef68
2005-04-15 15:22:50 +00:00
Joe Orton
5ffd6acf6a
* support/ab.c (test): Treat POST data as a binary blob not a C
...
string.
PR: 12981
Submitted by: Matthew H. Gerlach <mgerlach@lightsurf.com >
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@161483 13f79535-47bb-0310-9956-ffa450edef68
2005-04-15 15:20:28 +00:00
Joe Orton
4800ec9ba7
Fix and prevent some segfaults in ab:
...
* support/ab.c (main): Fail if given concurrency level greater than
number of requests, to prevent segfaults later.
(ssl_print_cert_info): Use the correct buffer size.
(ssl_start_connect): SSL_get_peer_cert_chain doesn't bump refcounts,
so don't free the cert chain here.
(test): Use both calloc parameters (unrelated cleanup).
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@161437 13f79535-47bb-0310-9956-ffa450edef68
2005-04-15 10:51:44 +00:00
Bradley Nicholes
6905d3d9d5
Allow httpd on NetWare to build using either the standard socket libraries or the Winsock libraries.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@161368 13f79535-47bb-0310-9956-ffa450edef68
2005-04-14 23:42:21 +00:00
Joshua Slive
fa4e866600
Merged the simple-conf branch changes r159781:160695 into the trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@160696 13f79535-47bb-0310-9956-ffa450edef68
2005-04-09 16:59:15 +00:00
William A. Rowe Jr
56406010b6
httpd and Apache are both anticipated now.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@159627 13f79535-47bb-0310-9956-ffa450edef68
2005-03-31 19:05:11 +00:00
Joe Orton
1f76f2acee
* support/htdigest.c (main): Fix permissions of created files.
...
PR: 33765
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@155681 13f79535-47bb-0310-9956-ffa450edef68
2005-02-28 14:28:08 +00:00
Justin Erenkrantz
905cdf9f0b
Update copyright year to 2005 and standardize on current copyright owner line.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@151408 13f79535-47bb-0310-9956-ffa450edef68
2005-02-04 20:28:49 +00:00
Justin Erenkrantz
1731589f3c
* support/check_forensic: Fix script on platforms that do not have either
...
mktemp or tempfile (such as Solaris).
Also tested on Darwin & FreeBSD.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@126224 13f79535-47bb-0310-9956-ffa450edef68
2005-01-23 17:36:32 +00:00
Joe Orton
8587927a4f
* support/suexec.c (safe_env_lst): Declare array as static const.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@125784 13f79535-47bb-0310-9956-ffa450edef68
2005-01-20 15:38:05 +00:00
Thom May
a804be4099
support/check_forensic: Fix temp file usage
...
Submitted By: Javier Fernandez-Sanguino Pen~a
Reviewed By: Thom May
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@125495 13f79535-47bb-0310-9956-ffa450edef68
2005-01-18 12:27:12 +00:00
Roy T. Fielding
1db8f31359
Update copyright notice to new format to show what needs
...
to be done for all of trunk.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@123918 13f79535-47bb-0310-9956-ffa450edef68
2005-01-03 00:38:24 +00:00
William A. Rowe Jr
20e5f62e27
Relative paths were wrong, for the recent ap_release.h patch.
...
Correct to resolve to httpd-src-root/include.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@123885 13f79535-47bb-0310-9956-ffa450edef68
2005-01-02 08:07:41 +00:00
Jim Jagielski
bfb4758bf3
avoid vim autoindent :)
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@111520 13f79535-47bb-0310-9956-ffa450edef68
2004-12-10 16:49:16 +00:00