summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/SocketServer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/SocketServer.py b/Lib/SocketServer.py
index 2c15e93..8e60508 100644
--- a/Lib/SocketServer.py
+++ b/Lib/SocketServer.py
@@ -570,7 +570,7 @@ class DatagramRequestHandler(BaseRequestHandler):
import StringIO
self.packet, self.socket = self.request
self.rfile = StringIO.StringIO(self.packet)
- self.wfile = StringIO.StringIO(self.packet)
+ self.wfile = StringIO.StringIO()
def finish(self):
self.socket.sendto(self.wfile.getvalue(), self.client_address)