Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for respBytes (0.24 sec)

  1. internal/config/identity/openid/providercfg.go

    	if resp.StatusCode != http.StatusOK {
    		// uncomment this for debugging when needed.
    		// reqBytes, _ := httputil.DumpRequest(req, false)
    		// fmt.Println(string(reqBytes))
    		// respBytes, _ := httputil.DumpResponse(resp, true)
    		// fmt.Println(string(respBytes))
    		return nil, errors.New(resp.Status)
    	}
    
    	claims := map[string]interface{}{}
    	if err = json.NewDecoder(resp.Body).Decode(&claims); err != nil {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  2. internal/config/subnet/subnet.go

    		Transport: c.transport,
    	}
    
    	resp, err := client.Do(r)
    	if err != nil {
    		return "", err
    	}
    	defer xhttp.DrainBody(resp.Body)
    
    	respBytes, err := io.ReadAll(io.LimitReader(resp.Body, respBodyLimit))
    	if err != nil {
    		return "", err
    	}
    	respStr := string(respBytes)
    
    	if resp.StatusCode == http.StatusOK {
    		return respStr, nil
    	}
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Feb 27 16:35:36 GMT 2023
    - 2.9K bytes
    - Viewed (0)
  3. cmd/admin-handlers.go

    		go func() {
    			respBytes, apiErr := globalAllHealState.stopHealSequence(healPath)
    			hr := healResp{respBytes: respBytes, apiErr: apiErr}
    			respCh <- hr
    		}()
    	case hip.clientToken == "":
    		nh := newHealSequence(GlobalContext, hip.bucket, hip.objPrefix, handlers.GetSourceIP(r), hip.hs, hip.forceStart)
    		go func() {
    			respBytes, apiErr, errMsg := globalAllHealState.LaunchNewHealSequence(nh, objectAPI)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 97.3K bytes
    - Viewed (2)
  4. src/main/java/jcifs/smb/SmbSessionImpl.java

                        if ( response.getStatus() == NtStatus.NT_STATUS_MORE_PROCESSING_REQUIRED ) {
                            byte[] respBytes = response.getRawPayload();
                            this.preauthIntegrityHash = trans.calculatePreauthHash(respBytes, 0, respBytes.length, this.preauthIntegrityHash);
                        }
                    }
    
                    token = response.getBlob();
                }
    
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sun Nov 14 17:41:04 GMT 2021
    - 49K bytes
    - Viewed (0)
  5. cmd/admin-heal-ops.go

    // aforementioned duration.
    func (ahs *allHealState) LaunchNewHealSequence(h *healSequence, objAPI ObjectLayer) (
    	respBytes []byte, apiErr APIError, errMsg string,
    ) {
    	if h.forceStarted {
    		_, apiErr = ahs.stopHealSequence(pathJoin(h.bucket, h.object))
    		if apiErr.Code != "" {
    			return respBytes, apiErr, ""
    		}
    	} else {
    		oh, exists := ahs.getHealSequence(pathJoin(h.bucket, h.object))
    		if exists && !oh.hasEnded() {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.1K bytes
    - Viewed (1)
Back to top