* event.c and event.h: Moved to localevent.c and localevent.h for integration with libevent (which has a default header of event.h)
This commit is contained in:
parent
5bbd09889b
commit
f1a1b8125b
@ -1,10 +1,15 @@
|
|||||||
|
2007-06-03 Ted Bullock <tbullock@canada.com>
|
||||||
|
|
||||||
|
* event.c and event.h: Moved to localevent.c and localevent.h for integration with
|
||||||
|
libevent (which has a default header of event.h)
|
||||||
|
|
||||||
2007-06-03 Ted Bullock <tbullock@canada.com>
|
2007-06-03 Ted Bullock <tbullock@canada.com>
|
||||||
|
|
||||||
* configure.ac: Add configuration to use libevent
|
* configure.ac: Add configuration to use libevent
|
||||||
|
|
||||||
2007-06-03 Ted Bullock <tbullock@canada.com>
|
2007-06-03 Ted Bullock <tbullock@canada.com>
|
||||||
|
|
||||||
* configure.ac: Remove unnecessary configuration cruft and configure httperf
|
* configure.ac: Remove unnecessary configuration cruft and configure httperf
|
||||||
to be built in c99 mode
|
to be built in c99 mode
|
||||||
|
|
||||||
2007-05-27 Ted Bullock <tbullock@canada.com>
|
2007-05-27 Ted Bullock <tbullock@canada.com>
|
||||||
|
@ -5,8 +5,8 @@ AM_CFLAGS = -I$(srcdir) -I$(srcdir)/gen -I$(srcdir)/lib -I$(srcdir)/stat
|
|||||||
|
|
||||||
bin_PROGRAMS = httperf idleconn
|
bin_PROGRAMS = httperf idleconn
|
||||||
httperf_SOURCES = httperf.c httperf.h object.c object.h call.c call.h conn.c \
|
httperf_SOURCES = httperf.c httperf.h object.c object.h call.c call.h conn.c \
|
||||||
conn.h sess.c sess.h core.c core.h event.c event.h http.c http.h timer.c \
|
conn.h sess.c sess.h core.c core.h localevent.c localevent.h http.c http.h \
|
||||||
timer.h
|
timer.c timer.h
|
||||||
idleconn_SOURCES = idleconn.c
|
idleconn_SOURCES = idleconn.c
|
||||||
|
|
||||||
httperf_LDADD = gen/libgen.a lib/libutil.a stat/libstat.a
|
httperf_LDADD = gen/libgen.a lib/libutil.a stat/libstat.a
|
||||||
|
@ -61,7 +61,7 @@
|
|||||||
#include <httperf.h>
|
#include <httperf.h>
|
||||||
#include <call.h>
|
#include <call.h>
|
||||||
#include <core.h>
|
#include <core.h>
|
||||||
#include <event.h>
|
#include <localevent.h>
|
||||||
#include <http.h>
|
#include <http.h>
|
||||||
#include <conn.h>
|
#include <conn.h>
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
#include <httperf.h>
|
#include <httperf.h>
|
||||||
#include <call.h>
|
#include <call.h>
|
||||||
#include <core.h>
|
#include <core.h>
|
||||||
#include <event.h>
|
#include <localevent.h>
|
||||||
#include <conn.h>
|
#include <conn.h>
|
||||||
|
|
||||||
#define CONN_PRIVATE_DATA(c) \
|
#define CONN_PRIVATE_DATA(c) \
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
|
|
||||||
#include <httperf.h>
|
#include <httperf.h>
|
||||||
#include <core.h>
|
#include <core.h>
|
||||||
#include <event.h>
|
#include <localevent.h>
|
||||||
#include <rate.h>
|
#include <rate.h>
|
||||||
#include <conn.h>
|
#include <conn.h>
|
||||||
#include <timer.h>
|
#include <timer.h>
|
||||||
|
@ -50,7 +50,7 @@
|
|||||||
|
|
||||||
#include <httperf.h>
|
#include <httperf.h>
|
||||||
#include <call.h>
|
#include <call.h>
|
||||||
#include <event.h>
|
#include <localevent.h>
|
||||||
|
|
||||||
static const char *extra;
|
static const char *extra;
|
||||||
static size_t extra_len;
|
static size_t extra_len;
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include <httperf.h>
|
#include <httperf.h>
|
||||||
#include <event.h>
|
#include <localevent.h>
|
||||||
#include <object.h>
|
#include <object.h>
|
||||||
#include <rate.h>
|
#include <rate.h>
|
||||||
#include <timer.h>
|
#include <timer.h>
|
||||||
|
@ -51,7 +51,7 @@
|
|||||||
#include <call.h>
|
#include <call.h>
|
||||||
#include <conn.h>
|
#include <conn.h>
|
||||||
#include <core.h>
|
#include <core.h>
|
||||||
#include <event.h>
|
#include <localevent.h>
|
||||||
#include <session.h>
|
#include <session.h>
|
||||||
|
|
||||||
#define MAX_COOKIE_LEN 256
|
#define MAX_COOKIE_LEN 256
|
||||||
|
@ -69,7 +69,7 @@
|
|||||||
#include <call.h>
|
#include <call.h>
|
||||||
#include <conn.h>
|
#include <conn.h>
|
||||||
#include <core.h>
|
#include <core.h>
|
||||||
#include <event.h>
|
#include <localevent.h>
|
||||||
#include <sess.h>
|
#include <sess.h>
|
||||||
#include <session.h>
|
#include <session.h>
|
||||||
|
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
|
|
||||||
#include <httperf.h>
|
#include <httperf.h>
|
||||||
#include <call.h>
|
#include <call.h>
|
||||||
#include <event.h>
|
#include <localevent.h>
|
||||||
|
|
||||||
static size_t uri_len;
|
static size_t uri_len;
|
||||||
|
|
||||||
|
@ -80,7 +80,7 @@
|
|||||||
#include <httperf.h>
|
#include <httperf.h>
|
||||||
#include <call.h>
|
#include <call.h>
|
||||||
#include <core.h>
|
#include <core.h>
|
||||||
#include <event.h>
|
#include <localevent.h>
|
||||||
|
|
||||||
static char *fbase, *fend, *fcurrent;
|
static char *fbase, *fend, *fcurrent;
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@
|
|||||||
|
|
||||||
#include <httperf.h>
|
#include <httperf.h>
|
||||||
#include <call.h>
|
#include <call.h>
|
||||||
#include <event.h>
|
#include <localevent.h>
|
||||||
|
|
||||||
#define MAX_URI_LEN 128
|
#define MAX_URI_LEN 128
|
||||||
#define CALL_PRIVATE_DATA(c) \
|
#define CALL_PRIVATE_DATA(c) \
|
||||||
|
@ -45,7 +45,7 @@
|
|||||||
#include <call.h>
|
#include <call.h>
|
||||||
#include <conn.h>
|
#include <conn.h>
|
||||||
#include <core.h>
|
#include <core.h>
|
||||||
#include <event.h>
|
#include <localevent.h>
|
||||||
#include <rate.h>
|
#include <rate.h>
|
||||||
#include <session.h>
|
#include <session.h>
|
||||||
#include <timer.h>
|
#include <timer.h>
|
||||||
|
@ -83,7 +83,7 @@
|
|||||||
#include <httperf.h>
|
#include <httperf.h>
|
||||||
#include <conn.h>
|
#include <conn.h>
|
||||||
#include <core.h>
|
#include <core.h>
|
||||||
#include <event.h>
|
#include <localevent.h>
|
||||||
#include <rate.h>
|
#include <rate.h>
|
||||||
#include <session.h>
|
#include <session.h>
|
||||||
#include <timer.h>
|
#include <timer.h>
|
||||||
|
@ -50,7 +50,7 @@
|
|||||||
#include <call.h>
|
#include <call.h>
|
||||||
#include <conn.h>
|
#include <conn.h>
|
||||||
#include <core.h>
|
#include <core.h>
|
||||||
#include <event.h>
|
#include <localevent.h>
|
||||||
#include <rate.h>
|
#include <rate.h>
|
||||||
#include <session.h>
|
#include <session.h>
|
||||||
#include <timer.h>
|
#include <timer.h>
|
||||||
|
@ -44,7 +44,7 @@
|
|||||||
#include <httperf.h>
|
#include <httperf.h>
|
||||||
#include <http.h>
|
#include <http.h>
|
||||||
#include <call.h>
|
#include <call.h>
|
||||||
#include <event.h>
|
#include <localevent.h>
|
||||||
#include <conn.h>
|
#include <conn.h>
|
||||||
|
|
||||||
/* Read a CRLF terminated line of characters into c->reply.line.
|
/* Read a CRLF terminated line of characters into c->reply.line.
|
||||||
|
@ -73,7 +73,7 @@
|
|||||||
#include <sys/resource.h>
|
#include <sys/resource.h>
|
||||||
|
|
||||||
#include <core.h>
|
#include <core.h>
|
||||||
#include <event.h>
|
#include <localevent.h>
|
||||||
#include <httperf.h>
|
#include <httperf.h>
|
||||||
#include <conn.h>
|
#include <conn.h>
|
||||||
#include <timer.h>
|
#include <timer.h>
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
#include <httperf.h>
|
#include <httperf.h>
|
||||||
#include <call.h>
|
#include <call.h>
|
||||||
#include <conn.h>
|
#include <conn.h>
|
||||||
#include <event.h>
|
#include <localevent.h>
|
||||||
#include <object.h>
|
#include <object.h>
|
||||||
#include <sess.h>
|
#include <sess.h>
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
02110-1301, USA
|
02110-1301, USA
|
||||||
*/
|
*/
|
||||||
#include <httperf.h>
|
#include <httperf.h>
|
||||||
#include <event.h>
|
#include <localevent.h>
|
||||||
#include <sess.h>
|
#include <sess.h>
|
||||||
|
|
||||||
void
|
void
|
||||||
|
@ -43,7 +43,7 @@
|
|||||||
|
|
||||||
#include <httperf.h>
|
#include <httperf.h>
|
||||||
#include <call.h>
|
#include <call.h>
|
||||||
#include <event.h>
|
#include <localevent.h>
|
||||||
#include <stats.h>
|
#include <stats.h>
|
||||||
|
|
||||||
/* Increase this if it does not cover at least 50% of all response
|
/* Increase this if it does not cover at least 50% of all response
|
||||||
|
@ -43,7 +43,7 @@
|
|||||||
#include <httperf.h>
|
#include <httperf.h>
|
||||||
#include <call.h>
|
#include <call.h>
|
||||||
#include <conn.h>
|
#include <conn.h>
|
||||||
#include <event.h>
|
#include <localevent.h>
|
||||||
|
|
||||||
typedef struct Call_Private_Data
|
typedef struct Call_Private_Data
|
||||||
{
|
{
|
||||||
|
@ -42,7 +42,7 @@
|
|||||||
|
|
||||||
#include <httperf.h>
|
#include <httperf.h>
|
||||||
#include <call.h>
|
#include <call.h>
|
||||||
#include <event.h>
|
#include <localevent.h>
|
||||||
#include <session.h>
|
#include <session.h>
|
||||||
#include <stats.h>
|
#include <stats.h>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user