- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 117 for http2Server (0.23 sec)
-
samples/extauthz/cmd/extauthz/main.go
log.Fatalf("Failed to create HTTP server: %v", err) } // Store the port for test only. s.httpPort <- listener.Addr().(*net.TCPAddr).Port s.httpServer = &http.Server{Handler: s} log.Printf("Starting HTTP server at %s", listener.Addr()) if err := s.httpServer.Serve(listener); err != nil { log.Fatalf("Failed to start HTTP server: %v", err) } } func (s *ExtAuthzServer) run(httpAddr, grpcAddr string) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Feb 15 18:23:48 UTC 2024 - 10.4K bytes - Viewed (0) -
platforms/jvm/language-java/src/integTest/groovy/org/gradle/jvm/toolchain/JavaToolchainDownloadSpiAuthenticationIntegrationTest.groovy
*/ package org.gradle.jvm.toolchain import org.gradle.integtests.fixtures.AbstractIntegrationSpec import org.gradle.test.fixtures.file.TestFile import org.gradle.test.fixtures.server.http.HttpServer import org.junit.Rule import static JavaToolchainDownloadUtil.applyToolchainResolverPlugin import static JavaToolchainDownloadUtil.singleUrlResolverCode
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 06:41:25 UTC 2024 - 6.2K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/plugin/plugin.go
Sym Symbolizer Obj ObjTool UI UI // HTTPServer is a function that should block serving http requests, // including the handlers specified in args. If non-nil, pprof will // invoke this function if necessary to provide a web interface. // // If HTTPServer is nil, pprof will use its own internal HTTP server. // // A common use for a custom HTTPServer is to provide custom // authentication checks.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 7.9K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/ResponseProducer.java
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.test.fixtures.server.http; import com.sun.net.httpserver.HttpExchange; import java.io.IOException; interface ResponseProducer { default boolean isFailure() { return false; } /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.1K bytes - Viewed (0) -
internal/http/server.go
return srv } // NewServer - creates new HTTP server using given arguments. func NewServer(addrs []string) *Server { httpServer := &Server{ Addrs: addrs, } // This is not configurable for now. httpServer.MaxHeaderBytes = DefaultMaxHeaderBytes return httpServer } // SetMinIOVersion -- MinIO version from the main package is set here func SetMinIOVersion(version string) {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Feb 09 21:25:16 UTC 2024 - 7.7K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/MavenHttpArtifact.groovy
import org.gradle.test.fixtures.maven.MavenFileModule class MavenHttpArtifact extends HttpArtifact { private final MavenFileModule backingModule private final ModuleArtifact backingArtifact MavenHttpArtifact(HttpServer server, String rootUrl, MavenFileModule backingModule, ModuleArtifact backingArtifact) { super(server, rootUrl) this.backingArtifact = backingArtifact this.backingModule = backingModule; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.8K bytes - Viewed (0) -
pkg/kubelet/prober/scale_test.go
// newFakePod runs a server (TCP or HTTP) in a random port func newFakePod(httpServer bool) (*fakePod, error) { ln, err := net.Listen("tcp", "127.0.0.1:0") if err != nil { return nil, fmt.Errorf("failed to bind: %v", err) } f := &fakePod{ln: ln, http: httpServer} // spawn an http server or a TCP server that counts the number of connections received if httpServer { var mu sync.Mutex visitors := map[string]struct{}{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 16 16:33:01 UTC 2023 - 8.2K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheMavenPublishIntegrationTest.groovy
import static org.gradle.util.internal.GFileUtils.listFiles class ConfigurationCacheMavenPublishIntegrationTest extends AbstractConfigurationCacheIntegrationTest { @Rule public final HttpServer server = new HttpServer() def setup() { buildFile """ // TODO - use public APIs when available import org.gradle.api.internal.attributes.* import org.gradle.api.internal.component.*
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 13.6K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/AbstractFailure.java
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.test.fixtures.server.http; import com.sun.net.httpserver.HttpExchange; abstract class AbstractFailure implements ResponseProducer, Failure { private final RuntimeException failure; public AbstractFailure(RuntimeException failure) { this.failure = failure;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.5K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/ExpectMethodAndRunAction.java
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.test.fixtures.server.http; import com.sun.net.httpserver.HttpExchange; import org.gradle.api.Action; class ExpectMethodAndRunAction implements ResourceHandler, BlockingHttpServer.ExpectedRequest, ResourceExpectation { private final String method;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.5K bytes - Viewed (0)