Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for Debug (0.21 sec)

  1. internal/grid/debug.go

    	"net"
    	"net/http"
    	"net/http/httptest"
    	"sync"
    	"time"
    
    	xioutil "github.com/minio/minio/internal/ioutil"
    	"github.com/minio/mux"
    )
    
    //go:generate stringer -type=debugMsg $GOFILE
    
    // debugMsg is a debug message for testing purposes.
    // may only be used for tests.
    type debugMsg int
    
    const (
    	debugPrint = false
    	debugReqs  = false
    )
    
    const (
    	debugShutdown debugMsg = iota
    	debugKillInbound
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Feb 08 18:15:27 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  2. cmd/streaming-v4-unsigned.go

    	}
    
    	// If the chunk size is zero we return io.EOF. As specified by AWS,
    	// only the last chunk is zero-sized.
    	if len(cr.buffer) == 0 {
    		if cr.debug {
    			fmt.Println("EOF")
    		}
    		if cr.trailers != nil {
    			err = cr.readTrailers()
    			if cr.debug {
    				fmt.Println("trailer returned:", err)
    			}
    			if err != nil {
    				cr.err = err
    				return 0, err
    			}
    		}
    		cr.err = io.EOF
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat May 06 02:53:12 GMT 2023
    - 6.1K bytes
    - Viewed (1)
  3. docs/sts/web-identity.py

    import json
    import logging
    import urllib
    from uuid import uuid4
    
    import boto3
    import requests
    from botocore.client import Config
    from flask import Flask, request
    
    boto3.set_stream_logger('boto3.resources', logging.DEBUG)
    
    authorize_url = "http://localhost:8080/auth/realms/minio/protocol/openid-connect/auth"
    token_url = "http://localhost:8080/auth/realms/minio/protocol/openid-connect/token"
    
    Python
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Jul 28 01:37:51 GMT 2021
    - 2.9K bytes
    - Viewed (1)
  4. cmd/main.go

    	if env.Get("_MINIO_DEBUG_NO_EXIT", "") != "" {
    		freeze := func(_ int) {
    			// Infinite blocking op
    			<-make(chan struct{})
    		}
    
    		// Override the logger os.Exit()
    		logger.ExitFunc = freeze
    
    		defer func() {
    			if err := recover(); err != nil {
    				fmt.Println("panic:", err)
    				fmt.Println("")
    				fmt.Println(string(debug.Stack()))
    			}
    			freeze(-1)
    		}()
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  5. docs/debugging/inspect/decrypt-v2.go

    		return fmt.Errorf("decoding key returned: %w", err)
    	}
    
    	sr, err := estream.NewReader(r)
    	if err != nil {
    		return err
    	}
    
    	sr.SetPrivateKey(privKey)
    	sr.ReturnNonDecryptable(true)
    
    	// Debug corrupted streams.
    	if false {
    		sr.SkipEncrypted(true)
    		return sr.DebugStream(os.Stdout)
    	}
    	extracted := false
    	for {
    		stream, err := sr.NextStream()
    		if err != nil {
    			if err == io.EOF {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 21:22:47 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  6. docs/sts/dex.yaml

    # Uncomment this block to enable configuration for the expiration time durations.
    expiry:
      signingKeys: "3h"
      idTokens: "3h"
    
      # Options for controlling the logger.
      logger:
        level: "debug"
        format: "text" # can also be "json"
    
    # Default values shown below
    oauth2:
      # use ["code", "token", "id_token"] to enable implicit flow for web-only clients
    Others
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Jul 15 11:55:55 GMT 2020
    - 2.7K bytes
    - Viewed (1)
  7. cmd/generic-handlers.go

    		defer func() {
    			if rec := recover(); rec == logger.ErrCritical { // handle
    				stack := debug.Stack()
    				logger.Error("critical: \"%s %s\": %v\n%s", r.Method, r.URL, rec, string(stack))
    				writeErrorResponse(r.Context(), w, errorCodes.ToAPIErr(ErrInternalError), r.URL)
    				return
    			} else if rec != nil {
    				stack := debug.Stack()
    				logger.Error("panic: \"%s %s\": %v\n%s", r.Method, r.URL, rec, string(stack))
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 01:08:52 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  8. docs/sts/client-grants.py

    import logging
    
    import boto3
    from boto3.session import Session
    from botocore.session import get_session
    
    from client_grants import ClientGrantsCredentialProvider
    
    boto3.set_stream_logger('boto3.resources', logging.DEBUG)
    
    bc_session = get_session()
    bc_session.get_component('credential_provider').insert_before(
        'env',
        ClientGrantsCredentialProvider('NZLOOFRSluw9RfIkuHGqfk1HFp4a',
    Python
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 1.2K bytes
    - Viewed (0)
  9. cmd/metacache-bucket.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    	"errors"
    	"runtime/debug"
    	"sort"
    	"sync"
    	"time"
    
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/pkg/v2/console"
    )
    
    // a bucketMetacache keeps track of all caches generated
    // for a bucket.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  10. docs/bucket/versioning/versioning-tests.sh

    #!/usr/bin/env bash
    
    if [ -n "$TEST_DEBUG" ]; then
    	set -x
    fi
    
    trap 'catch $LINENO' ERR
    
    # shellcheck disable=SC2120
    catch() {
    	if [ $# -ne 0 ]; then
    		echo "error on line $1"
    		echo "server logs ========="
    		cat "/tmp/sitea_1.log"
    		echo "==========================="
    		cat "/tmp/sitea_2.log"
    	fi
    
    	echo "Cleaning up instances of MinIO"
    	pkill minio
    	pkill -9 minio
    	rm -rf /tmp/multisitea
    }
    
    catch
    
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 09:50:52 GMT 2024
    - 2.4K bytes
    - Viewed (0)
Back to top