Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for errorCode (0.32 sec)

  1. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

        mockWebServer: MockWebServer,
      ) {
        setUp(protocol, mockWebServer)
        noRecoveryFromErrorWithRetryDisabled(ErrorCode.CANCEL)
      }
    
      private fun noRecoveryFromErrorWithRetryDisabled(errorCode: ErrorCode?) {
        server.enqueue(
          MockResponse(socketPolicy = ResetStreamAtStart(errorCode!!.httpCode)),
        )
        server.enqueue(MockResponse(body = "abc"))
        client =
          client.newBuilder()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        connection.newStream(headerEntries("b", "banana"), false)
    
        // Verify the peer received what was expected.
        assertThat(peer.takeFrame().type).isEqualTo(Http2.TYPE_HEADERS)
        assertThat(peer.takeFrame().errorCode).isEqualTo(ErrorCode.PROTOCOL_ERROR)
      }
    
      @Test fun pushPromiseStreamsAutomaticallyCancel() {
        // Write the mocking script.
        peer.sendFrame().settings(Settings())
        peer.acceptFrame() // ACK
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 75.4K bytes
    - Viewed (0)
  3. src/regexp/syntax/parse.go

    	ErrMissingBracket        ErrorCode = "missing closing ]"
    	ErrMissingParen          ErrorCode = "missing closing )"
    	ErrMissingRepeatArgument ErrorCode = "missing argument to repetition operator"
    	ErrTrailingBackslash     ErrorCode = "trailing backslash at end of expression"
    	ErrUnexpectedParen       ErrorCode = "unexpected )"
    	ErrNestingDepth          ErrorCode = "expression nests too deeply"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 13:59:01 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

            } else {
                final String errorCode = UUID.randomUUID().toString();
                message = escapeJsonKeyValue("error_code:", errorCode);
                if (logger.isDebugEnabled()) {
                    logger.debug("[{}] {}", errorCode, stacktraceString.get().replace("\n", "\\n"));
                } else {
                    logger.warn("[{}] {}", errorCode, t.getMessage());
                }
            }
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 02:17:23 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTransportImpl.java

                    throw new IOException("Invalid payload size: " + size);
                }
                int errorCode = Encdec.dec_uint32le(buffer, 9) & 0xFFFFFFFF;
                if ( resp.getCommand() == ServerMessageBlock.SMB_COM_READ_ANDX
                        && ( errorCode == 0 || errorCode == NtStatus.NT_STATUS_BUFFER_OVERFLOW ) ) {
                    // overflow indicator normal for pipe
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
  6. cmd/admin-handlers-users.go

    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrServerNotInitialized), r.URL)
    		return
    	}
    
    	cred, owner, s3Err := validateAdminSignature(ctx, r, "")
    	if s3Err != ErrNone {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(s3Err), r.URL)
    		return
    	}
    
    	accessKey := mux.Vars(r)["accessKey"]
    	if accessKey == "" {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrInvalidRequest), r.URL)
    		return
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 28 17:19:04 UTC 2024
    - 78.6K bytes
    - Viewed (0)
  7. cmd/bucket-handlers.go

    	if errCode != ErrNone {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(errCode), r.URL)
    		return
    	}
    
    	if maxUploads < 0 {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrInvalidMaxUploads), r.URL)
    		return
    	}
    
    	if keyMarker != "" {
    		// Marker not common with prefix is not implemented.
    		if !HasPrefix(keyMarker, prefix) {
    			writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrNotImplemented), r.URL)
    			return
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 61.2K bytes
    - Viewed (0)
  8. cmd/api-errors.go

    				Code:           "MalformedXML",
    				Description:    fmt.Sprintf("%s (%s)", errorCodes[ErrMalformedXML].Description, e),
    				HTTPStatusCode: errorCodes[ErrMalformedXML].HTTPStatusCode,
    			}
    		case url.EscapeError:
    			apiErr = APIError{
    				Code:           "XMinioInvalidObjectName",
    				Description:    fmt.Sprintf("%s (%s)", errorCodes[ErrInvalidObjectName].Description, e),
    				HTTPStatusCode: http.StatusBadRequest,
    			}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 92.1K bytes
    - Viewed (0)
  9. cmd/batch-handlers.go

    		return
    	}
    
    	if _, success := proxyRequestByToken(ctx, w, r, jobID); success {
    		return
    	}
    
    	if err := globalBatchJobPool.canceler(jobID, true); err != nil {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErrWithErr(ErrInvalidRequest, err), r.URL)
    		return
    	}
    
    	j := BatchJobRequest{
    		ID: jobID,
    	}
    
    	j.delete(ctx, objectAPI)
    
    	writeSuccessNoContent(w)
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 56K bytes
    - Viewed (0)
Back to top