Add missing promise

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

View File

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