From a6ca5b2848d08a3f960d7cefb68419ee7d38687d Mon Sep 17 00:00:00 2001
From: David Evans <d.evans@apple.com>
Date: Wed, 9 Jun 2021 11:49:42 +0100
Subject: [PATCH] Rename handleActionProxyEstablished

---
 Sources/NIOSOCKS/Channel Handlers/SOCKSClientHandler.swift | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Sources/NIOSOCKS/Channel Handlers/SOCKSClientHandler.swift b/Sources/NIOSOCKS/Channel Handlers/SOCKSClientHandler.swift
index 95674ca..4302797 100644
--- a/Sources/NIOSOCKS/Channel Handlers/SOCKSClientHandler.swift	
+++ b/Sources/NIOSOCKS/Channel Handlers/SOCKSClientHandler.swift	
@@ -117,7 +117,7 @@ extension SOCKSClientHandler {
         case .sendRequest:
             try self.handleActionSendRequest(context: context)
         case .proxyEstablished:
-            self.handleActionProxyEstablished(context: context)
+            self.handleProxyEstablished(context: context)
         case .sendData(let data):
             context.writeAndFlush(self.wrapOutboundOut(data), promise: nil)
         }
@@ -132,7 +132,7 @@ extension SOCKSClientHandler {
         context.writeAndFlush(self.wrapOutboundOut(buffer), promise: nil)
     }
     
-    private func handleActionProxyEstablished(context: ChannelHandlerContext) {
+    private func handleProxyEstablished(context: ChannelHandlerContext) {
         // for some reason we have extra bytes
         // so let's send them down the pipe
         // (Safe to bang, self.buffered will always exist at this point)