internal void PushTimeout(HttpClient client, Socket socket) { SocketTimeoutLink socketTimeout = this.socketTimeout; if (socketTimeout != null) { socketTimeout.Push(client, socket); } }
internal bool PushReceiveVerifyCommandTimeout(SocketTimeoutNode serverSocket, Socket socket) { SocketTimeoutLink receiveVerifyCommandTimeout = this.ReceiveVerifyCommandTimeout; if (receiveVerifyCommandTimeout != null) { receiveVerifyCommandTimeout.Push(serverSocket, socket); return(true); } return(false); }