- Name
-
tcp_client_loopback - Default
-
0 - Minimum
-
0 - Maximum
-
4 - Scope
- per-stack
Enable acceleration of TCP loopback connections on the connecting (client) side:
-
0- not accelerated (default) -
1- accelerate if the listening socket is in the same stack (you should also set EF_TCP_SERVER_LOOPBACK!=0) -
2- accelerate and move accepted socket to the stack of the connecting socket (server should allow this via EF_TCP_SERVER_LOOPBACK=2) -
3- accelerate and move the connecting socket to the stack of the listening socket (server should allow this via EF_TCP_SERVER_LOOPBACK!=0) -
4- accelerate and move both connecting and accepted sockets to the new stack (server should allow this via EF_TCP_SERVER_LOOPBACK=2).
Note: Options
3 and 4 break some applications using epoll(), fork() and dup() calls.Note: Options
2 and 4 cause accept() to misbehave if the client exits too early.