Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 685 for h2transport (5.31 sec)

  1. src/net/http/export_test.go

    	return len(t.idleConnWait)
    }
    
    func (t *Transport) IsIdleForTesting() bool {
    	t.idleMu.Lock()
    	defer t.idleMu.Unlock()
    	return t.closeIdle
    }
    
    func (t *Transport) QueueForIdleConnForTesting() {
    	t.queueForIdleConn(nil)
    }
    
    // PutIdleTestConn reports whether it was able to insert a fresh
    // persistConn for scheme, addr into the idle connection pool.
    func (t *Transport) PutIdleTestConn(scheme, addr string) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 17 21:11:57 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  2. src/net/http/transport.go

    // and the [Transport.MaxIdleConnsPerHost] and [Transport.DisableKeepAlives] fields.
    //
    // Transports should be reused instead of created as needed.
    // Transports are safe for concurrent use by multiple goroutines.
    //
    // A Transport is a low-level primitive for making HTTP and HTTPS requests.
    // For high-level functionality, such as cookies and redirects, see [Client].
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/google/pprof/internal/transport/transport.go

    // limitations under the License.
    
    // Package transport provides a mechanism to send requests with https cert,
    // key, and CA.
    package transport
    
    import (
    	"crypto/tls"
    	"crypto/x509"
    	"fmt"
    	"net/http"
    	"os"
    	"sync"
    
    	"github.com/google/pprof/internal/plugin"
    )
    
    type transport struct {
    	cert       *string
    	key        *string
    	ca         *string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 18:58:12 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/util/transport/Transport.java

         * and the transport will be in error.
         */
    
        protected abstract void doConnect() throws Exception;
    
        /* Tear down a connection. If the hard parameter is true, the diconnection
         * procedure should not initiate or wait for any outstanding requests on
         * this transport.
         */
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/transport/Transport.java

                try {
                    log.debug("Interrupting transport thread");
                    t.interrupt();
                    log.debug("Joining transport thread");
                    t.join(timeout);
                    log.debug("Joined transport thread");
                }
                catch ( InterruptedException e ) {
                    throw new TransportException("Failed to join transport thread", e);
                }
            }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Nov 01 18:12:21 UTC 2020
    - 24.1K bytes
    - Viewed (0)
  6. pkg/kubelet/certificate/transport.go

    	"k8s.io/client-go/util/connrotation"
    )
    
    // UpdateTransport instruments a restconfig with a transport that dynamically uses
    // certificates provided by the manager for TLS client auth.
    //
    // The config must not already provide an explicit transport.
    //
    // The returned function allows forcefully closing all active connections.
    //
    // The returned transport periodically checks the manager to determine if the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 08 13:57:45 UTC 2022
    - 6.5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/util/proxy/transport.go

    	// TODO: css URLs hidden in style elements.
    }
    
    // Transport is a transport for text/html content that replaces URLs in html
    // content with the prefix of the proxy server
    type Transport struct {
    	Scheme      string
    	Host        string
    	PathPrepend string
    
    	http.RoundTripper
    }
    
    // RoundTrip implements the http.RoundTripper interface
    func (t *Transport) RoundTrip(req *http.Request) (*http.Response, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 10 07:29:34 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/Transport.java

    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * Transport for specified remote repository (using provided remote repository base URI as root). Must be treated as a
     * resource, best in try-with-resource block.
     *
     * @since 4.0.0
     */
    @Experimental
    @Consumer
    public interface Transport extends Closeable {
        /**
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  9. internal/config/subnet/config.go

    	cfg.Proxy = proxy
    
    	if transport == nil {
    		// when transport is nil, it means we are just validating the
    		// inputs not performing any network calls.
    		return cfg, nil
    	}
    
    	// Make sure to clone the transport before editing the ProxyURL
    	if proxyURL != nil {
    		ctransport := transport.(*http.Transport).Clone()
    		ctransport.Proxy = http.ProxyURL((*url.URL)(proxyURL))
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  10. internal/logger/target/http/http.go

    	// If proxy available, set the same
    	if h.config.Proxy != "" {
    		proxyURL, _ := url.Parse(h.config.Proxy)
    		transport := h.config.Transport
    		ctransport := transport.(*http.Transport).Clone()
    		ctransport.Proxy = http.ProxyURL(proxyURL)
    		h.config.Transport = ctransport
    	}
    
    	h.client = &http.Client{Transport: h.config.Transport}
    	return h, nil
    }
    
    // SendFromStore - reads the log from store and sends it to webhook.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Jun 02 03:03:39 UTC 2024
    - 14.9K bytes
    - Viewed (0)
Back to top