Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 141 for hsts (0.2 sec)

  1. cmd/generic-handlers.go

    	}
    	// Date header missing.
    	return time.Time{}, ErrMissingDateHeader
    }
    
    func hasBadHost(host string) error {
    	if globalIsCICD && strings.TrimSpace(host) == "" {
    		// under CI/CD test setups ignore empty hosts as invalid hosts
    		return nil
    	}
    	_, err := xnet.ParseHost(host)
    	return err
    }
    
    // Check if the incoming path has bad path components,
    // such as ".." and "."
    func hasBadPathComponent(path string) bool {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 20.7K bytes
    - Viewed (1)
  2. cmd/sts-handlers.go

    	return nil
    }
    
    // stsAPIHandlers implements and provides http handlers for AWS STS API.
    type stsAPIHandlers struct{}
    
    // registerSTSRouter - registers AWS STS compatible APIs.
    func registerSTSRouter(router *mux.Router) {
    	// Initialize STS.
    	sts := &stsAPIHandlers{}
    
    	// STS Router
    	stsRouter := router.NewRoute().PathPrefix(SlashSeparator).Subrouter()
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 36.6K bytes
    - Viewed (0)
  3. cmd/sts-handlers_test.go

    			AccessKey: "dillon",
    			SecretKey: "dillon-123",
    			Location:  "",
    		},
    	}
    
    	value, err := assumeRole.Retrieve()
    	if err != nil {
    		c.Fatalf("Expected to generate STS creds, got err: %#v", err)
    	}
    
    	// Check that the LDAP sts cred is actually working.
    	minioClient, err := minio.New(s.endpoint, &minio.Options{
    		Creds:     cr.NewStaticV4(value.AccessKeyID, value.SecretAccessKey, value.SessionToken),
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 100.2K bytes
    - Viewed (1)
  4. cmd/sts-errors.go

    	},
    	ErrSTSNotInitialized: {
    		Code:           "STSNotInitialized",
    		Description:    "STS API not initialized, please try again.",
    		HTTPStatusCode: http.StatusServiceUnavailable,
    	},
    	ErrSTSIAMNotInitialized: {
    		Code:           "STSIAMNotInitialized",
    		Description:    "STS IAM not initialized, please try again.",
    		HTTPStatusCode: http.StatusServiceUnavailable,
    	},
    	ErrSTSUpstreamError: {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Feb 05 00:29:41 UTC 2025
    - 6K bytes
    - Viewed (1)
  5. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java

                    final SearchHit[] hits = response.getHits().getHits();
                    if (hits.length == 0) {
                        break;
                    }
    
                    count += hits.length;
                    final BulkResponse bulkResponse = get(c -> {
                        final BulkRequestBuilder bulkRequest = client.prepareBulk();
                        for (final SearchHit hit : hits) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Aug 31 05:32:52 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

        protected Client createHttpClient(final FessConfig fessConfig, final String host) {
            final String[] hosts =
                    split(host, ",").get(stream -> stream.map(String::trim).filter(StringUtil::isNotEmpty).toArray(n -> new String[n]));
            final Builder builder = Settings.builder()
                    .putList("http.hosts", hosts)
                    .put("processors", fessConfig.availableProcessors())
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 121.9K bytes
    - Viewed (0)
  7. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/util/OpenSearchResultList.java

        private static final long serialVersionUID = 1L;
    
        /**
         * Total number of hits.
         */
        private long totalHits;
    
        /**
         * Time taken for the search in milliseconds.
         */
        private long tookInMillis;
    
        /**
         * Sets the total number of hits.
         * @param totalHits The total number of hits.
         */
        public void setTotalHits(final long totalHits) {
            this.totalHits = totalHits;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestResponse.java

         * Returns the number of suggested words.
         * @return The number of words.
         */
        public int getNum() {
            return num;
        }
    
        /**
         * Returns the total number of hits.
         * @return The total number of hits.
         */
        public long getTotal() {
            return total;
        }
    
        /**
         * Returns the list of suggested items.
         * @return The list of items.
         */
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/ConfigTest.java

        void testGetInetAddressArray() throws UnknownHostException {
            testProperties.setProperty("test.hosts", "localhost,127.0.0.1");
            InetAddress[] defaultArray = { InetAddress.getByName("0.0.0.0") };
    
            InetAddress[] result = Config.getInetAddressArray(testProperties, "test.hosts", ",", defaultArray);
            assertEquals(2, result.length);
            assertEquals(InetAddress.getByName("localhost"), result[0]);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/opensearch/client/CrawlerEngineClient.java

            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final String[] hosts =
                    split(address, ",").get(stream -> stream.map(String::trim).filter(StringUtil::isNotEmpty).toArray(n -> new String[n]));
            final Builder builder = Settings.builder()
                    .putList("http.hosts", hosts)
                    .put("processors", fessConfig.getCrawlerHttpProcessors())
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 2.6K bytes
    - Viewed (0)
Back to top