tftpd option handling is not RFC-compliant. This causes picky clients (such as curl) to fail transfers. --- /n/sourcesdump/2012/0907/plan9/sys/src/cmd/ip/tftpd.c Fri Feb 10 22:06:25 2012 +++ /sys/src/cmd/ip/tftpd.c Fri Sep 7 00:00:00 2012 @@ -342,9 +342,6 @@ if (bp + 3 >= ep) return -1; - *bp++ = '\0'; - *bp++ = '\0'; /* overkill */ - *bp++ = '\0'; if (write(fd, buf, bp - buf) < bp - buf) { syslog(dbg, flog, "tftpd network write error on oack to %s: %r",