This commit is contained in:
Miek Gieben 2012-02-25 22:12:01 +01:00
parent ef2e12b0dd
commit 8b4957fe2e
1 changed files with 1 additions and 0 deletions

View File

@ -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