Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 122 for http_server (0.39 sec)

  1. platforms/software/version-control/src/testFixtures/groovy/org/gradle/vcs/fixtures/GitHttpRepository.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.vcs.fixtures;
    
    import com.sun.net.httpserver.HttpExchange;
    import org.apache.commons.io.IOUtils;
    import org.eclipse.jgit.api.errors.GitAPIException;
    import org.eclipse.jgit.lib.Ref;
    import org.eclipse.jgit.revwalk.RevCommit;
    import org.gradle.api.Action;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/gateway_simulation_test.go

    						RouteConfigMatched: "http.8081",
    						VirtualHostMatched: "example.com:8081",
    					},
    				},
    			},
    		})
    }
    
    func TestHTTPGateway(t *testing.T) {
    	httpServer := `port:
      number: 80
      name: http
      protocol: HTTP
    hosts:
    - "foo.bar"`
    	simpleRoute := `apiVersion: networking.istio.io/v1alpha3
    kind: VirtualService
    metadata:
      name: vs
    spec:
      hosts:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 10 18:27:40 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/ExpectMethod.java

     * limitations under the License.
     */
    
    package org.gradle.test.fixtures.server.http;
    
    import com.google.common.base.Charsets;
    import com.google.common.io.Files;
    import com.sun.net.httpserver.HttpExchange;
    import org.gradle.test.fixtures.server.http.BlockingHttpServer.BlockingRequest;
    import org.gradle.test.fixtures.server.http.BlockingHttpServer.BuildableExpectedRequest;
    import org.hamcrest.Matcher;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  4. src/net/http/http_test.go

    	}
    	wantSym := map[string]bool{
    		// Verify these exist: (sanity checking this test)
    		"net/http.(*Client).do":           true,
    		"net/http.(*Transport).RoundTrip": true,
    
    		// Verify these don't exist:
    		"net/http.http2Server":           false,
    		"net/http.(*Server).Serve":       false,
    		"net/http.(*ServeMux).ServeHTTP": false,
    		"net/http.DefaultServeMux":       false,
    	}
    	for sym, want := range wantSym {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 18:18:19 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  5. doc/godebug.md

    The environment variable `GODEBUG`
    can hold a comma-separated list of these settings.
    For example, if a Go program is running in an environment that contains
    
    	GODEBUG=http2client=0,http2server=0
    
    then that Go program will disable the use of HTTP/2 by default in both
    the HTTP client and the HTTP server.
    It is also possible to set the default `GODEBUG` for a given program
    (discussed below).
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  6. pkg/registry/core/componentstatus/rest_test.go

    	prober := &fakeHttpProber{
    		result: resp.result,
    		body:   resp.data,
    		err:    resp.err,
    	}
    	return &REST{
    		GetServersToValidate: func() map[string]Server {
    			return map[string]Server{
    				"test1": &HttpServer{Addr: "testserver1", Port: 8000, Path: "/healthz", Prober: prober},
    			}
    		},
    	}
    }
    
    func createTestStatus(name string, status api.ConditionStatus, msg string, err string) *api.ComponentStatus {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 13 08:10:29 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  7. samples/bookinfo/src/details/details.rb

    require 'webrick'
    require 'json'
    require 'net/http'
    
    if ARGV.length < 1 then
        puts "usage: #{$PROGRAM_NAME} port"
        exit(-1)
    end
    
    port = Integer(ARGV[0])
    
    server = WEBrick::HTTPServer.new(
        :BindAddress => '*',
        :Port => port,
        :AcceptCallback => -> (s) { s.setsockopt(Socket::IPPROTO_TCP, Socket::TCP_NODELAY, 1) },
    )
    
    trap 'INT' do server.shutdown end
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 14:35:54 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. platforms/jvm/jacoco/src/test/groovy/org/gradle/testing/jacoco/plugins/JacocoPluginSpec.groovy

                includeNoLocationClasses = includeNoLocationClassesValue
                sessionId = 'testSession'
                dumpOnExit = false
                output = JacocoTaskExtension.Output.TCP_SERVER
                address = '1.1.1.1'
                port = 100
                classDumpDir = project.file('build/jacoco-dump')
                jmx = true
            }
    
            def expected = new StringBuilder().with { builder ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 23:19:29 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  9. platforms/jvm/jacoco/src/test/groovy/org/gradle/testing/jacoco/plugins/JacocoTaskExtensionSpec.groovy

                includeNoLocationClasses = includeNoLocationClassesValue
                sessionId = 'testSession'
                dumpOnExit = false
                output = JacocoTaskExtension.Output.TCP_SERVER
                address = '1.1.1.1'
                port = 100
                classDumpDir = temporaryFolder.file('build/jacoco-dump')
                jmx = true
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 16:03:36 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  10. cmd/server-main.go

    			UseBaseContext(GlobalContext).
    			UseCustomLogger(log.New(io.Discard, "", 0)). // Turn-off random logging by Go stdlib
    			UseTCPOptions(globalTCPOptions)
    
    		httpServer.TCPOptions.Trace = bootstrapTraceMsg
    		go func() {
    			serveFn, err := httpServer.Init(GlobalContext, func(listenAddr string, err error) {
    				bootLogIf(GlobalContext, fmt.Errorf("Unable to listen on `%s`: %v", listenAddr, err))
    			})
    			if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 04 15:12:57 UTC 2024
    - 34.5K bytes
    - Viewed (3)
Back to top