mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-22 23:59:41 +08:00
Support socket options for connback sockets and connection timeouts
This commit is contained in:
1 parent
b8127257f9
commit
eb09ae7c58
8 files changed
+44
-28
No files matched your search
+5
-3
@@ -418,7 +418,7 @@ struct srvparam {
|
||||
int stacksize;
|
||||
int noforce;
|
||||
int anonymous;
|
||||
int clisockopts, srvsockopts, lissockopts;
|
||||
int clisockopts, srvsockopts, lissockopts, cbcsockopts, cbssockopts;
|
||||
#ifdef WITHSPLICE
|
||||
int usesplice;
|
||||
#endif
|
||||
@@ -543,7 +543,7 @@ struct filemon {
|
||||
|
||||
|
||||
struct extparam {
|
||||
int timeouts[10];
|
||||
int timeouts[12];
|
||||
struct ace * acl;
|
||||
char * conffile;
|
||||
struct bandlim * bandlimiter, *bandlimiterout;
|
||||
@@ -774,7 +774,9 @@ typedef enum {
|
||||
CONNECTION_S,
|
||||
CONNECTION_L,
|
||||
DNS_TO,
|
||||
CHAIN_TO
|
||||
CHAIN_TO,
|
||||
CONNECT_TO,
|
||||
CONNBACK_TO
|
||||
}TIMEOUT;
|
||||
|
||||
typedef enum {
|
||||
|
||||
Reference in new issue
Block a user