1
0
mirror of https://github.com/apple/swift-nio-extras.git synced 2025-05-24 14:57:07 +08:00

Add missing promise

This commit is contained in:
David Evans 2021-06-09 11:42:15 +01:00
parent 11e12fd285
commit e04c54a0ee

@ -79,7 +79,7 @@ public class SOCKSClientHandler: ChannelDuplexHandler {
return
}
self.writeBufferedData(context: context)
context.write(data, promise: nil)
context.write(data, promise: promise)
}
func writeBufferedData(context: ChannelHandlerContext) {