Tweaks
This commit is contained in:
parent
ef2e12b0dd
commit
8b4957fe2e
|
@ -318,6 +318,7 @@ func (w *response) Write(data []byte) (n int, err error) {
|
|||
switch {
|
||||
case w.conn._UDP != nil:
|
||||
// I should check the clients, udp message size here TODO(mg)
|
||||
// TODO: setting of TC bit
|
||||
n, err = w.conn._UDP.WriteTo(data, w.conn.remoteAddr)
|
||||
if err != nil {
|
||||
return 0, err
|
||||
|
|
Loading…
Reference in New Issue