Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for PUSH_PROMISE (0.15 sec)

  1. src/net/http/h2_bundle.go

    	pp := &http2PushPromiseFrame{
    		http2FrameHeader: fh,
    	}
    	if pp.StreamID == 0 {
    		// PUSH_PROMISE frames MUST be associated with an existing,
    		// peer-initiated stream. The stream identifier of a
    		// PUSH_PROMISE frame indicates the stream it is associated
    		// with. If the stream identifier field specifies the value
    		// 0x0, a recipient MUST respond with a connection error
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 364.1K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

          if (associatedStreamId == 0) {
            writer.headers(outFinished, streamId, requestHeaders)
          } else {
            require(!client) { "client streams shouldn't have associated stream IDs" }
            // HTTP/2 has a PUSH_PROMISE frame.
            writer.pushPromise(associatedStreamId, streamId, requestHeaders)
          }
        }
    
        if (flushHeaders) {
          writer.flush()
        }
    
        return stream
      }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 32.6K bytes
    - Viewed (0)
Back to top