增加对KNI的Watchdog实现双向保活。
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
struct ssl_mgr;
|
||||
struct key_keeper;
|
||||
struct acceptor_kni_v2;
|
||||
struct watchdog_kni;
|
||||
|
||||
enum TFE_STAT_FIELD
|
||||
{
|
||||
@@ -101,6 +102,7 @@ struct tfe_proxy
|
||||
struct acceptor_kni_v1 * kni_v1_acceptor;
|
||||
struct acceptor_kni_v2 * kni_v2_acceptor;
|
||||
struct sender_scm * scm_sender;
|
||||
struct watchdog_kni * watchdog_kni;
|
||||
|
||||
/* DEBUG OPTIONS */
|
||||
unsigned int tcp_all_passthrough;
|
||||
|
||||
11
platform/include/internal/watchdog_kni.h
Normal file
11
platform/include/internal/watchdog_kni.h
Normal file
@@ -0,0 +1,11 @@
|
||||
//
|
||||
// Created by luqiu on 2019/6/18.
|
||||
//
|
||||
|
||||
#ifndef TFE_WATCHDOG_KNI_H
|
||||
#define TFE_WATCHDOG_KNI_H
|
||||
|
||||
struct watchdog_kni;
|
||||
struct watchdog_kni * watchdog_kni_create(struct tfe_proxy * proxy, const char * profile, void * logger);
|
||||
|
||||
#endif //TFE_WATCHDOG_KNI_H
|
||||
Reference in New Issue
Block a user