rustg for UDP shipping (#7897)

The C++ UDP logging library has been swapped out with a rustg implementation. The rustg library uses non-blocking IO mode, and hopefully has less trouble than the C++ one. Though we'll have to see. It should error when the call is supposed to block.

The old library has been removed.
This commit is contained in:
Erki
2020-01-11 21:17:41 +02:00
committed by GitHub
parent 6a5073bac6
commit 18e03e0a02
9 changed files with 63 additions and 135 deletions

View File

@@ -251,8 +251,7 @@ var/list/gamemode_cache = list()
//UDP GELF Logging
var/log_gelf_enabled = 0
var/log_gelf_ip = ""
var/log_gelf_port = ""
var/log_gelf_addr = ""
//IP Intel vars
var/ipintel_email
@@ -834,11 +833,8 @@ var/list/gamemode_cache = list()
if("log_gelf_enabled")
config.log_gelf_enabled = text2num(value)
if("log_gelf_ip")
config.log_gelf_ip = value
if("log_gelf_port")
config.log_gelf_port = value
if("log_gelf_addr")
config.log_gelf_addr = value
if("ipintel_email")
if (value != "ch@nge.me")