Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NewServerConnectionWithPings (0.38 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/httpstream/spdy/connection.go

    // client.
    func NewServerConnection(conn net.Conn, newStreamHandler httpstream.NewStreamHandler) (httpstream.Connection, error) {
    	return NewServerConnectionWithPings(conn, newStreamHandler, 0)
    }
    
    // NewServerConnectionWithPings creates a new SPDY server connection.
    // newStreamHandler will be invoked when the server receives a newly created
    // stream from the client.
    //
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 01 15:04:07 UTC 2021
    - 6.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/httpstream/spdy/upgrade.go

    		runtime.HandleError(fmt.Errorf("unable to upgrade: error hijacking response: %v", err))
    		return nil
    	}
    
    	connWithBuf := &connWrapper{Conn: conn, bufReader: bufrw.Reader}
    	spdyConn, err := NewServerConnectionWithPings(connWithBuf, newStreamHandler, u.pingPeriod)
    	if err != nil {
    		runtime.HandleError(fmt.Errorf("unable to upgrade: error creating SPDY server connection: %v", err))
    		return nil
    	}
    
    	return spdyConn
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 28 08:02:09 UTC 2022
    - 4K bytes
    - Viewed (0)
Back to top