From beb70d6f735df8f3f31363676fe8b587d60830e2 Mon Sep 17 00:00:00 2001 From: sta Date: Mon, 16 Nov 2020 18:48:22 +0900 Subject: [PATCH] [Modify] Remove it --- websocket-sharp/Net/HttpConnection.cs | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/websocket-sharp/Net/HttpConnection.cs b/websocket-sharp/Net/HttpConnection.cs index 0feebe1b..64230012 100644 --- a/websocket-sharp/Net/HttpConnection.cs +++ b/websocket-sharp/Net/HttpConnection.cs @@ -253,18 +253,6 @@ namespace WebSocketSharp.Net _timer = null; } - private void init () - { - _context = new HttpListenerContext (this); - _currentLine = new StringBuilder (64); - _inputState = InputState.RequestLine; - _inputStream = null; - _lineState = LineState.None; - _outputStream = null; - _position = 0; - _requestBuffer = new MemoryStream (); - } - private void init (int timeout) { _timeout = timeout;