[issue26403] Don't call sendto in DatagramRequestHandler if there is nothing to send

2016-02-21 Thread desbma
Changes by desbma : -- components: +Library (Lib) -Macintosh keywords: +patch Added file: http://bugs.python.org/file41991/issue26403.patch ___ Python tracker

[issue26403] Don't call sendto in DatagramRequestHandler if there is nothing to send

2016-02-21 Thread desbma
New submission from desbma: When using socketserver to create a simple server for Unix Domain sockets (see server_dgram.py), and when sending data with a client that immediately shuts down (without waiting for a response, on Linux I test with 'echo data | nc -Uu -w 0 /tmp/s.socket') I get