#1619 server_epoll, net.adns: Empty UDP packet sent on connect

Reporter Zash
Owner Zash
Stars ★ (1)
  • Status-Fixed
  • Milestone-0.11
  • Priority-Medium
  • Patch
  • Type-Defect
  1. Zash on

    net.adns wraps the DNS socket with an API that ends up making it watch for both read and write(able) events. With server_select, the send method is disabled by net.adns, but this does not work the same way in server_epoll and it ends up trying to send the empty write buffer. With TCP this does nothing but is needed for LuaSec sometimes(?), but with UDP DNS it ends up sending an empty packet.

  2. Zash on


    • tags Status-Started Patch
    • owner Zash
  3. Zash on

    Fixed in https://hg.prosody.im/0.11/rev/2115496e8251

    • tags Status-Fixed
  4. Zash on

    • tags Milestone-0.11

New comment

Not published. Used for spam prevention and optional update notifications.