Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 98 for errorCodes (0.1 sec)

  1. cmd/api-router.go

    func getHost(r *http.Request) string {
    	if r.URL.IsAbs() {
    		return r.URL.Host
    	}
    	return r.Host
    }
    
    func notImplementedHandler(w http.ResponseWriter, r *http.Request) {
    	writeErrorResponse(r.Context(), w, errorCodes.ToAPIErr(ErrNotImplemented), r.URL)
    }
    
    type rejectedAPI struct {
    	api     string
    	methods []string
    	queries []string
    	path    string
    }
    
    var rejectedObjAPIs = []rejectedAPI{
    	{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 15:25:16 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  2. cmd/admin-router.go

    		if !handlerFlags.Has(noObjLayerFlag) {
    			objectAPI := newObjectLayerFn()
    			if objectAPI == nil || globalNotificationSys == nil {
    				writeErrorResponseJSON(r.Context(), w, errorCodes.ToAPIErr(ErrServerNotInitialized), r.URL)
    				return
    			}
    		}
    
    		// Apply http tracing "middleware" based on presence of flag.
    		var f2 http.HandlerFunc
    		if handlerFlags.Has(traceAllFlag) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 21 11:35:40 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  3. cmd/sts-handlers.go

    	if apiErrCode != ErrNone {
    		stsErr := apiToSTSError(apiErrCode)
    		// Borrow the description error from the API error code
    		writeSTSErrorResponse(ctx, w, stsErr, errors.New(errorCodes[apiErrCode].Description))
    		return
    	}
    
    	if err := claims.populateSessionPolicy(r.Form); err != nil {
    		writeSTSErrorResponse(ctx, w, ErrSTSInvalidParameterValue, err)
    		return
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 01:29:20 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  4. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/http2/ErrorCode.kt

     * limitations under the License.
     */
    package okhttp3.internal.http2
    
    /** http://tools.ietf.org/html/draft-ietf-httpbis-http2-17#section-7 */
    enum class ErrorCode constructor(val httpCode: Int) {
      /** Not an error!  */
      NO_ERROR(0),
    
      PROTOCOL_ERROR(1),
    
      INTERNAL_ERROR(2),
    
      FLOW_CONTROL_ERROR(3),
    
      SETTINGS_TIMEOUT(4),
    
      STREAM_CLOSED(5),
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/netbios/NbtException.java

                    result += "Unknown error code: " + errorCode;
                }
                break;
            default:
                result += "unknown error class: " + errorClass;
            }
            return result;
        }
    
    
        public NbtException ( int errorClass, int errorCode ) {
            super(getErrorString(errorClass, errorCode));
            this.errorClass = errorClass;
            this.errorCode = errorCode;
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/netbios/NbtException.java

        public int errorClass;
        public int errorCode;
    
        public static String getErrorString( int errorClass, int errorCode ) {
            String result = "";
            switch( errorClass ) {
                case SUCCESS:
                    result += "SUCCESS";
                    break;
                case ERR_NAM_SRVC:
                    result += "ERR_NAM_SRVC/";
                    switch( errorCode ) {
                        case FMT_ERR:
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 3.9K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/http2/StreamResetException.kt

    import java.io.IOException
    
    /** Thrown when an HTTP/2 stream is canceled without damage to the socket that carries it. */
    class StreamResetException(
      @JvmField val errorCode: ErrorCode,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 869 bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/http2/BaseTestHandler.kt

        inFinished: Boolean,
        streamId: Int,
        associatedStreamId: Int,
        headerBlock: List<Header>,
      ) {
        fail("")
      }
    
      override fun rstStream(
        streamId: Int,
        errorCode: ErrorCode,
      ) {
        fail("")
      }
    
      override fun settings(
        clearPrevious: Boolean,
        settings: Settings,
      ) {
        fail("")
      }
    
      override fun ackSettings() {
        fail("")
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

        }
        connection.writeSynResetLater(id, errorCode)
      }
    
      /** Returns true if this stream was closed. */
      private fun closeInternal(
        errorCode: ErrorCode,
        errorException: IOException?,
      ): Boolean {
        lock.assertNotHeld()
    
        this.withLock {
          if (this.errorCode != null) {
            return false
          }
          this.errorCode = errorCode
          this.errorException = errorException
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 23.2K bytes
    - Viewed (0)
Back to top