fix hop http plugin

This commit is contained in:
ginuerzh
2024-01-27 21:28:25 +08:00
parent 8bdd7ee172
commit 43d37d0a5f
2 changed files with 3 additions and 17 deletions

View File

@ -27,7 +27,7 @@ func (l *udpListener) parseMetadata(md mdata.Metadata) (err error) {
readBufferSize = "readBufferSize"
readQueueSize = "readQueueSize"
backlog = "backlog"
keepAlive = "keepAlive"
keepalive = "keepalive"
ttl = "ttl"
)
@ -49,7 +49,7 @@ func (l *udpListener) parseMetadata(md mdata.Metadata) (err error) {
if l.md.backlog <= 0 {
l.md.backlog = defaultBacklog
}
l.md.keepalive = mdutil.GetBool(md, keepAlive)
l.md.keepalive = mdutil.GetBool(md, keepalive)
return
}