bind to the address we received UDP on

That in addition allocates a new UDP socket per client,
and forwards the initial client hello to the worker
process as auxillary data. That, eliminates the need to
re-open the main server's UDP socket per client connection.
This commit is contained in:
Nikos Mavrogiannopoulos
2015-01-11 00:46:34 +01:00
parent cb56984e8d
commit 3d7ac2c98c
5 changed files with 226 additions and 68 deletions
+1
View File
@@ -94,6 +94,7 @@ message cli_stats_msg
message udp_fd_msg
{
required bool hello = 1 [default = true]; /* is that a client hello? */
optional bytes data = 2; /* the client hello data */
}
/* SESSION_INFO */