mirror of https://git.musl-libc.org/git/musl
Browse Source
A zero returned from recvmsg is currently treated as if some data were received, so if a DNS server closes its TCP socket before sending the full answer, __res_msend_rc will spin until the timeout elapses because POLLIN event will be reported on each poll. Fix this by treating an early EOF as an error.master
committed by
Rich Felker
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue