Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 982 for Framed (0.19 sec)

  1. okhttp/src/main/kotlin/okhttp3/Protocol.kt

     * https, etc.) of the URL, not the protocol (http/1.1, spdy/3.1, etc.). OkHttp uses the word
     * *protocol* to identify how HTTP messages are framed.
     *
     * [ietf_alpn]: http://tools.ietf.org/html/draft-ietf-tls-applayerprotoneg
     */
    enum class Protocol(private val protocol: String) {
      /**
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 06 04:17:33 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/util/proxy/doc.go

    // SPDY connection.
    //
    // The stream tunnel proxy tunnels SPDY frames through a WebSocket
    // connection, and it is used for the PortForward subprotocol (e.g.
    // kubectl port-forward). This proxy implements tunneling by transparently
    // encoding and decoding SPDY framed data into and out of the payload of a
    // WebSocket data frame. The primary structure for this tunneling is
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 17:56:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. docs/contribute/concurrency.md

    Blocking APIs may be inefficient because you hold a thread idle while waiting on the network. Threads are expensive because they have both a memory overhead and a context-switching overhead.
    
    #### Framed protocols
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Feb 06 16:35:36 UTC 2022
    - 7K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/http2/Http2Test.kt

        writeMedium(frame, (headerBlock.size / 2).toInt() + paddingLength + 1)
        frame.writeByte(Http2.TYPE_HEADERS)
        frame.writeByte(FLAG_PADDED)
        frame.writeInt(expectedStreamId and 0x7fffffff)
        frame.writeByte(paddingLength)
        frame.write(headerBlock, headerBlock.size / 2)
        frame.write(padding)
    
        // Write the continuation frame, specifying no more frames are expected.
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/util/proxy/streamtunnel.go

    }
    
    // ServeHTTP uses the upgradeHandler to tunnel between a downstream tunneling
    // connection and an upstream SPDY connection. The tunneling connection is
    // a wrapped WebSockets connection which communicates SPDY framed data. In the
    // case the upstream upgrade fails, we delegate communication to the passed
    // in "w" ResponseWriter.
    func (h *TunnelingHandler) ServeHTTP(w http.ResponseWriter, req *http.Request) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 19:10:30 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/util/framer/framer.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    // Package framer implements simple frame decoding techniques for an io.ReadCloser
    package framer
    
    import (
    	"encoding/binary"
    	"encoding/json"
    	"io"
    )
    
    type lengthDelimitedFrameWriter struct {
    	w io.Writer
    	h [4]byte
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 13:33:12 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  7. docs/changelogs/changelog_3x.md

     *  New: Support the `immutable` cache-control directive.
     *  Fix: Don't crash when an HTTP/2 call is redirected while the connection is
        being shut down.
     *  Fix: Don't drop headers of healthy streams that raced with `GOAWAY` frames.
        This bug would cause HTTP/2 streams to occasional hang when the connection
        was shutting down.
     *  Fix: Honor `OkHttpClient.retryOnConnectionFailure()` when the response is a
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/streaming/streaming_test.go

    		t.Fatal(err)
    	}
    }
    
    func TestDecoder(t *testing.T) {
    	frames := [][]byte{
    		make([]byte, 1025),
    		make([]byte, 1024*5),
    		make([]byte, 1024*1024*17),
    		make([]byte, 1025),
    	}
    	pr, pw := io.Pipe()
    	fw := framer.NewLengthDelimitedFrameWriter(pw)
    	go func() {
    		for i := range frames {
    			fw.Write(frames[i])
    		}
    		pw.Close()
    	}()
    
    	r := framer.NewLengthDelimitedFrameReader(pr)
    	d := &fakeDecoder{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 14 11:43:39 UTC 2018
    - 2.2K bytes
    - Viewed (0)
  9. src/net/http/h2_bundle.go

    	}, nil
    }
    
    // A Frame is the base interface implemented by all frame types.
    // Callers will generally type-assert the specific frame type:
    // *HeadersFrame, *SettingsFrame, *WindowUpdateFrame, etc.
    //
    // Frames are only valid until the next call to Framer.ReadFrame.
    type http2Frame interface {
    	Header() http2FrameHeader
    
    	// invalidate is called by Framer.ReadFrame to make this
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 364.1K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/named.go

    //
    // GLOSSARY: Here are a few terms used in this file to describe Named types:
    //  - We say that a Named type is "instantiated" if it has been constructed by
    //    instantiating a generic named type with type arguments.
    //  - We say that a Named type is "declared" if it corresponds to a type
    //    declaration in the source. Instantiated named types correspond to a type
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 23.9K bytes
    - Viewed (0)
Back to top