MCPcopy Create free account
hub / github.com/Moopinger/smugglefuzz / SendCustomFrame

Function SendCustomFrame

lib/http2.go:331–342  ·  view source on GitHub ↗
(frame []byte, conn *tls.Conn)

Source from the content-addressed store, hash-verified

329}
330
331func SendCustomFrame(frame []byte, conn *tls.Conn) error {
332
333 if conn == nil {
334 return fmt.Errorf("connection is nil")
335 }
336
337 _, err := conn.Write(frame)
338 if err != nil {
339 return err
340 }
341 return nil
342}
343
344func sendMagicReq(conn *tls.Conn) error {
345

Callers 3

scan.goFile · 0.92
request.goFile · 0.92
EstablishH2ConnectionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected