Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for original (0.2 sec)

  1. src/net/http/server.go

    	// or clear those deadlines as needed.
    	//
    	// The returned bufio.Reader may contain unprocessed buffered
    	// data from the client.
    	//
    	// After a call to Hijack, the original Request.Body must not
    	// be used. The original Request's Context remains valid and
    	// is not canceled until the Request's ServeHTTP method
    	// returns.
    	Hijack() (net.Conn, *bufio.ReadWriter, error)
    }
    
    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. src/cmd/go/alldocs.go

    //
    //	-run=""
    //		if non-empty, specifies a regular expression to select
    //		directives whose full original source text (excluding
    //		any trailing spaces and final newline) matches the
    //		expression.
    //
    //	-skip=""
    //		if non-empty, specifies a regular expression to suppress
    //		directives whose full original source text (excluding
    //		any trailing spaces and final newline) matches the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
  3. src/net/http/serve_test.go

    		}))
    		defer proxy.close()
    
    		req, _ := NewRequest("POST", proxy.ts.URL, io.LimitReader(neverEnding('a'), bodySize))
    		res, err := proxy.c.Do(req)
    		if err != nil {
    			return fmt.Errorf("original request: %v", err)
    		}
    		res.Body.Close()
    		return nil
    	})
    }
    
    // Test that a hanging Request.Body.Read from another goroutine can't
    // cause the Handler goroutine's Request.Body.Close to block.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  4. src/net/http/transport_test.go

    	}
    	oe, ok := uerr.Err.(*net.OpError)
    	if !ok {
    		t.Fatalf("url.Error.Err =  %T; want *net.OpError", uerr.Err)
    	}
    	want := &net.OpError{
    		Op:  "proxyconnect",
    		Net: "tcp",
    		Err: errDial, // original error, unwrapped.
    	}
    	if !reflect.DeepEqual(oe, want) {
    		t.Errorf("Got error %#v; want %#v", oe, want)
    	}
    }
    
    // Issue 36431: calls to RoundTrip should not mutate t.ProxyConnectHeader.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  5. src/cmd/go/internal/work/exec.go

    	// But there might be an x.go in the original dir too, and if it
    	// uses cgo as well, cgo will be processing both and will
    	// translate both into x.cgo1.go in the objdir, overwriting one.
    	// Rename x.go to _x_swig.go to avoid this problem.
    	// We ignore files in the original dir that begin with underscore
    	// so _x_swig.go cannot conflict with an original file we were
    	// going to compile.
    	goFile = objdir + goFile
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
  6. src/cmd/link/internal/ld/data.go

    			if !strings.HasPrefix(sname, "__imp_") {
    				return fmt.Errorf("internal error in windynrelocsym: redirect GOT token applied to non-import symbol %s", sname)
    			}
    
    			// Locate underlying symbol (which originally had type
    			// SDYNIMPORT but has since been retyped to SWINDOWS).
    			ds, err := loadpe.LookupBaseFromImport(targ, ctxt.loader, ctxt.Arch)
    			if err != nil {
    				return err
    			}
    			dstyp := ctxt.loader.SymType(ds)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (0)
Back to top