We can safely delete a connection_t in terminate_connection() now.
This commit is contained in:
parent
01f47c46af
commit
ce976717ea
6 changed files with 15 additions and 58 deletions
|
@ -40,7 +40,7 @@ typedef union connection_status_t {
|
|||
int active:1; /* 1 if active.. */
|
||||
int connecting:1; /* 1 if we are waiting for a non-blocking connect() to finish */
|
||||
int termreq:1; /* the termination of this connection was requested */
|
||||
int remove:1; /* Set to 1 if you want this connection removed */
|
||||
int remove_unused:1; /* Set to 1 if you want this connection removed */
|
||||
int timeout:1; /* 1 if gotten timeout */
|
||||
int encryptout:1; /* 1 if we can encrypt outgoing traffic */
|
||||
int decryptin:1; /* 1 if we have to decrypt incoming traffic */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue