From 53752ccaab8bc719360f52f8839ecdcece3b51d2 Mon Sep 17 00:00:00 2001 From: Dominik Picheta Date: Thu, 24 Oct 2013 19:17:45 +0100 Subject: [PATCH] Fixed breaking changes introduced by the last commit. --- lib/pure/asyncio.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pure/asyncio.nim b/lib/pure/asyncio.nim index a0cf657bfb..c4a07d7513 100644 --- a/lib/pure/asyncio.nim +++ b/lib/pure/asyncio.nim @@ -241,7 +241,7 @@ proc asyncSockHandleWrite(h: PObject) = if PAsyncSocket(h).handleWrite != nil: PAsyncSocket(h).handleWrite(PAsyncSocket(h)) - except EOS, ESSL: + except EOS: # Most likely the socket closed before the full buffer could be sent to it. sock.close() # TODO: Provide a handleError for users? else: