1
0
mirror of https://github.com/apache/httpd.git synced 2025-11-11 02:42:23 +03:00
Commit Graph

219 Commits

Author SHA1 Message Date
Roy T. Fielding
7a357441ab ab would start up more connections than needed, then quit when the
desired number were finished. Also fixed a logic error involving
ab keepalives.

Submitted by:	Victor J. Orlikowski
Reviewed by:	Roy Fielding


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85855 13f79535-47bb-0310-9956-ffa450edef68
2000-07-16 00:06:39 +00:00
Ryan Bloom
750d8cc03c Protect system header files with the appropriate macros.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85558 13f79535-47bb-0310-9956-ffa450edef68
2000-06-12 23:03:05 +00:00
William A. Rowe Jr
d82e6e26e3 PR:
Obtained from:
Submitted by:
Reviewed by:

  One reason ap_config.h can be a problem.  Change VERSION->AB_VERSION to
  avoid ap_config.h #undef.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85320 13f79535-47bb-0310-9956-ffa450edef68
2000-05-27 23:49:07 +00:00
Ryan Bloom
b5e7b4304a Remove a warning about ap_base64encode not being defined anywhere.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85261 13f79535-47bb-0310-9956-ffa450edef68
2000-05-19 22:39:40 +00:00
Jeff Trawick
b31d97deda ab: Fix a command-line processing bug; track bad headers in
err_response; support reading headers up to 2K.  (In the
original patch it was 8K instead of 2K; it isn't clear to me
that 8K is really needed or appropriate.)
Submitted by:	Ask Bjoern Hansen <ask@valueclick.com>
Reviewed by:	Jeff Trawick


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85251 13f79535-47bb-0310-9956-ffa450edef68
2000-05-19 02:18:06 +00:00
Jeff Trawick
516688c8c2 APR-ize the CHARSET_EBCDIC support in ap_base64encode() and
ap_base64decode().  The app (e.g., Apache, ab) must call a function
to set up translation.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85226 13f79535-47bb-0310-9956-ffa450edef68
2000-05-16 03:11:13 +00:00
Jeff Trawick
1d6866385c Fix some bugs (mostly lost 1.3 code) in ab's command-line processing.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85223 13f79535-47bb-0310-9956-ffa450edef68
2000-05-16 02:42:57 +00:00
Jeff Trawick
607d91d897 add missing ';' in non-ASCII path
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85120 13f79535-47bb-0310-9956-ffa450edef68
2000-05-01 15:56:26 +00:00
Jeff Trawick
6bb2ecf9c8 Win32:
install ab.exe
  fix dependency in Apache.dsw (ab is dependent on aprlib and ap)
  fix ab and htdigest projects so that they find all header files
  define ap_signal() in apr.hw - this is o.k. for casual use as with
    cmd-line programs
  use API_VAR_EXPORT as appropriate in getopt.c
general:
  ab doesn't need to declare ap_optarg/ap_optind; fix a warning
  htdigest needs to call ap_initialize() to avoid segfault at
    startup


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85080 13f79535-47bb-0310-9956-ffa450edef68
2000-04-28 18:25:02 +00:00
Jeff Trawick
b47c5b45e7 Build ab on Win32.
Fix some minor ab APR-ization issues.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85068 13f79535-47bb-0310-9956-ffa450edef68
2000-04-28 01:37:42 +00:00
Jeff Trawick
8b087b6209 Repair ap_poll() on UNIX systems where APR's poll flags
have different values than the system's poll flags (i.e.,
call get_revents() to translate flags before returning to
the caller; otherwise, they are quite meaningless :) ).

Fix ab's usage of the new ap_poll() and repair some APR-ization
breakage (e.g., not setting port prior to ap_connect()).

Uninteresting changes:

Change toascii to to_ascii in ab.c to avoid a conflict with MSVC++'s
toascii() (I enabled the NOT_ASCII logic in ab on Win32 recently to
verify that ap_xlate_X() returned the correct error codes and got
warnings on toascii.

get_revent() was reformatted unintentionally.  Sorry.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85063 13f79535-47bb-0310-9956-ffa450edef68
2000-04-27 20:11:34 +00:00
Ryan Bloom
b88630623e I have merged the two ab files together, the one from src/support and
src/lib/apr/test.  This means that the ab program in the support
directory is now portable using APR.  This has only gone through the
barest of testing, and needs to be tested much better.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85055 13f79535-47bb-0310-9956-ffa450edef68
2000-04-27 05:56:41 +00:00
Roy T. Fielding
e63f4def85 Update to Apache Software License version 1.1
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84881 13f79535-47bb-0310-9956-ffa450edef68
2000-03-31 09:42:55 +00:00
Ryan Bloom
b1c26f031a Fix all the License issues. Including:
s/Apache Group/Apache Software Foundation/
s/1999/2000/
s/Sascha's license/ASF license


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84725 13f79535-47bb-0310-9956-ffa450edef68
2000-03-10 00:07:37 +00:00
Martin Kraemer
5630e64123 Add CVS Revision number to ab.c to allow for detecting changes
which were not marked by a version number update. Additionally,
display base repository name (apache-2.0)

Also, merge revision 1.34 of the 1.3 branch:
 Made sure ApacheBench (ab) performs no more requests than
 specified on command line (option -n).

Submitted by: Jim Cox <jc@superlink.net>
Reviewed by: Ralf S. Engelschall
PR: 4839


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84056 13f79535-47bb-0310-9956-ffa450edef68
1999-10-27 22:36:20 +00:00
David Reid
a9c5b29052 These changes allow the support programs to compile on BeOS.
The biggest change is in ab.c where the functions that BeOS needs that
aren't the standard format are hidden behind a new ab_* define.  Tested
on FreeBSD and BeOS.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83964 13f79535-47bb-0310-9956-ffa450edef68
1999-10-11 20:25:08 +00:00
Martin Kraemer
7b311b0641 Re-sync to most up-to-date ab.c version 1.3b
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83946 13f79535-47bb-0310-9956-ffa450edef68
1999-10-07 21:53:46 +00:00
Ryan Bloom
c37f14ddf3 Changed pools to contexts. Tested with prefork and pthread mpm's. I'll
check this out tomorrow and make sure everything was checked in correctly.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83852 13f79535-47bb-0310-9956-ffa450edef68
1999-08-31 05:35:52 +00:00
Roy T. Fielding
6f96ad5227 Apache 1.3.9 baseline for the Apache 2.0 repository.
Obtained from: Apache 1.3.9 (minus unused files), tag APACHE_1_3_9
Submitted by: Apache Group


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83750 13f79535-47bb-0310-9956-ffa450edef68
1999-08-24 06:46:03 +00:00