You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
connection1: rsip + 80 <---> localip1+port1, clientip1 ; this connection not expire in ip_vs_ca, but free in lvs.
connection2: rsip + 3306 <---> localip1 + port1 , clientip2 ; and this is new connection.
if this happend, connection2 will get clientip1.
The text was updated successfully, but these errors were encountered:
I think the root cause of this problem is that this code saves connection info in module allocated memory, and when a connection is up abnormally, one could not know when the connection info should be removed from the hash table if the connection is closed due to the previous reason.
Original toa module use the sk_user_data to store the client info, but the 8 bit variable is not sufficient for ipv6.
Trade memory for speed, if we could maintain an slab cache for connections and hack into the tcp_prot->destroy function, at there release the connection info.
this maybe happend in this condition:
if this happend, connection2 will get clientip1.
The text was updated successfully, but these errors were encountered: