-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to close the local timewait? #258
Comments
Hello? |
Hi, |
Hi @bogdanPricope Regards |
Oops.. my bad (my confusion). Ok, it looks like this is a remain of the initial integration of BSD code... (one of those things was supposed to be fixed during incubation phase or immediately after). So, there is no better explanation for the 'error' being 0 other than the poor integration. Have a look at this code for reference (https://reviews.freebsd.org/file/data/ls656a7hy5wlwjbxe35f/PHID-FILE-cvyptzi6cc3u67kpuqcl/file). Else, ofp_nolocaltimewait should be (never tried) configurable with ofp_sysctl(). Btw, what is the problem with V_tcptw_zone? |
Thanks a lot for the information I found that int error = 0;
#ifdef INET6
if (isipv6)
error = in6_localaddr(&inp->in6p_faddr);
#endif
#if defined(INET6) && defined(INET)
else
#endif
#ifdef INET
error = in_localip(inp->inp_faddr);
#endif in the Reference, so the
A: I still have no idea about it and cannot figure out whether it is an ofp issue or an odp issue. |
I guess the original implementation was like this: /*
} TCP side is not so great in OFP. I was planing some updates in my own repo but I did not had the time. |
Hi there,
I'd like to free the socket resources immediately without any time wait so that I can create no odp pools for timewait timer.
I've found that there's one variable
ofp_nolocaltimewait
to trigger it.But the thing is, why we keep the error to
0
that will always create a time wait timer?Kindly help,
thanks in advance.
The text was updated successfully, but these errors were encountered: