Ejemplo n.º 1
0
 internal void PushTimeout(HttpClient client, Socket socket)
 {
     SocketTimeoutLink.TimerLink socketTimeout = this.socketTimeout;
     if (socketTimeout != null)
     {
         socketTimeout.Push(client, socket);
     }
 }
Ejemplo n.º 2
0
 internal bool PushReceiveVerifyCommandTimeout(SocketTimeoutLink serverSocket, Socket socket)
 {
     SocketTimeoutLink.TimerLink receiveVerifyCommandTimeout = this.ReceiveVerifyCommandTimeout;
     if (receiveVerifyCommandTimeout != null)
     {
         receiveVerifyCommandTimeout.Push(serverSocket, socket);
         return(true);
     }
     return(false);
 }