- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 122 for http_server (0.27 sec)
-
src/internal/godebug/godebug.go
// opt back in to the original. For example GODEBUG=http2server=0 disables // HTTP/2 support in the net/http server. // // In typical usage, code should declare a Setting as a global // and then call Value each time the current setting value is needed: // // var http2server = godebug.New("http2server") // // func ServeConn(c net.Conn) { // if http2server.Value() == "0" { // disallow HTTP/2 // ... // } // ...
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Mar 09 14:19:39 UTC 2024 - 9.4K 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) -
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) -
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) -
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) -
platforms/software/version-control/src/integTest/groovy/org/gradle/vcs/internal/GitVersionSelectionIntegrationTest.groovy
@Rule BlockingHttpServer httpServer = new BlockingHttpServer() @Rule GitHttpRepository repo = new GitHttpRepository(httpServer, 'dep', temporaryFolder.getTestDirectory()) TestFile repoSettingsFile def fixture = new ResolveTestFixture(buildFile, "compile") def setup() { httpServer.start() settingsFile << """ rootProject.name = 'consumer'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 02 20:50:18 UTC 2024 - 14.3K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheDependencyResolutionIntegrationTest.groovy
import org.gradle.test.fixtures.server.http.HttpServer import org.gradle.test.fixtures.server.http.MavenHttpRepository import org.junit.Rule import spock.lang.Issue class ConfigurationCacheDependencyResolutionIntegrationTest extends AbstractConfigurationCacheIntegrationTest implements ArtifactTransformTestFixture { @Rule HttpServer httpServer = new HttpServer()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 54.1K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/HttpDirectoryResource.groovy
import org.gradle.test.fixtures.file.TestFile class HttpDirectoryResource extends AbstractHttpResource { final String path private final TestFile directory HttpDirectoryResource(HttpServer server, String path, TestFile directory) { super(server) this.directory = directory this.path = path this.server = server } @Override public void expectGet() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.2K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/RepositoryHttpServer.groovy
import org.gradle.test.fixtures.server.RepositoryServer import org.gradle.util.GradleVersion import static org.gradle.test.matchers.UserAgentMatcher.matchesNameAndVersion class RepositoryHttpServer extends HttpServer implements RepositoryServer { private TestDirectoryProvider testDirectoryProvider private String gradleVersion RepositoryHttpServer(TestDirectoryProvider testDirectoryProvider) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.5K bytes - Viewed (0)