- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 119 for http2server (0.21 sec)
-
cmd/signals.go
os.Exit(0) } os.Exit(1) } stopProcess := func() bool { // send signal to various go-routines that they need to quit. cancelGlobalContext() if httpServer := newHTTPServerFn(); httpServer != nil { if err := httpServer.Shutdown(); err != nil && !errors.Is(err, http.ErrServerClosed) { shutdownLogIf(context.Background(), err) } } if objAPI := newObjectLayerFn(); objAPI != nil {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 01 17:57:52 UTC 2024 - 2.8K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/resource/BrokenTextResourceIntegrationTest.groovy
import org.gradle.test.fixtures.server.http.HttpServer import org.junit.Rule import static org.gradle.integtests.fixtures.ToBeFixedForConfigurationCache.Skip.INVESTIGATE class BrokenTextResourceIntegrationTest extends AbstractIntegrationSpec { @Rule public final HttpServer server = new HttpServer() def setup() { buildFile << """ class TextTask extends DefaultTask {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 2.9K bytes - Viewed (0) -
security/pkg/k8s/chiron/utils_test.go
server1 := newMockTLSServer(t) defer server1.httpServer.Close() server2 := newMockTLSServer(t) defer server2.httpServer.Close() host := "127.0.0.1" port1, err := getServerPort(server1.httpServer) if err != nil { t.Fatalf("error to get the server 1 port: %v", err) } port2, err := getServerPort(server2.httpServer) if err != nil { t.Fatalf("error to get the server 2 port: %v", err)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 15 03:58:11 UTC 2024 - 13K bytes - Viewed (0) -
platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/IvyPublishHttpsIntegTest.groovy
import org.gradle.test.fixtures.server.http.HttpServer import org.gradle.test.fixtures.server.http.IvyHttpModule import org.gradle.test.fixtures.server.http.IvyHttpRepository import org.junit.Rule class IvyPublishHttpsIntegTest extends AbstractIvyPublishIntegTest { TestKeyStore keyStore @Rule public final HttpServer server = new HttpServer() IvyHttpRepository ivyRemoteRepo IvyHttpModule module
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 14:02:46 UTC 2023 - 4.4K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/driver/driver.go
obj = &internalObjTool{o.Obj} } var sym plugin.Symbolizer if o.Sym != nil { sym = &internalSymbolizer{o.Sym} } var httpServer func(args *plugin.HTTPServerArgs) error if o.HTTPServer != nil { httpServer = func(args *plugin.HTTPServerArgs) error { return o.HTTPServer(((*HTTPServerArgs)(args))) } } return &plugin.Options{ Writer: o.Writer, Flagset: o.Flagset, Fetch: o.Fetch,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 9.8K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/BlockingHttpServer.java
* limitations under the License. */ package org.gradle.test.fixtures.server.http; import com.sun.net.httpserver.BasicAuthenticator; import com.sun.net.httpserver.HttpContext; import com.sun.net.httpserver.HttpExchange; import com.sun.net.httpserver.HttpServer; import org.gradle.api.Action; import org.gradle.internal.ErroringAction; import org.gradle.internal.work.WorkerLeaseService;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 21.7K bytes - Viewed (0) -
security/pkg/credentialfetcher/plugin/mock.go
} // StartMetadataServer starts a mock GCE metadata server. func StartMetadataServer() (*MetadataServer, error) { ms := &MetadataServer{} httpServer := httptest.NewServer(http.HandlerFunc(ms.getToken)) ms.server = httpServer url, err := url.Parse(httpServer.URL) if err != nil { return nil, fmt.Errorf("parse URL failed: %v", err) } if err := os.Setenv("GCE_METADATA_HOST", url.Host); err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 3K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/IvyHttpModule.groovy
public final IvyHttpRepository repository private final IvyFileModule backingModule private final HttpServer server private final String repoPrefix private final String prefix IvyHttpModule(IvyHttpRepository repository, HttpServer server, String repoPrefix, String prefix, IvyFileModule backingModule) { super(backingModule) this.repository = repository
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 4.2K bytes - Viewed (0) -
platforms/software/version-control/src/integTest/groovy/org/gradle/vcs/internal/AbstractSourceDependencyMultiprojectIntegrationTest.groovy
@Rule BlockingHttpServer httpServer = new BlockingHttpServer() @Rule GitHttpRepository repo = new GitHttpRepository(httpServer, "repo", testDirectory) @Rule GitHttpRepository repo2 = new GitHttpRepository(httpServer, "repo2", testDirectory) BuildTestFile buildB void mappingFor(GitHttpRepository gitRepo, String coords) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 02 20:50:18 UTC 2024 - 8.1K bytes - Viewed (0) -
platforms/software/resources-gcs/src/integTest/groovy/org/gradle/integtests/resource/gcs/fixtures/GcsServer.groovy
response.outputStream.bytes = httpStub.response.body.call() } } } } private void add(HttpStub httpStub, HttpServer.ActionSupport action) { HttpServer.HttpExpectOne expectation = new HttpServer.HttpExpectOne(action, [httpStub.request.method], httpStub.request.path) expectations << expectation addHandler(new AbstractHandler() { @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 16.7K bytes - Viewed (0)