mirror of
https://github.com/apple/swift-nio-extras.git
synced 2025-05-15 01:18:58 +08:00
Add missing promise
This commit is contained in:
parent
11e12fd285
commit
e04c54a0ee
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user