From 6590bb45a6d1e9c1c5a0c8bb6400eebcf25ce040 Mon Sep 17 00:00:00 2001 From: Cory Benfield Date: Fri, 15 Sep 2017 14:26:02 +0100 Subject: [PATCH] Accept handler must always propagate read --- Sources/NIO/Bootstrap.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Sources/NIO/Bootstrap.swift b/Sources/NIO/Bootstrap.swift index 6397c7e33..eaab92934 100644 --- a/Sources/NIO/Bootstrap.swift +++ b/Sources/NIO/Bootstrap.swift @@ -161,6 +161,8 @@ public final class ServerBootstrap { } } }) + } else { + ctx.fireChannelRead(data: data) } } catch let err { closeAndFire(ctx: ctx, accepted: accepted, err: err)