Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for StateHijacked (0.45 sec)

  1. src/net/http/server.go

    	// for a new request. Connections transition from StateIdle
    	// to either StateActive or StateClosed.
    	StateIdle
    
    	// StateHijacked represents a hijacked connection.
    	// This is a terminal state. It does not transition to StateClosed.
    	StateHijacked
    
    	// StateClosed represents a closed connection.
    	// This is a terminal state. Hijacked connections do not
    	// transition to StateClosed.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  2. api/go1.3.txt

    pkg net/http, const StateActive = 1
    pkg net/http, const StateActive ConnState
    pkg net/http, const StateClosed = 4
    pkg net/http, const StateClosed ConnState
    pkg net/http, const StateHijacked = 3
    pkg net/http, const StateHijacked ConnState
    pkg net/http, const StateIdle = 2
    pkg net/http, const StateIdle ConnState
    pkg net/http, const StateNew = 0
    pkg net/http, const StateNew ConnState
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 02 02:45:00 UTC 2014
    - 117K bytes
    - Viewed (0)
  3. src/net/http/serve_test.go

    	}, StateNew, StateActive, StateIdle, StateActive, StateClosed)
    
    	wantLog(func() {
    		mustGet(ts.URL + "/hijack")
    	}, StateNew, StateActive, StateHijacked)
    
    	wantLog(func() {
    		mustGet(ts.URL + "/hijack-panic")
    	}, StateNew, StateActive, StateHijacked)
    
    	wantLog(func() {
    		c, err := net.Dial("tcp", ts.Listener.Addr().String())
    		if err != nil {
    			t.Fatal(err)
    		}
    		c.Close()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
Back to top