05a2d4f42dc70e7e71ab56d3bb8832984acc2c8d 1661913 |
|
24-Feb-2015 |
ylavic |
ab: Add missing longest request (100%) to CSV export.
Submitted by: Marcin Fabrykowski <bugzilla fabrykowski.pl>
Committed by: ylavic |
1fed780eacfdb82e0c616e925a0c3238b17eabb9 1628388 |
|
30-Sep-2014 |
jkaluza |
ab: Use only one connection to determine working destination socket address. |
085380fdf04cd662c526bebd3daafc2df75dc674 1626956 |
|
23-Sep-2014 |
jkaluza |
ab: try all destination socket addresses returned by apr_sockaddr_info_get
instead of failing on first one when not available. |
8460d95c79ed51eb782eedd6fd8621d5cbfe05c9 1622450 |
|
04-Sep-2014 |
jkaluza |
ab: increase request and response header size to 8192 bytes,
fix potential buffer-overflow in Server: header handling. |
4fd662db8eeb9e8dc58572825eb86c286ce95cb3 1617913 |
|
14-Aug-2014 |
jkaluza |
* support/ab.c: Fix crash caused by integer overflow when printing stats with
lot of requests (for example -n 500000000). |
57f96c9788ac60144fbe2e16eb355b22cbc8965f 1601076 |
|
07-Jun-2014 |
ylavic |
ab: support custom HTTP method with -m argument. PR 56604.
Example: ab -n 1 -m PING http://127.0.0.1/
Submitted By: Roman Jurkov <winfinit gmail com>
Committed By: ylavic |
0332d54091b06276292793a2b67cedc34b921fd5 1580935 |
|
24-Mar-2014 |
jorton |
* support/ab.c: Revert accidental version bump in r1580928.
(Although it seems likely this *should* have been bumped sometime
since 2006?) |
13055ee369dd9ae4d627af35cbc0d462a11bc8a9 1580928 |
|
24-Mar-2014 |
jorton |
* support/ab.c (write_request): Avoid redundant write(,,0) preceding
the write() of the request. |
10d599dd767725a492703af2e3156d414b8a78d4 1543020 |
|
18-Nov-2013 |
trawick |
follow-up to r1542533:
fix format string (unsigned vs. size_t) |
a2e8dd6454c7cbf9f4534b73c9b0a0775f734160 1542533 |
|
16-Nov-2013 |
sf |
Check all memory allocations and abort on failure |
77c6374e145713c55bc3d6e648abe917b04921f3 1510707 |
|
05-Aug-2013 |
trawick |
ab: Fix potential buffer overflows when processing the T and X
command-line options.
PR: 55360
Submitted by: Mike Rumph <mike.rumph oracle.com>
Reviewed by: trawick |
509622419be000045d461ef38fb97df778fdf81d 1488644 |
|
02-Jun-2013 |
jailletc36 |
Add a new -l parameter in order not to check the length of the responses. This can be usefull with dynamic pages.
PR9945, PR27888, PR42040 |
617badd73b74920799baef108ee6699bc097001f 1488492 |
|
01-Jun-2013 |
jailletc36 |
Check if malloc succeeded
PR54344 [Bill Parker, wp02855 gmail com] |
7a20709574a559549580a3b7cd199b9f9bf41018 1488471 |
|
01-Jun-2013 |
jailletc36 |
3rd patch from PR45355 |
01bea0a73866e80109c4d637610ce639ea1e89b1 1451849 |
|
02-Mar-2013 |
jailletc36 |
The 2 first patches from PR45355 have been ported |
a8e068a3b4c675dfafbb2bd69b045eefd7fc65dd 1422937 |
|
17-Dec-2012 |
jailletc36 |
ab: add the possibility to define a socket timeout (-s timeout)
[Guido Serra <zeph fsfe org>]
Also some changes In usage():
- reword -t option to be more clear with the new -s
- add missing -q
- add the new -s option
- reword some options to better match online documentation
ab.xml claimed that -s was already there, but nothing in the code looks like that.
So, I guess it only landed on the online doc... |
f00cb80197f824c3ff00dd4fdff3b2c267a519d1 1395225 |
|
07-Oct-2012 |
kbrand |
Allow forced setting of TLS1.1 and TLS1.2 protocols with
the -f command-line switch, and adapt the output to more accurately
report what SSL/TLS protocol was negotiated (use SSL_get_version()
instead of SSL_CIPHER_get_version()).
PR: 53916
Submitted by: Nicolás Pernas Maradei <nico emutex com>
Reviewed/amended by: Kaspar Brand |
1b33eabd32268ba46d14e9234367c094dbe44a15 1371791 |
|
10-Aug-2012 |
trawick |
ab: Fix read failure when targeting SSL server. |
9b606e124e94f655be80d68c89ec511b12ad5044 1364133 |
|
21-Jul-2012 |
trawick |
When -B is specified, search for a host address in the
same family as the specified outbound interface. If
impossible, fail at name resolution instead of bind(). |
778f2416d2d9153ee72568a1aa7e11b7dc8946f4 1351737 |
|
19-Jun-2012 |
jorton |
* support/ab.c (test, start_connect): Only bind the local end of the
socket (and look up an address for it) if -B is specified. |
9fb3d1792a78003c60a8f0fdbef30a372b39452e 1178079 |
|
01-Oct-2011 |
sf |
If MaxMemFree is set, set SSL_MODE_RELEASE_BUFFERS in mod_ssl.
Always set SSL_MODE_RELEASE_BUFFERS in ab.
PR: 51618
Submitted by: Cristian Rodríguez <crrodriguez opensuse org>, Stefan Fritsch |
11e076839c8d5a82d55e710194d0daac51390dbd 1174929 |
|
23-Sep-2011 |
sf |
More cleanup: Expand tabs and some more indentation fixes
No functional change |
5bfaaf573bacb45c1cf290ce85ecc676587e8a64 1174751 |
|
23-Sep-2011 |
jim |
Cleanup effort in prep for GA push:
Trim trailing whitespace... no func change |
4281cf6a722c99ae21394dc2000bd48efcebdb3a 1154683 |
|
07-Aug-2011 |
kbrand |
Drop support for the RSA BSAFE SSL-C toolkit from configure,
and remove #ifdef'ed code from mod_ssl and ab where applicable.
Consensus for dropping support for SSL/TLS toolkits other
than OpenSSL was reached on dev@httpd in June 2010 (message
with ID <20100602162310.GA11156@redhat.com> and follow-ups). |
dc610ff4888acc61dc6c8de2b8974a4dce9c074f 1139530 |
|
25-Jun-2011 |
sf |
Support specifying the local address to use.
PR: 48930.
Submitted by: Peter Schuller <scode spotify com> |
a9a941ed6ca86039137d64bdc7b1c4fda9d07d12 1125877 |
|
22-May-2011 |
sf |
Fix various "variable 'x' set but not used" warnings. |
51384f4dc9cd87f8670177563beea1e635eac46d 1103459 |
|
15-May-2011 |
sf |
Improvements found by cppcheck:
remove some unused variables and dead assignments, reduce the scope of some
variables, add some parens to improve readability |
575cc52562c51c0c8bb8de0c6eaa55a60f7f895b 1090367 |
|
08-Apr-2011 |
sf |
mod_ssl, ab: Support OpenSSL compiled without SSLv2 support |
2ff29cd96d1f68895d7060b8c7e0efda9a156a19 1082586 |
|
17-Mar-2011 |
jorton |
* support/ab.c (test): Catch more calloc failures. |
4a5329dc80d2da163d3eb2f3ab26234b5c271c7a 1004962 |
|
06-Oct-2010 |
fuankg |
Renamed optarg -> opt_arg to avoid name clashes with system-own optarg;
removed leftover from IDE build times. |
8085f5f65c81b7c6d3d26774d74c342e3aa12271 998729 |
|
19-Sep-2010 |
trawick |
simplify walking through array of returned apr_pollfd_t |
4e52b1dd7b0fd9541c02dd36eb801499231aeaf3 998726 |
|
19-Sep-2010 |
trawick |
fix one error message, eliminate another that will never
be issued (since !n occurs when status != APR_SUCCESS) |
19894e85591f45980c8002507cbd99d071415c85 986979 |
|
19-Aug-2010 |
sf |
Fix usage output.
PR: 45331 |
23bc6974af15e69a9aa4b5b3fc06b800b53ca234 951932 |
|
06-Jun-2010 |
sf |
ab: Fix memory leak with -v2 and SSL.
PR: 49383
Submitted by: Pavel Kankovsky <peak argo troja mff cuni cz> |
19ce7effbcc8a735f1a883f9266e086fde2adb63 940526 |
|
03-May-2010 |
poirier |
ab was sending wrong number of requests when keepalive enabled.
Thanks to Bryn Dole for the patch.
PR: 48497 |
26734c75baf170a492ef6a82f07b24ee1af7d0b1 902642 |
|
24-Jan-2010 |
sf |
ab: Fix number of requests per second in HTML output being to large by a
factor of 1000
PR: 48594 |
98a01f71dcbda3cde96eaae23fadf2d4a145bacd 894374 |
|
29-Dec-2009 |
takashi |
Add parentheses to min max macro functions to avoid future bugs. |
c2989417297fc5ad287068f41a7972349c44ca2e 894371 |
|
29-Dec-2009 |
takashi |
Fix string constness to get rid of gcc compiler warnings by -Wwrite-strings. |
a11e2095659d05a53e58e8f4ebf92acf8de1d5ab 833583 |
|
06-Nov-2009 |
trawick |
update pollset to reflect changed connection state before closing the socket;
otherwise the pollset-remove can crash (at least with select-based poll, since
fd is now -1) |
195edf54eccd8c5a436c7dd17f5f604e7074d5d1 826497 |
|
18-Oct-2009 |
sf |
ab: Fix segfault in case the argument for -n is a very large number.
PR: 47178
Submitted by: Philipp Hagemeister <oss phihag.de>
Reviewed by: Stefan Fritsch |
d3dbafe0347b788a86bbe18ee6111750af41cec9 819702 |
|
28-Sep-2009 |
trawick |
when a request body is sent, just display "Total body sent"
in the summary instead of making up the past tense of an
HTTP method (POST-ed or PUT) |
8c1b0a8ccc066708ccc943a8a3c2c8f3f72a9629 819695 |
|
28-Sep-2009 |
jorton |
* support/ab.c (output_results): Fix gcc warning on LP64 - field
width passed via '*' must be an int. |
d321fe00a917cfbe45929d741d74e2c89960b0b8 819298 |
|
27-Sep-2009 |
trawick |
refactor the representation of HTTP method and whether to send
a body, fixing these insignificant bugs:
* method name displayed in a debug message was wrong in some
cases
* specifying conflicting HTTP methods on the command-line
displayed an invalid message in some cases |
ee6367f61ca2ece7c95a923780bbb3dc312bb812 819242 |
|
27-Sep-2009 |
fuankg |
fixed compatibility to Openssl < 0.9.7g;
sync'd compatibility to Openssl >= 0.9.9 with 2.2.x branch. |
9667009c60cf53ad7f1bfe9b73efecf403956d9d 819239 |
|
27-Sep-2009 |
trawick |
small code cleanups for POST/PUT, especially to combine common code
exit if the file to POST/PUT can't be read |
b42af5f6edf4fe4b820288c37920a7a6fd65f1f1 818204 |
|
23-Sep-2009 |
poirier |
Fix a segfault in ab when run in verbose mode using https.
PR: 46393
Submitted by: Stefan Fritsch <sf sfritsch.de>, Ryan Niebur
Reviewed by: poirier |
10abdcbd7b30d957d15c61ea8100ba97a627ac95 811806 |
|
06-Sep-2009 |
minfrin |
Add support for HTTP PUT to ab.
Submiited by: Jeff Barnes <jbarnesweb yahoo.com> |
0938450cadc9a083d112a86bc7dd7ae34f791364 798943 |
|
29-Jul-2009 |
trawick |
ab: Fix broken error messages after resolver or connect() failures.
The APR error code was truncated because ab used an incorrect data
type. |
e7983ce746b0df56a1b74b42da6d82f5ecb99349 759832 |
|
30-Mar-2009 |
covener |
*) ab: Fix a 100% CPU loop on platforms where a failed non-blocking connect
returns EINPROGRESS and a subsequent poll() returns only POLLERR.
Observed on HP-UX. |
6707208ba4e9a5841ca1ab830830fd286ea5b7c5 750108 |
|
04-Mar-2009 |
trawick |
Use APR_POLLSET_NOCOPY for better performance with some pollset implementations. |
6c89821fd5574fe8f2d97f4b44aa2ca2604c0d19 750094 |
|
04-Mar-2009 |
trawick |
repeat apr_pollset_poll() while it returns EINTR |
64c3f43c2a7700a5576a914e29e2c435f53673d0 749747 |
|
03-Mar-2009 |
trawick |
remove unreachable code |
3647cd42d6fa35afa16912cab69dc9ea1eb052bc 749714 |
|
03-Mar-2009 |
rpluem |
* Remove unused variable. |
3e9c0665b06e44cf776528c6954ed3ca34a77c7f 749466 |
|
03-Mar-2009 |
sctemme |
Clean up more compiler emits. Add CHANGES entry, credit Kasper for the OpenSSL STACK fix |
694479b59aaa89e78fd4612bc060abddf7c8b6f1 749445 |
|
02-Mar-2009 |
trawick |
axe a fearful comment that was addressed before committing r749438 |
873c287c391b0bbc4719b68bb84946515811e1ba 749438 |
|
02-Mar-2009 |
trawick |
ab: Fix maintenance of the pollset to resolve EINPROGRESS errors
with kqueue (BSD/OS X) and excessive CPU with event ports (Solaris).
The apr_pollset API requires that a socket be removed from
the pollset whenever there is a change to the requested events.
The socket must also be removed when it is closed. This wasn't
completely implemented.
PR: 44584 |
7ddf719489971b2a300535f8faedc0809fb201fa 748396 |
|
27-Feb-2009 |
sctemme |
The development trunk of OpenSSL has tightened up the type safety of the STACK construct
and the functions that manipulate it. Make httpd trunk compile against OpenSSL HEAD
as well as OpenSSL 0.9.8j. Also, get rid of some warnings. |
6eac5bfce4c68cf5f1d0615586090af2ae688bc1 726884 |
|
16-Dec-2008 |
takashi |
* Change some "apr_palloc / memcpy" to apr_pstrmemdup
PR: 39519
Submitted by: Christophe JAILLET <christophe.jaillet wanadoo.fr>
* Remove unnecessary casts |
1b31748a7595f958eb213bcfb01c07ce1c5030c6 667275 |
|
13-Jun-2008 |
jim |
clear out bogus whitespace |
eacd93a9763f18f9cfd5f61ad1526f7ef32dd8d1 657433 |
|
17-May-2008 |
rpluem |
* Include <limits.h> earlier if available since INT_MAX is defined there on
Windows and we need INT_MAX already for the definition of MAX_REQUESTS.
PR: 45024 |
2d5be8d0085e1afb09881a5617ce443565e98b33 656400 |
|
14-May-2008 |
rpluem |
* Check for failure of apr_file_info_get call
Reported By: BOYA SUN <boya.sun case.edu> |
1104271514ab6eee6391f8a0e670d9cc98184d9b 655654 |
|
12-May-2008 |
fielding |
Improve client performance by clearing connection pool instead
of destroying it.
PR 40054
Submitted by: Brad Roberts <braddr puremagic.com> |
b24a6ceb8011a209f3c6d4523f04d27120cbd97a 655637 |
|
12-May-2008 |
fielding |
Don't stop sending a request if EAGAIN is returned, which will only
happen if both the write and subsequent wait are returning EAGAIN,
and count posted bytes correctly when the initial write of a request
is not complete.
PR 10038, 38861, 39679
Submitted by: Patrick McManus <mcmanus datapower.com> (in 2003)
Stefan Fleiter <stefan.fleiter web.de> (in 2006)
and Davanum Srinivas (in 2006). Committed patch
contains parts of all three, tweaked by Roy (2008). |
cbe23d0a0ff097b3d544d714657452abc80e3c87 655214 |
|
11-May-2008 |
fielding |
Overhaul ab.c stats collection and reporting to avoid integer
truncation and time divisions within the test loop, retain
native time resolution until output, remove unused data,
avoid structure copies, consistently round milliseconds, and
generally avoid losing accuracy of calculation due to type casts.
Incidentally fixes output bug on gnuplot (seconds were being
output as microseconds). It would make more sense to output
gnuplot stats as microseconds after the start of test, but
this change returns us to consistency with pre-apr versions of ab.
PR: 44878, 44931. |
46a47c67296c52323632d5ae9d7c86bf87027a5f 617890 |
|
02-Feb-2008 |
rpluem |
* Use a 64 bit unsigned int instead of a signed long to count the bytes
transferred to avoid integer overflows.
PR: 44346 |
5e48e0ef81c0736649fd7d2884837b32ed678750 612954 |
|
17-Jan-2008 |
rpluem |
* Do not try to read non existing response bodies of HEAD requests.
PR: 34275
Submitted by: Takashi Sato <serai lans-tv.com>
Reviewed by: rpluem |
9e897f011a21e8d982f1b5c6548f9882a8ca85d3 573101 |
|
06-Sep-2007 |
wrowe |
Kill the compiler emit - casting struct * to char * (as defined
in openssl 0.9.8e). Easiest is to cast through void *. |
0dc6646c45fa62f694e216fcf0323560e358c9d7 541138 |
|
24-May-2007 |
sctemme |
Explain that POST data should be sent as the correct MIME type.
Submitted by Vincent Bray noodlet at gmail dot com,
edited and reviewed by sctemme |
b8ee7946aa85a6b2eefd7f9fcf2ed5dc69a7103a 526872 |
|
09-Apr-2007 |
sctemme |
Correct behavior of HTTP request headers sent by ab in presence of -H command-
line overrides. Previously, ab would concatenate a supplied -H User-Agent:
header to the existing one, and send duplicate headers if either -H Host: or
-H Accept: were specified on the command line.
Now, the default headers are not sent if they are overridden using the -H
command-line flag.
Submitted by: Arvind Srinivasan arvind.srinivasan sun.com
Reviewed by: sctemme
PR: 31268, 26554 |
ee044568b891a057768282bccd2498832108d32d 526584 |
|
08-Apr-2007 |
sctemme |
The apr_port_t type is unsigned, but ab was using a signed format code in
its reports. PR 42070. Submitted by Takashi Sato serai lans-tv.com,
reviewed by sctemme. |
81bd9331da3bd0f53255d52b1475480ff3a4b395 516175 |
|
08-Mar-2007 |
trawick |
ab: Add -r option to continue after socket receive errors.
Submitted by: Filip Hanik <devlist hanik.com>
Reviewed by: trawick |
842ae4bd224140319ae7feec1872b93dfd491143 420983 |
|
11-Jul-2006 |
fielding |
update license header text |
bd685a7a27da8536c5da7b4b8b4cb9c3010bc876 413861 |
|
13-Jun-2006 |
colm |
A keepalive response need not neccessarily have included any content-length
header, handle this case properly for 304 responses. PR39789 |
e7984a3685a36d71c6fb55c59484a2967bcca8fc 396300 |
|
23-Apr-2006 |
colm |
when compiling statistics, only interate accross requests which occured. |
3d81f57512275ca06a60a9bcbd23c1f8b429fdf2 395228 |
|
19-Apr-2006 |
colm |
Update the copyright year in all .c, .h and .xml files |
a69e436e47c2b84b1a5a248cc8a9a4e960db69dc 394765 |
|
17-Apr-2006 |
colm |
Update the copyright notice to reflect that changes have gone in this year |
fb192621397afdd92da43370bf0d0cc8565e2264 390519 |
|
01-Apr-2006 |
colm |
Correct a dumb typo |
10a20aaa2426eff21e054473bbcab8cd2f104e59 390511 |
|
31-Mar-2006 |
colm |
* Add siege-like behaviour to ApacheBench; output the results, as they have
accrued so far, when the user interrupts with ctrl-c. As the signal handler
is non-reentrant, we don't need volatiles, and the operations all look
signal-safe.
* Update the base version, since handling a signal differently is an external
API change of sorts.
* set the LastChangedRevision svn property, as ab.c has $Rev $ embedded, so
it really should be. |
b8fbac7d9e095a4cf4679d0a4b7a678baf9e319e 390504 |
|
31-Mar-2006 |
colm |
Give users the ability to set the window size for apache bench runs. Useful
for benchmarking largefile downloads. |
cf9ada3713548ca11de76ff801839b79c879d380 349415 |
|
28-Nov-2005 |
jorton |
* 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. |
e8f95a682820a599fe41b22977010636be5c2717 332306 |
|
10-Nov-2005 |
jim |
No functional Change: Removing trailing whitespace. This also
means that "blank" lines consisting of just spaces or
tabs are now really blank lines |
b687b9ffafd5ef30eba98ab64b64b2ec8d192970 314844 |
|
12-Oct-2005 |
jorton |
* 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 |
e23b77006a8b079c0ad52e42ba2029e759455b8f 170612 |
|
17-May-2005 |
jorton |
* 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> |
070b7b27d5091386c10b5db112fb4127b542f9b9 161485 |
|
15-Apr-2005 |
jorton |
* support/ab.c (open_postfile): Use apr_file_read_full, tidy up error
messages, remove redundant variable.s |
c5acdaf17080deb4a09d32e5240e80e50e0fa32a 161483 |
|
15-Apr-2005 |
jorton |
* 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> |
2c8b669a7d58384b7e8e97a5af2cccda77c45ed7 161437 |
|
15-Apr-2005 |
jorton |
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). |
08cb74ca432a8c24e39f17dedce527e6a47b8001 151408 |
|
04-Feb-2005 |
jerenkrantz |
Update copyright year to 2005 and standardize on current copyright owner line. |
b1e4d2a8c034f153bbccb7db463e46efe7f1e6ea 123918 |
|
03-Jan-2005 |
fielding |
Update copyright notice to new format to show what needs
to be done for all of trunk. |
87a528a7622973988232079ba02763748c9c7071 104217 |
|
10-Jul-2004 |
pquerna |
Small fix on ab's use of sprintf().
PR: 28204
Submitted by: Erik Weide <erik.weidel mplus-technologies.de> |
b7a97b0024575459fe2534c51867411358834501 104078 |
|
29-Jun-2004 |
martin |
Use standardized names for ISO-8859-1, see http://www.iana.org/assignments/character-sets
(Using the name iso8859-1 may still work, because it is aliased in apr-iconv/ccs/charset.aliases) |
7a0780c774fcd7823d2e3a79f55b2f3522602992 103697 |
|
18-May-2004 |
clar |
replaced tabs with spaces and aligned indentation within brackets |
f5d423af3d9e3f161aaea17b4ef3851608d43878 103135 |
|
25-Mar-2004 |
clar |
ab mixing mean and median values, also wrong time values for start and connect when doing keep alive |
83803ed38bd3c85011ecb4669f1ea5dda6fe42bd 103035 |
|
19-Mar-2004 |
clar |
Using ap_max() to ensure no negative values are stored in data structure. |
1497c28bcca8805a461a57b0036b7fbc11b637b3 103015 |
|
18-Mar-2004 |
madhum |
Add Missing parenthesis ! |
e5d4e153edb152c76a3aa67904ae8cf30cb0fe5f 103011 |
|
17-Mar-2004 |
madhum |
Limit the concurrency to MAX_CONCURRENCY.
Otherwise, ab may dump core (calloc fails) when a arbitrarily huge value
is used. |
8e51f305b81011c418eae9c15320a06b6df037da 103000 |
|
17-Mar-2004 |
clar |
using build in err function, thanks Jeff for pointing that. |
f80f962ba7015be7c3e5df0f69f509b32eed6a38 102990 |
|
16-Mar-2004 |
clar |
added check on apr_pollset_create() return value to exit ab it case it fails.
On NetWare using a concurrency higher than 64 is segfaulting because of FD_SETSIZE as a value of 64. |
6de8046f8f7e07cd83895a528df25d977e502c76 102619 |
|
09-Feb-2004 |
nd |
fix name of The Apache Software Foundation |
365b268c7d5320369bfdfb140a2b0cfa3dd4a5fc 102592 |
|
08-Feb-2004 |
nd |
fix copyright dates according the first cehck in |
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dc 102525 |
|
06-Feb-2004 |
nd |
apply Apache License, Version 2.0 |
1f8197849972ee6ad6c25036e72ab50ff153052b 102155 |
|
03-Jan-2004 |
jorton |
* support/ab.c (write_request): Fix gcc warning at -O2 in USE_SSL
build. |
26a4456dd6f1a5d7d7fff766551461a578687c4a 102135 |
|
01-Jan-2004 |
nd |
update license to 2004. |
4729a2e31b3afeaf2423fc8334f18628efb8fab7 102014 |
|
10-Dec-2003 |
jorton |
Fix ab's SSL support a little:
* support/ab.c (ssl_*): Fix function prototypes througout.
(test): Use correct connection structure when using SSL. |
1fbf6ba0f5207e6637b49f9a9dfcc779bbe952a9 101154 |
|
03-Sep-2003 |
trawick |
switch to APR 1.0 API (which is still in flux)
because of the changes to the argument lists of apr_mmap_dup and apr_socket_create,
2.1-dev won't build with apr and apr-util's 0.9 branch anymore |
42530a2f3c65ed623376b86644e1b0e02f1393c0 100889 |
|
01-Aug-2003 |
trawick |
distinguish between these two states:
. just issued connect(), polling for writability to find out when connect()
completed
. already connected, waiting for data from the server so polling for
readability
by only polling for writability during the first state, we avoid some
logic in test() which inappropriately writes multiple requests to the
server
btw, the most basic SSL test segfaulted before and after this commit |
52937e365fde4e16c81d1734c378aab219319436 100888 |
|
01-Aug-2003 |
trawick |
restore a check for write failures which was lost for non-SSL builds |
cfe1534c2338b51d67063e71a4275279b5087fce 100846 |
|
29-Jul-2003 |
trawick |
ab: Work over non-loopback on Unix again.
(Broken as of 2.0.47 due to dependence on an APR bug which was fixed
in 2.0.47.)
PR: 21495 |
07342c358cd73b304b1991e359a3faf720c966ec 100718 |
|
21-Jul-2003 |
nd |
reject overlong credentials from the commandline
Acked by: Cliff Woolley |
608d821d7b7d5b856cccef7e9a14582087acd20b 100539 |
|
10-Jul-2003 |
jorton |
Pick up getpid() prototype. |
e93352b33118d4b4304bc5572ab0c9519a11158c 100447 |
|
03-Jul-2003 |
nd |
catch out of memory condition (ID 29 of reasoning report) |
b4c56dbdfb4923d59f0b33f6118719abc8672ce0 100399 |
|
29-Jun-2003 |
nd |
Fix NULL-pointer issue in ab when parsing an incomplete or non-HTTP
response.
PR: 21085
Submitted by: Glenn Nielsen <glenn@apache.org> |
2a1011ba69b24f3224bcb358d542017d5f389f78 100351 |
|
25-Jun-2003 |
wrowe |
Absorb our ssl library-foo from the mod_ssl build changes to automatically
generate an SSL/https: enabled ab binary. |
33bdcae1f7a1a65e351dda2a766a0cf28b1e695d 98573 |
|
03-Feb-2003 |
nd |
finished that boring job:
update license to 2003.
Happy New Year! ;-)) |
54c37c3c5025acb3c7d667c5546be0b41ef60506 97237 |
|
16-Oct-2002 |
trawick |
%qd is not portable; use APR_INT64_FMT_T for apr_time_t |
c2cc37797238c6f97818d701fbb075b6107507ca 96611 |
|
01-Sep-2002 |
brianp |
Eliminated some fixed-size buffers that didn't have proper overflow checks |
56b4c2f79f228da54b5815060ec3eb809dd9dcf9 96607 |
|
01-Sep-2002 |
aaron |
Keep track of the recent changes for the new pollset API, since they
may affect performance characteristics. |
ae491e926e412a749fc27c0d79f8d953a8d9a153 96603 |
|
01-Sep-2002 |
brianp |
Switched ab to the new abstract pollset API (this will
allow ab to take advantage of future apr_pollset_t scalability
improvements) |
02c49e1f35a4d1a171df2d319e76af0c5163dc4d 96586 |
|
30-Aug-2002 |
martin |
Leon Brocard writes:
> Hello,
>
> I love httpd2 and I really like apachebench but using the gnuplot
> output option (-g) gave me this:
>
> starttime seconds ctime dtime ttime wait
> Thu Aug 29 12:29:31 200 1030620571362758 0 54 54 0
>
> It's truncating the year. Now according to
> http://apr.apache.org/docs/apr/group__APR__Time.html#a15 "Unlike
> ANSI/ISO C ctime(), apr_ctime() does not include a \n", so the code
> and comment in ab.c are wrong, hence my attached patch to remove them.
Submitted by: Leon Brocard <acme@astray.com> |
24b38375e40d3c5ce08f927b7be90b15db900794 96301 |
|
04-Aug-2002 |
wrowe |
Revert to CRYPTO_malloc_init for non-rsa [gotta read the diffs more
closely the first time.] |
c7760b87a01538ca7cc6a9a7aa3d9d910cfc3fe9 96300 |
|
04-Aug-2002 |
wrowe |
Support rsaref compilation |
79c880354e58e1d239306791f3d6c367a193c862 96234 |
|
30-Jul-2002 |
trawick |
fix a spelling problem |
f7f5024c900cfefa63aa9cebe99bdf2c6b113dc8 96074 |
|
16-Jul-2002 |
martin |
And fix the version number |
c942c38355756d2671aeceff48721a4ce449bac4 96073 |
|
16-Jul-2002 |
martin |
Fix the long-standing bug that "ab -t10" would loop for 10000 seconds
instead of 10 as documented. Also fix an off-by-one-second error, which
did not matter much (in comparison to the 1000x error ;-) |
9179fa90e821c964d10f28b97fc6acee776af7cf 96057 |
|
15-Jul-2002 |
wrowe |
http occurances to update for apr_socket_opt_get/set |
7d830dad21898cfebcb6c7c8b81a835ecae7665a 96011 |
|
11-Jul-2002 |
dirkx |
We where mixing #if USE_SSL en #ifdef USE_SSL. Since there where
many more #ifdef's than #if's - Converted the minority to the majority.
Note however that the APR_* defines are usually set to '=1'. So this is
not quite consistent. (I.e. CFLAGS=-DUSE_SSL or CFLAGS=-DUSE_SSL=1).
Dw. |
f706ad4ddbeb3b9814f52e83006e505cbb2cf662 96005 |
|
11-Jul-2002 |
rbb |
Bring Apache in line with APR's new poll implementation. This isn't
optimal, because it still uses the compatibility functions to make it
work, but it does work. The next step will be to take the memory for
the pollsets under Apache's control. |
b54cc524341f0ed01a46d170bedbdb6e807d294f 95980 |
|
08-Jul-2002 |
wrowe |
If you want floating math, use float literals. |
6786d22601ef26d91b9ef98154e06cd9df70ec4d 95967 |
|
07-Jul-2002 |
brianp |
fix for compilers that don't support long long datatype |
bd0f54dca2fb13419d5ed8c7f8ab60f263836b61 95960 |
|
05-Jul-2002 |
brianp |
use the time conversion macros rather than dividing by APR_USEC_PER_SEC |
4a1e6a5295d474b31e38e90cc4048666b2b1b10f 95457 |
|
31-May-2002 |
wrowe |
A few more unused/unnecessary variables and surpress an uninitialized
value warning. |
860d483ae528603f7e1f962903e71ac28358bef6 95451 |
|
31-May-2002 |
wrowe |
Enable SSL negotation in ab.c. It is that, or remove all the entirely
BOGUS ssl config options from ab.c. If it works, nifty, if not, we now
have directives that have some effect, rather than no effect, for SSL.
Submitted by: Madhu Mathihalli <madhusudan_mathihalli@hp.com> |
5f78437b5cfcb2da3856ba9fb17ddc58adf04e44 95447 |
|
31-May-2002 |
wrowe |
Well, know that I'm aware that the ssl stuff was entirely premature, it's
still worth committing the correct code to handle the port number. |
3d5ab266a622a2c6e1907819a6891a0a61f32632 95442 |
|
31-May-2002 |
wrowe |
Locks are good, provide locks. ab -s -c >1 is [was?] dying on Win32
while -s -c 1 works just fine. Still investigating. |
78657729e2a01d274ab2894015cd384e175f17d7 95168 |
|
18-May-2002 |
jwoolley |
There's really no reason for a -dev here. |
922c0ad0014590bb10d13674012683eef44c0bba 94898 |
|
01-May-2002 |
rederpj |
Fix some minor formatting issues with ab. Part of this is
in reference to PR 8544, the rest I noticed while testing
the PR fix. [Paul J. Reder]
Submitted By: Carlo Marcelo Arenas Belon
Reviewed By: Paul J. Reder |
33cc48e1677642f4027deb6421ab6d7f3787ee0f 94872 |
|
30-Apr-2002 |
fielding |
Remove APR_WANT_SIGNAL from apr_want.h because code must include
apr_signal.h in order to get consistent definitions. |
af9be3a217c70b689b7275ed0690fc74483e7c4f 94792 |
|
25-Apr-2002 |
dirkx |
During the 1.3->2.0 migragrion; ab its #defined VERSION own string was replaced
by that of the base server distribution it sits in. Propably by accident.
This is propably not a good idea - as ideally one would like to be able to compare
ab runs as much as possible - even across releases of apache 2.0 - assuming ab or
the dependent APR has not changed (note to self: we do not track APR in our version
structure). This commit decouples the version strings for now. Though the actual
value may be nicely confusing. |
bb036ec40eb03d669a5838214bf5ac211da0340b 94787 |
|
25-Apr-2002 |
aaron |
Document the recent AB changes since they have the potential to change
the meaning of test results. |
daa3fa016bd51cdb39762a4510be99ba55c0b290 94782 |
|
24-Apr-2002 |
aaron |
Major improvement in concurrent processing for AB:
- Enable non-blocking connects.
- Prevent quasi-blocking mode apr_recv (which would prevent AB from
multiplexing over the entire descriptor set).
- Catch other fatal apr_recv() errors.
[This patch is slightly different than the one posted to the dev list,
but regardless thanks to the many people who reviewed this.] |
52d46d469b9d75f316bd73cb05e15ae404d7f2c0 94643 |
|
14-Apr-2002 |
brianp |
fixed a typo |
563fa6715f6ad5703d30354644d61968a8460804 94633 |
|
13-Apr-2002 |
wrowe |
Correct const'ness of argv in all support apps, and use the new
apr_app_initialize over apr_initialize for win32, and other platforms
that may wish to tweak 'apr-ized' application support (e.g. Netware?) |
f33c2c86b419be97248c5289b71738b5f0c7ab0a 94355 |
|
01-Apr-2002 |
dirkx |
Made AB's use of the Host: header rfc2616 compliant as
reported by Taisuke Yamada <tai@iij.ad.jp>
PR:
Obtained from: Mailing list
Submitted by: Taisuke Yamada <tai@iij.ad.jp>
Reviewed by: Dirk-Willem van Gulik |
383a9c6af58f5a670e8ef8b7f222ce71dbb7bee5 94315 |
|
29-Mar-2002 |
dirkx |
Removed email address on request - as obviscation was slammed down on the list - and Google is your friend in any case |
0c91eb357c3be87cd0c794070252bcce31b4ab36 94013 |
|
19-Mar-2002 |
jwoolley |
What is "zop"? :) |
e5d11e25c54c1bd138a5fc1114ea44debdf67844 93994 |
|
18-Mar-2002 |
jwoolley |
Carriage returns?? |
bc8fd1b0b1afdf89b8d28eefa8cd74e26ba97986 93918 |
|
13-Mar-2002 |
fielding |
Update our copyright for this year. |
57b7c64eaa9d7934d51d23c8e23f0b6cf6ce6a8a 93884 |
|
13-Mar-2002 |
trawick |
simplify the way we find the family of an apr_sockaddr_t |
f68e6b58e9b63c748d4cf0b372fc346d1b9b8521 93043 |
|
27-Jan-2002 |
brianp |
Fixed segfault in "-i" mode of ab |
8eba5e2e323a9c28df8824675547f28743ca92d6 92247 |
|
29-Nov-2001 |
trawick |
"totalcon / requests" is no longer double either, so %5e doesn't fly |
d37377982fe3219083902f67dd667f1808f5547d 92242 |
|
29-Nov-2001 |
wrowe |
I don't believe it. This actually fixes the rest of the type mismatches.
Of course, I could have hosed everything, a second pair of eyes would be
appreciated. |
64ca179591dffeedccc851ea1f2f2c519c58d999 91861 |
|
12-Nov-2001 |
trawick |
clean up some warnings on AIX
since apr_size_t isn't always int, we should use
APR_SIZE_T_FMT instead of %d |
fcb200c29efef52f5839231fe586d6d9a0c2df16 91521 |
|
17-Oct-2001 |
wrowe |
Some type correctness fixes for LARGEFILES platforms. |
9676a1b0eec9cb7934d7a1739f07c346e2e63f16 90501 |
|
22-Aug-2001 |
trawick |
simplify some code in output_results() just a bit to avoid a
bug in gcc 2.7.2.3 on FreeBSD 3.4; didn't hit the problem with
-O2; did hit the problem with no -O |
54c358157ff30a1c4f4f8b27f3a687f254afa493 90209 |
|
16-Aug-2001 |
wrowe |
Now that it's apr'ized, ab is most definately in a 2.0 revision cycle,
and definately needs to track the Apache revision (especially because of
apr and apr-util!) |
dcde46ca353d5d66bbac2b8e1135ac828992b808 89639 |
|
20-Jul-2001 |
dreid |
If we've spent the effort of getting some connections, when we die with an
error at least inform the user how many we completed before dying.
Tidy up some formatting... |
f7c7a234e4077b25a14af68a63c16aacc61b9cd9 89619 |
|
19-Jul-2001 |
wrowe |
A smart answer to users attempting the -s arg to ab. |
f5c43b553ca92a2adc39be43155b26c2b07ac40c 89615 |
|
19-Jul-2001 |
trawick |
fix the type of parms to apr_send() and apr_recv() |
30309f86bfd564437654aa822a19cd0cb29ca6f8 89614 |
|
19-Jul-2001 |
wrowe |
Truncate the working set in ab by introducing a connection pool. |
d80638b1d2cf4b956aff22733d29f6eff05be2e7 89596 |
|
18-Jul-2001 |
wrowe |
Hmmm... editing with tabs != 8, eeuh. Just cleaning and fixing casts. |
4cd6952360b49b5f229e1d6db699b051f90d403c 89595 |
|
18-Jul-2001 |
wrowe |
Fix some casting |
c49c786dc58938f915f20356d954ecec1de2d205 89592 |
|
18-Jul-2001 |
wrowe |
Changes to back out inherit flag from apr_os_sock_make()
and apr_socket_create() |
3c4f451140dd2ba70ee77274ed8155f451184917 89557 |
|
16-Jul-2001 |
rbb |
Added an inherit flag to apr_socket_create and other socket creation
functions. This allows APR programs to specify that a socket should
be passed to any child processes that are created. The inherit flag
is only meaningful if programs use apr_process_create(). This
also adds a couple of macros that allow APR types to set and unset
the inherit flag.
This also fixes Apache to use the new API. |
16478631d2fd87116d7e41b3ed8748343b453d88 89414 |
|
26-Jun-2001 |
jwoolley |
Fix spelling mistake. |
e14ec68ef48bbf6c3dc567900f9e087eaf0bc931 89383 |
|
18-Jun-2001 |
trawick |
The patch fixes 2 things.
* apr_terminate now has the right declaration so it can be used
directly in atexit
* Win2K gets a divde by zero error when heartbeatres is zero (reproduce via
support\Debug\ab.exe -k -c 6 -n 100 localhost/
Submitted by: Ian Holsman <ianh@cnet.com>
Reviewed by: Jeff Trawick |
20fb0ba160cf0ca91b3f0f0d552cbe60d92b0449 88819 |
|
12-Apr-2001 |
fielding |
Make ab work again by changing its native types to apr types and formats.
Submitted by: Justin Erenkrantz <jerenkrantz@ebuilt.com>
Reviewed by: Roy Fielding |
480e6d6e3fbf8fc23af721f430a97afb0012be6f 88691 |
|
03-Apr-2001 |
trawick |
Uhh, we really need the prototypes for standard string functions. |
ac45eb1602bbff4cdd88441c8dbe593a5f69b602 88680 |
|
03-Apr-2001 |
dirkx |
Make live simpler - as we are using strchr already |
a210c975655ac9771f3cb6db8cbd8d1a2c3caa3f 88677 |
|
03-Apr-2001 |
dirkx |
Doing last minute alphabettically sorting things to look nice is not always a good idea. |
59b38a81934d37c6fda215a5830870414b26e24b 88675 |
|
03-Apr-2001 |
trawick |
make sure we have the prototype for index() (fixes a Solaris warning) |
e99b0b1163301ae34f2ebb25ef3c8ec8e4d4edc2 88660 |
|
02-Apr-2001 |
trawick |
consistent types; avoid warning on AIX for mismatch between printf
format and arg |
65b9b0f6d9ee79d81b5d9962417c22f0485b65ec 88653 |
|
02-Apr-2001 |
trawick |
"void *res = signal(blah)" isn't cool 'cause void * is not compatible with
a function pointer; but we don't need to save the old signal pointer anyway
so drop the variable |
14a74fec28467218c159a3c1c6dd90e3bcc5c2cc 88651 |
|
02-Apr-2001 |
trawick |
keep ab from dividing by zero when heartbeatres is zero |
3a36c0105198c15925b69c40ff0fc8f83dc34af2 88650 |
|
02-Apr-2001 |
rbb |
Cleanup all the warnings introduced in AB yesterday. |
51469a0d2057aa24107b6f5a04e145824e10da1f 88628 |
|
02-Apr-2001 |
dirkx |
Commit early and often. This should merge all changes into
ab from 1.3 into 2.0. SSL work not completed; I need to move
some of the autoconf detection of mod_wtls to a more central
place first. Any suggestions appreciated :-)
PR:
Obtained from:
Submitted by:
Reviewed by: |
0906f649b3d720299e47ed1148e79051e8941b2a 88627 |
|
02-Apr-2001 |
dirkx |
Either MacOS-X is much more sensitive for border conditions - or I am just being
unlucky. This allows for apr_send() to do consequitive partial write's; by keeping
a buffer and TO within ab itself. Ab was already doing that for read anyway.
PR:
Obtained from:
Submitted by:
Reviewed by: |
62ba6bde073be4d332ffc9c89768757d3f646da5 88626 |
|
02-Apr-2001 |
dirkx |
First stab at encapsulating the apr_send() to make it a
little more pushy. Ran into this whilst' porting the -1.3
changes forward.
PR:
Obtained from:
Submitted by:
Reviewed by: |
23b4e2f556ce39696c4e31c6e72893f7489ff8d9 88625 |
|
02-Apr-2001 |
dirkx |
Prevent cobbering of lenght for subsequent sends. Still not quite
right; we ough to call apr_send again if len != requested_len - but
then our timeout could be len * timeout if we happen to only stuff
one byte down the pipe each time.
PR:
Obtained from:
Submitted by:
Reviewed by: |
3233d057ad276d823bded5c24c3fd6729ed1a736 88281 |
|
23-Feb-2001 |
rbb |
Use "Basic" authentication instead of "basic" in ab, as the spec says we
should.
PR: 7294
Submitted by: Andre Breiler <andre.breiler@rd.bbc.co.uk> |
b99dbaab171d91e1b664397cc40e039d0c087c65 88184 |
|
16-Feb-2001 |
fielding |
Update copyright to 2001 |
066877f1a045103acfdd376d48cdd473c33f409b 88019 |
|
08-Feb-2001 |
dougm |
renaming various functions for consistency sake
see: http://apr.apache.org/~dougm/apr_rename.pl
PR:
Obtained from:
Submitted by:
Reviewed by: |
a05d9a655a7e5ebada5720b5445ad6b62ccdc984 87827 |
|
25-Jan-2001 |
trawick |
close the post file after reading it |
6f984345bbfa9342dde1f2b7b8c35b7987d078af 87760 |
|
20-Jan-2001 |
wrowe |
The changes required for the APR_FINFO_wanted argument to
apr_stat/lstat/getfileinfo. These are -NOT- optimal, they
are simply the required changes to get the server working.
The size of the patch is a warning about how we need to
really look at what we are trying to accomplish with all
of these stat/lstat calls. |
b980ad7fdc218b4855cde9f75a747527f50c554d 87731 |
|
19-Jan-2001 |
wrowe |
The big change. This is part 3 of the apr-util symbols rename, please
see the first commit of srclib/apr-util/include (cvs apr-util/include)
for the quick glance at symbols changed. |
8707eafa84c6aab4b02a6218ea43e60504b954f1 87726 |
|
19-Jan-2001 |
wrowe |
When is a void fn(void) not a void fn(void)? It's a win32'ism, since
the APR_DECLARE (excluding _NONSTD) uses the pascal convention. Really
irrelevant in a function that never needs to clean up (atexit), but
the compiler complains. Possible workarounds, but that would break
non-c lanaguge code from linking into apr. |
c9c04228fc004c5ab2e739100f9d95804c28d23d 87692 |
|
15-Jan-2001 |
trawick |
fix a warning on platforms where apr_size_t isn't int |
06c107289de0a0888386e0bc08ef9fc60aacd8bc 87689 |
|
15-Jan-2001 |
trawick |
Fix an endless loop in ab which occurred when ab was posting
and the server dropped the connection unexpectedly. |
6848ee075aecccf3d422a6a72d358b087cf7a4a6 87671 |
|
12-Jan-2001 |
trawick |
open_postfile():
fix some return codes along the lines of OtherBill's comment
fix some bad conditional logic for when to check if we read the
wrong number of bytes |
297b95dab8c606648cc8041f0b6a5a25a077953c 87628 |
|
09-Jan-2001 |
trawick |
get rid of a non-portable use of errno
don't return errno as an error flag after an APR function fails; return
something guaranteed to be non-zero on all platforms |
1860b2b5f1de31f8cf9d95f1b394fe98c8dbfab7 87506 |
|
22-Dec-2000 |
rbb |
Cleanups so that the support programs build cleanly. The Win32 values
need to be sanity checked.
Submitted by: Cliff Woolley <cliffwoolley@yahoo.com>
Reviewed by: Ryan Bloom |
bb65aeae7af1d33b64252bbc1b966942d757ac60 87501 |
|
21-Dec-2000 |
wrowe |
All the supports now build on APR (+APRUTIL), no reliance on httpd. |
ced6efd5beb047af4d3fadeabe063a3931587896 87498 |
|
21-Dec-2000 |
wrowe |
This program should run entirely without ap_config support from
Apache, given that it is apr'ized |
b7faa60a6790e84452c16e5dfb3bde2c52a1030d 87252 |
|
07-Dec-2000 |
trawick |
ab: use apr_parse_addr_port() in parse_url().
httpd.exp: Add the new APR symbol apr_parse_addr_port. |
90239274d69da19cf724909528d8842fa35c9f5d 87223 |
|
05-Dec-2000 |
wrowe |
Fix some leftover dirtyness from the conversion. All is building
over in Win32 land. |
314ad8e9005a0266a2e7f61a44834c58893293b4 87201 |
|
05-Dec-2000 |
rbb |
Make ApacheBench compile cleanly again |
dffd470dbf317f3a9e578355c4d8999f9acd0e7c 87150 |
|
01-Dec-2000 |
trawick |
use APR_SIZE_T_FMT to avoid a warning on AIX |
50cf9b8da68bea71ce5a49b4cb4be3be516486bd 87130 |
|
29-Nov-2000 |
gstein |
Use "const char * const *" for process->argv (which is the correct
const-ness since we sometimes put "some string" in there, and also the CRT's
argv). propagate this change within http_main and mpm/winnt/ (also correct
some other const type usage within the MPM).
fix ab's call to parse_url() which removed a const to actually manipulate an
arg from the CRT's argv (indirectly via opt->arg). no idea how this has
avoided segfaulting. |
f184f3f28a789690e4074010a1ec23152278ae27 87127 |
|
29-Nov-2000 |
trawick |
Get ab to compile cleanly after the apr_initopt() change. |
cccd31fa4a72fe23cc3249c06db181b274a55a69 87080 |
|
26-Nov-2000 |
gstein |
*) Compensate for recent changes in the APR headers. Specifically, some
files need to specifically include stdio.h, or a particular apr_*.h
header.
*) Adjust callers of apr_create_process() to deal with the extra "const"
*) Add "const" to args of ap_os_create_privileged_process() |
6b359e78a2282d72ed50a5bb0b141dbf09fe307c 87056 |
|
21-Nov-2000 |
trawick |
Don't use APR_INET6 unless APR_HAVE_INET6 is defined. |
c330df4777ee0ff23f104003559a5c4c9e0e5070 87054 |
|
21-Nov-2000 |
trawick |
Update ab to accept URLs with IPv6 literal address strings (in the
format described in RFC 2732), and to build Host header fields in
the same format. This allows IPv6 literal address strings to be
used with ab. This support has been tested against Apache 1.3 with
the KAME patch, but Apache 2.0 does not yet work with this format
of the Host header field. |
700e336393ed1b32cf6f5967dcacb910a22505e9 87025 |
|
19-Nov-2000 |
trawick |
Call apr_create_socket() instead of apr_create_tcp_socket() (deprecated). |
b6a2f32fc58daab13307a62e197c94c694d5e74d 86990 |
|
17-Nov-2000 |
trawick |
APR: Change apr_connect() to take apr_sockaddr_t instead of hostname.
Add generic apr_create_socket(). Add apr_getaddrinfo() for doing
hostname resolution/address string parsing and building
apr_sockaddr_t.
Submitted by: David Reid
Reviewed by: Jeff Trawick |
446b877d2ab69d9bbcd9152a2d54814f05f1c00b 86915 |
|
10-Nov-2000 |
rbb |
Fix a lot of the fallback from the apr_ssize_t to apr_size_t change
Submitted by: Victor J. Orlikowski <v.j.orlikowski@gte.net> |
1eb57aa9411d9837b59b7527aa1c615f37f658ff 86872 |
|
08-Nov-2000 |
trawick |
Get ab to build again by changing apr_set_remote_port() to apr_set_port(). |
0abdf2011dc34cf3251a61fda516c7ff64c39a11 86793 |
|
02-Nov-2000 |
trawick |
Get rid of some warnings on Solaris 8 by using APR's ctype macros:
logresolve.c: In function `main':
logresolve.c:327: warning: subscript has type `char'
ab.c: In function `main':
ab.c:1074: warning: subscript has type `char'
ab.c:1087: warning: subscript has type `char' |
06e2d72d72d35442e1ba8cfe9f343ac0fb2b8cff 86595 |
|
15-Oct-2000 |
dreid |
Some fixes and a general tidy up of ab. With these changes ab can now
support concurrency levels > 1 against the loopback on BONE and will
actually use all the connections it starts. |
4cfd7921c87712adaf1c77d62898c478c4c79828 86405 |
|
05-Oct-2000 |
wrowe |
The lots of little ones... APR_IS_STATUS_condition(rv) conditional macros
replacing the majority of fallible rv == APR_condition tests. But there
are lots more to fix, these are the obvious ones that already did proper
canonical error conversion. |
f6b9fb1159d1af7d615ccfe99c0f6840bbf014b7 86229 |
|
14-Sep-2000 |
trawick |
Fix the types of the variables passed as the len parm to bucket->read()
(in various places).
In ab, change the declaration of argv so that it can be passed into
apr_initopt() without warning.
Submitted by: Victor J. Orlikowski <v.j.orlikowski@gte.net>
Reviewed and modified slightly by: Jeff Trawick |
0bcc11df5f030cf62289599a25f5831913a4b438 86045 |
|
10-Aug-2000 |
trawick |
Tweak apr_getopt() and its use in ab to avoid compiler warnings.
(Note: apr_initopt() and/or its callers still need tweaking.)
Submitted by: Bill Rowe
Reviewed by: Jeff Trawick |
a0b0ab24196a69d18cc410363e8d85e28fd01dbe 86037 |
|
09-Aug-2000 |
wrowe |
Fix ApacheBench for the apr_initopt/apr_getopt change. This illustrates
abusing the apr_getopt_t for direct access at the working structure, just
as we did with the global vars. By my global search, there should be no
more apr_opt*** symbols out there.
PR:
Obtained from:
Submitted by:
Reviewed by: |
71ae70b321b6e872938934bbf569c5787962aca3 86020 |
|
07-Aug-2000 |
trawick |
A few more (last?) ap_xlate->apr_xlate changes covering stuff not completely
handled in the big apr rename last week. |
333d217f9ee70eb89cb5d5a30bf08a0032f571ff 86018 |
|
07-Aug-2000 |
trawick |
Fix some problems with the apr conversion so that APACHE_XLATE builds work
again. |
10a4cdd68ef1ca0e54af296fe1d08ac00150c90b 86008 |
|
06-Aug-2000 |
wrowe |
Remaining cleanup of ap_ -> apr_ and AP_ -> APR_ transformation...
see src/lib/apr/apr_compat.h for most details.
Also a few minor nits to get Win32 to build.
PR:
Obtained from:
Submitted by:
Reviewed by: |
1ccd992d37d62c8cb2056126f2234f64ec189bfd 85976 |
|
02-Aug-2000 |
dougm |
prefix libapr functions and types with apr_ |
be2ca76a08c2fc1695f5b3178d5893f0e92240bf 85962 |
|
31-Jul-2000 |
trawick |
Don't use perror() to report the failure of an APR function.
Introduce apr_err() for that purpose. |
52d9e6442afa54065774d6c36bdb61f495953bf2 85855 |
|
16-Jul-2000 |
fielding |
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 |
48d7c43629323c8d5ee9f7bd0d194de0a376b391 85558 |
|
13-Jun-2000 |
rbb |
Protect system header files with the appropriate macros. |
878c5eb6d9ffca5069d9f140184a133723000f0c 85320 |
|
28-May-2000 |
wrowe |
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. |
75955a79840ee0134d58addf0dd6733f7f71a99e 85261 |
|
20-May-2000 |
rbb |
Remove a warning about ap_base64encode not being defined anywhere. |
c53a68af52e2428d833746388b412fb4793759b2 85251 |
|
19-May-2000 |
trawick |
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 |
0ac82bcfac2634ae7f5feeb7040989bebaadc48b 85226 |
|
16-May-2000 |
trawick |
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. |
e7f5d6704bd83aa35e50df27890e058c23239b6f 85223 |
|
16-May-2000 |
trawick |
Fix some bugs (mostly lost 1.3 code) in ab's command-line processing. |
64e2ff534c48d19c2255e1e87560affac0f53e93 85120 |
|
01-May-2000 |
trawick |
add missing ';' in non-ASCII path |
5f6e75bc39f8d95c7495ed17e585597cd6bd7fba 85080 |
|
28-Apr-2000 |
trawick |
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 |
38d5ea7a83b07c254bf2b0103053c6b9c8f37d75 85068 |
|
28-Apr-2000 |
trawick |
Build ab on Win32.
Fix some minor ab APR-ization issues. |
cf721750997514b9cbed94bf3672ff6b3e2c2132 85063 |
|
27-Apr-2000 |
trawick |
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. |
f4a8b04b47f09a21b65646b66b19c9649ff7f03a 85055 |
|
27-Apr-2000 |
rbb |
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. |
f3091cedd4abeda1026d9117c34e8f625754e8ae 84881 |
|
31-Mar-2000 |
fielding |
Update to Apache Software License version 1.1 |
64185f9824e42f21ca7b9ae6c004484215c031a7 84725 |
|
10-Mar-2000 |
rbb |
Fix all the License issues. Including:
s/Apache Group/Apache Software Foundation/
s/1999/2000/
s/Sascha's license/ASF license |
dde5230699209aff33af605714d67efcb6042de1 84056 |
|
28-Oct-1999 |
martin |
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 |
bbe866808ba50d71809ab58bbee377cadf60d3b7 83964 |
|
11-Oct-1999 |
dreid |
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. |
d0a46853bff16e9598a3298f262b0d3fd58d6c53 83946 |
|
07-Oct-1999 |
martin |
Re-sync to most up-to-date ab.c version 1.3b |
b4c8a80f7dbfc9b56dbe03bdc28f0b5eb5f23697 83852 |
|
31-Aug-1999 |
rbb |
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. |
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1 83750 |
|
24-Aug-1999 |
fielding |
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 |