fieldstat增加sigpipe计数。
This commit is contained in:
@@ -4,7 +4,6 @@
|
||||
#include <event2/event.h>
|
||||
|
||||
#include <tfe_stream.h>
|
||||
#include <tfe_stat.h>
|
||||
#include <tfe_future.h>
|
||||
#include <proxy.h>
|
||||
|
||||
@@ -17,7 +16,6 @@ struct tfe_thread_ctx
|
||||
struct event_base * evbase;
|
||||
unsigned char running;
|
||||
|
||||
struct tfe_stats stat;
|
||||
struct cert_mgr * cert_mgr;
|
||||
|
||||
unsigned int nr_modules;
|
||||
|
||||
@@ -7,6 +7,11 @@
|
||||
struct ssl_mgr;
|
||||
struct key_keeper;
|
||||
struct kni_acceptor;
|
||||
enum TFE_STAT_FIELD
|
||||
{
|
||||
STAT_SIGPIPE,
|
||||
TFE_STAT_MAX
|
||||
};
|
||||
|
||||
struct tfe_proxy_tcp_options
|
||||
{
|
||||
@@ -53,6 +58,11 @@ struct tfe_proxy
|
||||
/* DEBUG OPTIONS */
|
||||
unsigned int tcp_all_passthrough;
|
||||
struct tfe_proxy_tcp_options tcp_options;
|
||||
|
||||
/* PERFOMANCE MONIOTR VARIABLES*/
|
||||
long long stat_val[TFE_STAT_MAX];
|
||||
int fs_id[TFE_STAT_MAX];
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user