Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for StateHijacked (0.09 sec)

  1. src/net/http/httptest/server.go

    				if oldState != http.StateActive {
    					panic("invalid state transition")
    				}
    				s.conns[c] = cs
    			}
    			if s.closed {
    				s.closeConn(c)
    			}
    		case http.StateHijacked, http.StateClosed:
    			// Remove c from the set of tracked conns and decrement it from the
    			// waitgroup, unless it was previously removed.
    			if _, ok := s.conns[c]; ok {
    				delete(s.conns, c)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 17:26:10 UTC 2024
    - 10.7K bytes
    - Viewed (0)
Back to top