Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 70 for REQ (0.01 sec)

  1. internal/kms/kms.go

    	k.updateMetrics(err, time.Since(start))
    
    	return plaintext, err
    }
    
    // MAC generates the checksum of the given req.Message using the key
    // with the req.Name at the KMS.
    func (k *KMS) MAC(ctx context.Context, req *MACRequest) ([]byte, error) {
    	if req.Name == "" {
    		req.Name = k.DefaultKey
    	}
    
    	start := time.Now()
    	mac, err := k.conn.MAC(ctx, req)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  2. internal/grid/handlers.go

    // The request may be reused, so caller should clear any fields.
    func (h *SingleHandler[Req, Resp]) NewRequest() Req {
    	return h.newReq()
    }
    
    // Register a handler for a Req -> Resp roundtrip.
    // Requests are automatically recycled.
    func (h *SingleHandler[Req, Resp]) Register(m *Manager, handle func(req Req) (resp Resp, err *RemoteErr), subroute ...string) error {
    	if h.newReq == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  3. cmd/auth-handler_test.go

    	req := mustNewRequest(method, urlStr, contentLength, body, t)
    	req.Header.Set("Content-Md5", "invalid-digest")
    	cred := globalActiveCred
    	if err := signRequestV4(req, cred.AccessKey, cred.SecretKey); err != nil {
    		t.Fatalf("Unable to initialized new signed http request %s", err)
    	}
    	return req
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  4. internal/logger/logger.go

    			logKind = ek
    		}
    	}
    
    	req := GetReqInfo(ctx)
    	if req == nil {
    		req = &ReqInfo{
    			API:       "SYSTEM",
    			RequestID: fmt.Sprintf("%X", time.Now().UTC().UnixNano()),
    		}
    	}
    	req.RLock()
    	defer req.RUnlock()
    
    	API := "SYSTEM"
    	switch {
    	case req.API != "":
    		API = req.API
    	case subsystem != "":
    		API += "." + subsystem
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 09:43:48 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/http/NtlmHttpFilter.java

            NtlmPasswordAuthentication ntlm;
    
            if ((ntlm = negotiate( req, resp, false )) == null) {
                return;
            }
    
            chain.doFilter( new NtlmHttpServletRequest( req, ntlm ), response );
        }
    
        /**
         * Negotiate password hashes with MSIE clients using NTLM SSP
         * @param req The servlet request
         * @param resp The servlet response
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 10.4K bytes
    - Viewed (0)
  6. internal/rest/client.go

    		// variable to mean explicitly zero.
    		if req.GetBody != nil && req.ContentLength == 0 {
    			req.Body = http.NoBody
    			req.GetBody = func() (io.ReadCloser, error) { return http.NoBody, nil }
    		}
    	}
    
    	if c.auth != nil {
    		req.Header.Set("Authorization", "Bearer "+c.auth())
    	}
    	req.Header.Set("X-Minio-Time", strconv.FormatInt(time.Now().UnixNano(), 10))
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 26 12:55:01 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/http/NetworkExplorer.java

    
        @Override
        public void doGet ( HttpServletRequest req, HttpServletResponse resp ) throws IOException, ServletException {
            Address dc;
            String msg, pathInfo, server = null;
            boolean offerBasic, possibleWorkgroup = true;
            NtlmPasswordAuthentication ntlm = null;
            HttpSession ssn = req.getSession(false);
    
            if ( ( pathInfo = req.getPathInfo() ) != null ) {
                int i;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 21.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/http/NtlmHttpFilter.java

            NtlmPasswordAuthentication ntlm;
    
            if ( ( ntlm = negotiate(req, resp, false) ) == null ) {
                return;
            }
    
            chain.doFilter(new NtlmHttpServletRequest(req, ntlm), response);
        }
    
    
        /**
         * Negotiate password hashes with MSIE clients using NTLM SSP
         * 
         * @param req
         *            The servlet request
         * @param resp
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 14.8K bytes
    - Viewed (0)
  9. cmd/post-policy_test.go

    	req.Header.Set("Content-Type", contentTypeHdr)
    	req.Header.Set("User-Agent", "Mozilla")
    
    	// Since `apiRouter` satisfies `http.Handler` it has a ServeHTTP to execute the logic of the handler.
    	// Call the ServeHTTP to execute the handler.
    	apiRouter.ServeHTTP(rec, req)
    
    	ctx, cancel := context.WithCancel(GlobalContext)
    	defer cancel()
    
    	// Now check if we actually wrote to backend (regardless of the response
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

            }
    
            ServerMessageBlock req = (ServerMessageBlock) request;
    
            req.addFlags2(this.negotiatedFlags2);
            req.setUseUnicode(req.isForceUnicode() || this.useUnicode);
            if ( req.isUseUnicode() ) {
                req.addFlags2(SmbConstants.FLAGS2_UNICODE);
            }
    
            if ( req instanceof SmbComTransaction ) {
                ( (SmbComTransaction) req ).setMaxBufferSize(this.snd_buf_size);
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 15.4K bytes
    - Viewed (0)
Back to top