Shell fd position advances after write, so the subsequent read arrives with offset=N (write length). readDNS always serves from offset 0, fixing empty reads from exec 3<>file; echo >&3; cat <&3. |
||
|---|---|---|
| .. | ||
| server.go | ||
Shell fd position advances after write, so the subsequent read arrives with offset=N (write length). readDNS always serves from offset 0, fixing empty reads from exec 3<>file; echo >&3; cat <&3. |
||
|---|---|---|
| .. | ||
| server.go | ||