Only send packets via UDP if UDP communication is possible.

When no session key is known for a node, or when it is doing PMTU discovery but
no MTU probes have returned yet, packets are sent via TCP. Some logic is added
to make sure intermediate nodes continue forwarding via TCP.  The per-node
packet queue is now no longer necessary and has been removed.
This commit is contained in:
Guus Sliepen 2009-01-03 22:33:55 +01:00
parent b069da90d6
commit 67df7fb7e1
8 changed files with 27 additions and 42 deletions

View file

@ -516,6 +516,7 @@ end:
if (logfilename) free(logfilename);
if (myport) free(myport);
if (device) free(device);
if (iface) free(iface);
if (confbase) free(confbase);
EVP_cleanup();