Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 572 for HOST (0.21 sec)

  1. cmd/net.go

    func isHostIP(ipAddress string) bool {
    	host, _, err := net.SplitHostPort(ipAddress)
    	if err != nil {
    		host = ipAddress
    	}
    	// Strip off IPv6 zone information.
    	if i := strings.Index(host, "%"); i > -1 {
    		host = host[:i]
    	}
    	return net.ParseIP(host) != nil
    }
    
    // extractHostPort - extracts host/port from many address formats
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jun 19 14:34:00 UTC 2024
    - 9.6K bytes
    - Viewed (1)
  2. src/test/java/org/codelibs/fess/helper/VirtualHostHelperTest.java

                    return new Tuple3[] { new Tuple3<>("Host", "example.com", "site1"), new Tuple3<>("X-Forwarded-Host", "test.com", "site2") };
                }
            });
    
            MockletHttpServletRequest request = getMockRequest();
    
            // No matching host header
            String key = virtualHostHelper.getVirtualHostKey();
            assertEquals("", key);
    
            // Matching host header
            request.addHeader("Host", "example.com");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/duplicatehost/AdminDuplicatehostAction.java

        /**
         * Displays the initial duplicate host management page.
         *
         * @param form the search form
         * @return HTML response for the duplicate host list page
         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse index(final SearchForm form) {
            return asListHtml();
        }
    
        /**
         * Displays the duplicate host list with pagination.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/VirtualHostHelper.java

                return value;
            });
        }
    
        /**
         * Processes virtual host configuration by applying a function to the matched virtual host key.
         *
         * @param <T> The return type of the function
         * @param func The function to apply to the virtual host key
         * @param defaultValue The default value to return if no virtual host matches
         * @return The result of applying the function, or the default value
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/http/conn/IdnDnsResolverTest.java

            IdnDnsResolver resolver = new IdnDnsResolver();
    
            String host = "www.codelibs.org";
            String expected = "www.codelibs.org";
            assertEquals(expected, resolver.toAscii(host));
    
            host = "ใƒ†ใ‚นใƒˆ.org";
            expected = "xn--zckzah.org";
            assertEquals(expected, resolver.toAscii(host));
    
            host = "xn--zckzah.org";
            expected = "xn--zckzah.org";
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/netbios/NbtAddress.java

        public static NbtAddress getByName(final String host, final int type, final String scope) throws UnknownHostException {
    
            return getByName(host, type, scope, null);
        }
    
        /**
         * Determines the address of a host given its host name with a specific server.
         * The additional <code>svr</code> parameter specifies the address to
         * query. This might be the address of a specific host, a name server,
         * or a broadcast address.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.7K bytes
    - Viewed (0)
  7. okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt

          .assertLogMatch(Regex("""dnsStart: ${url.host}"""))
          .assertLogMatch(Regex("""dnsEnd: \[.+]"""))
          .assertLogMatch(Regex("""connectStart: ${url.host}/.+ DIRECT"""))
          .assertLogMatch(Regex("""connectEnd: http/1.1"""))
          .assertLogMatch(
            Regex(
              """connectionAcquired: Connection\{${url.host}:\d+, proxy=DIRECT hostAddress=${url.host}/.+ cipherSuite=none protocol=http/1\.1\}""",
            ),
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  8. mockwebserver/src/test/java/mockwebserver3/MockResponseSniTest.kt

          client.newCall(
            Request(
              url = "https://url-host.com:${server.port}/".toHttpUrl(),
              headers = headersOf("Host", "header-host"),
            ),
          )
        val response = call.execute()
        assertThat(response.isSuccessful).isTrue()
    
        val recordedRequest = server.takeRequest()
        assertThat(recordedRequest.url.host).isEqualTo("header-host")
    
        // https://github.com/bcgit/bc-java/issues/1773
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  9. cmd/net_test.go

    		{":0", "", "0"},
    		{"server:https", "server", "443"},
    		{"server:http", "server", "80"},
    	}
    
    	for _, testCase := range testCases {
    		host, port := mustSplitHostPort(testCase.hostPort)
    		if testCase.expectedHost != host {
    			t.Fatalf("host: expected = %v, got = %v", testCase.expectedHost, host)
    		}
    
    		if testCase.expectedPort != port {
    			t.Fatalf("port: expected = %v, got = %v", testCase.expectedPort, port)
    		}
    	}
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/duplicatehost/ApiAdminDuplicatehostAction.java

    import org.lastaflute.web.Execute;
    import org.lastaflute.web.response.JsonResponse;
    
    import jakarta.annotation.Resource;
    
    /**
     * API action for admin duplicate host management.
     * Provides RESTful API endpoints for managing duplicate host settings in the Fess search engine.
     * Duplicate host settings help prevent indexing the same content from multiple similar URLs.
     *
     */
    public class ApiAdminDuplicatehostAction extends FessApiAdminAction {
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 8.3K bytes
    - Viewed (0)
Back to top