History log of /libevent-2.1.12/test/bench_httpclient.c (Results 1 – 24 of 24)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release-2.2.1-alpha, release-2.1.12-stable, release-2.1.11-stable, release-2.1.10-stable, release-2.1.9-beta, release-2.0.23-beta
# 8567f2f5 29-Jan-2017 Azat Khuzhin <[email protected]>

Merge branch 'fix-struct-linger'

@jbech
"Accidentally disabled by 0dda56a due to confusion between struct
linger vs. SO_LINGER and #define vs. AC_DEFINE. Try adding synthetic
#error test to co

Merge branch 'fix-struct-linger'

@jbech
"Accidentally disabled by 0dda56a due to confusion between struct
linger vs. SO_LINGER and #define vs. AC_DEFINE. Try adding synthetic
#error test to confirm."

* fix-struct-linger:
cmake: check for 'struct linger' existence
test/bench*: prefix event-config.h macros after 0dda56a48e94
test/bench_httpclient: restore SO_LINGER usage after 0dda56a48e94

Fixes: #444 (original pull-request)
(cherry picked from commit 9d5a4bdc5cfbf2385efc7c58103161b3512c4500)

show more ...


Revision tags: release-2.1.8-stable
# 6bf2061c 12-Nov-2016 Philip Prindeville <[email protected]>

C90 doesn't like declarations intermingled with statements

So move all of the declarations to the top of the offending function.

This patch includes both of issues (Fixes:), from @jeking3 and
@ppri

C90 doesn't like declarations intermingled with statements

So move all of the declarations to the top of the offending function.

This patch includes both of issues (Fixes:), from @jeking3 and
@pprindeville

Fixes: #418
Fixes: nmathewson/Libevent#136

show more ...


Revision tags: release-2.1.7-rc, release-2.1.6-beta
# cb969312 07-Jun-2015 Seungmo Koo <[email protected]>

Update bench_httpclient.c

*fixed: socket_geterror instead of WSAGetLastError


# 4e9325e8 05-Jun-2015 zeliard <[email protected]>

*fix: bench_httpclient to support win32


Revision tags: release-2.0.22-stable, release-1.4.15-stable, release-2.1.5-beta, release-2.1.4-alpha, release-2.1.3-alpha
# 0dda56a4 03-Feb-2013 Nicholas Heath <[email protected]>

Preliminary changes for Minix3.


Revision tags: release-2.1.2-alpha, release-2.0.21-stable, release-2.0.20-stable
# b9e73297 26-Jul-2012 Nick Mathewson <[email protected]>

Add checks to various return values in unit tests. Found by coverity


# 56710337 29-Jun-2012 Nick Mathewson <[email protected]>

Avoid (unlikely) overflow in bench_httpclient.c


# ea92fba3 25-Jun-2012 Nick Mathewson <[email protected]>

Avoid a resource leak on error in http client benchmark


Revision tags: release-2.0.19-stable, release-2.1.1-alpha, release-2.0.18-stable, release-2.0.17-stable
# e49e2891 10-Feb-2012 Nick Mathewson <[email protected]>

Update copyright notices to 2012


# 95e2455c 24-Jan-2012 Nick Mathewson <[email protected]>

When including an -internal.h header outside the main tree, do so early

Some of our unit tests and sample code need functions and structures
defined in an -internal.h header. But that can freak out

When including an -internal.h header outside the main tree, do so early

Some of our unit tests and sample code need functions and structures
defined in an -internal.h header. But that can freak out OpenSolaris,
where stdio.h wants to define _FILE_OFFSET_BITS unless it's already
defined, and then evconfig-internal.h defines it. Regular users
should never ever use our -internal.h headers, so the solution is
to make sure that if we're going to use them ourselves, we do so
before system headers.

show more ...


Revision tags: release-2.0.16-stable
# 3c824bd3 24-Oct-2011 Nick Mathewson <[email protected]>

Update copyright dates to 2011.


Revision tags: release-2.0.15-stable, release-2.0.14-stable, release-2.0.13-stable, release-2.0.12-stable
# 9f560bfa 25-May-2011 Nick Mathewson <[email protected]>

Use "_WIN32", not WIN32: it's standard and we don't need to fake it

This patch was automatically generated with perl.

Based on a patch by Peter Rosin.


# 0de87fe6 25-May-2011 Peter Rosin <[email protected]>

Use evutil_gettimeofday instead of relying on the system gettimeofday.


Revision tags: release-2.0.11-stable
# 646f9feb 23-Apr-2011 Sebastian Hahn <[email protected]>

Zero a struct sockaddr_in before using it

Found by Dave Heart


# 10c834c4 13-Feb-2011 Harlan Stenn <[email protected]>

Include arpa/inet.h as needed on HPUX


Revision tags: release-2.0.10-stable
# c0bf63ce 02-Dec-2010 Evan Jones <[email protected]>

tests: Use relative includes ("") instead of system includes (<>)


Revision tags: release-2.0.9-rc, release-2.0.8-rc
# 5b7a3706 05-Oct-2010 Nick Mathewson <[email protected]>

Fix warnings on mingw with gcc 4.5


Revision tags: release-2.0.7-rc, release-2.0.6-rc, release-1.4.14b-stable, release-1.4.14-stable, release-2.0.5-beta
# c7cf6f00 05-Mar-2010 Nick Mathewson <[email protected]>

Replace users of "int fd" with "evutil_socket_t fd" in portable code

Remeber, win32 has a socket type that's actually a handle, so if
there's a chance that code is run on win32, we can't use "int" a

Replace users of "int fd" with "evutil_socket_t fd" in portable code

Remeber, win32 has a socket type that's actually a handle, so if
there's a chance that code is run on win32, we can't use "int" as the
socket type.

This isn't a blind search-and-replace: sometimes an fd is really in
fact for a file, and not a socket at all.

show more ...


# 17efc1cd 04-Mar-2010 Nick Mathewson <[email protected]>

Update all our copyright notices to say "2010"


Revision tags: release-2.0.4-alpha, release-2.0.3-alpha, release-1.4.13-stable, release-2.0.2-alpha@1379, release-1.4.12-stable, release-1.4.11-stable
# 83f46e51 13-May-2009 Nick Mathewson <[email protected]>

Do not use the "evbuffer_" prefix to denote parts of bufferevents.

This is a bit of an interface doozy, but it's really needed in order
to be able to document this stuff without apologizing it. Thi

Do not use the "evbuffer_" prefix to denote parts of bufferevents.

This is a bit of an interface doozy, but it's really needed in order
to be able to document this stuff without apologizing it. This patch
does the following renamings:

evbuffercb -> bufferevent_data_cb
everrorcb -> bufferevent_event_cb
EVBUFFER_(READ,WRITE,...) -> BEV_EVENT_(...)
EVBUFFER_(INPUT,OUTPUT) -> bufferevent_get_(input,output)

All the old names are available in event2/bufferevent_compat.h

svn:r1283

show more ...


# 1ad03264 23-Apr-2009 Nick Mathewson <[email protected]>

Fix win32 compilation issues.

svn:r1234


# 1bb8e010 21-Apr-2009 Nick Mathewson <[email protected]>

Format microseconds correctly in bench_httpclient

svn:r1209


# b182ed76 18-Apr-2009 Nick Mathewson <[email protected]>

More tweaks to http stress-tester

svn:r1201


# e4f24219 18-Apr-2009 Nick Mathewson <[email protected]>

Add a new bench_httpclient for a trivial codecon demo.

svn:r1198