mirror of
https://codeberg.org/scip/udpxd.git
synced 2025-12-16 11:30:57 +01:00
set session timeout to 30
This commit is contained in:
2
client.h
2
client.h
@@ -41,7 +41,7 @@ typedef uint8_t byte;
|
|||||||
#include "uthash.h"
|
#include "uthash.h"
|
||||||
#include "host.h"
|
#include "host.h"
|
||||||
|
|
||||||
#define MAXAGE 3600 /* seconds after which to close outgoing sockets and forget client src */
|
#define MAXAGE 30 /* seconds after which to close outgoing sockets and forget client src */
|
||||||
|
|
||||||
struct _client_t {
|
struct _client_t {
|
||||||
int socket; /* bind socket for outgoing traffic */
|
int socket; /* bind socket for outgoing traffic */
|
||||||
|
|||||||
Reference in New Issue
Block a user