Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for statusline (0.23 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

        ) {
          "state: $state"
        }
    
        try {
          val statusLine = StatusLine.parse(headersReader.readLine())
    
          val responseBuilder =
            Response.Builder()
              .protocol(statusLine.protocol)
              .code(statusLine.code)
              .message(statusLine.message)
              .headers(headersReader.readHeaders())
              .trailers { error("trailers not available") }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 16.2K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/Cache.kt

              varyHeadersBuilder.addLenient(source.readUtf8LineStrict())
            }
            varyHeaders = varyHeadersBuilder.build()
    
            val statusLine = StatusLine.parse(source.readUtf8LineStrict())
            protocol = statusLine.protocol
            code = statusLine.code
            message = statusLine.message
            val responseHeadersBuilder = Headers.Builder()
            val responseHeaderLineCount = readInt(source)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  3. internal/logger/target/kafka/kafka.go

    	if len(h.client.Brokers()) > 0 {
    		// Refer https://github.com/IBM/sarama/issues/1341
    		atomic.StoreInt32(&h.status, statusOnline)
    	}
    
    	return nil
    }
    
    // IsOnline returns true if the target is online.
    func (h *Target) IsOnline(_ context.Context) bool {
    	return atomic.LoadInt32(&h.status) == statusOnline
    }
    
    // Send log message 'e' to kafka target.
    func (h *Target) Send(ctx context.Context, entry interface{}) error {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 10.1K bytes
    - Viewed (1)
  4. internal/logger/target/http/http.go

    	maxWorkersWithBatchEvents = 4
    
    	// the suffix for the configured queue dir where the logs will be persisted.
    	httpLoggerExtension = ".http.log"
    )
    
    const (
    	statusOffline = iota
    	statusOnline
    	statusClosed
    )
    
    var (
    	logChBuffers = make(map[string]chan interface{})
    	logChLock    = sync.Mutex{}
    )
    
    // Config http logger target
    type Config struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 25 16:44:20 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  5. cmd/object-lambda-handlers.go

    	"Proxy Authentication Required":   http.StatusProxyAuthRequired,
    	"Request Timeout":                 http.StatusRequestTimeout,
    	"Conflict":                        http.StatusConflict,
    	"Gone":                            http.StatusGone,
    	"Length Required":                 http.StatusLengthRequired,
    	"Precondition Failed":             http.StatusPreconditionFailed,
    	"Request Entity Too Large":        http.StatusRequestEntityTooLarge,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Sep 15 04:58:17 GMT 2023
    - 10.2K bytes
    - Viewed (1)
Back to top