mirror of
https://github.com/apple/swift-nio-extras.git
synced 2025-05-14 08:52:42 +08:00
Add missing promise
This commit is contained in:
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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user