- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for handleRecord (0.1 sec)
-
src/net/http/fcgi/fcgi_test.go
return nil } func TestGetValues(t *testing.T) { var rec record rec.h.Type = typeGetValues wc := new(writeOnlyConn) c := newChild(wc, nil) err := c.handleRecord(&rec) if err != nil { t.Fatalf("handleRecord: %v", err) } const want = "\x01\n\x00\x00\x00\x12\x06\x00" + "\x0f\x01FCGI_MPXS_CONNS1" + "\x00\x00\x00\x00\x00\x00\x01\n\x00\x00\x00\x00\x00\x00"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jul 11 18:51:39 UTC 2023 - 10.6K bytes - Viewed (0) -
src/net/http/fcgi/child.go
} } func (c *child) serve() { defer c.conn.Close() defer c.cleanUp() var rec record for { if err := rec.read(c.conn.rwc); err != nil { return } if err := c.handleRecord(&rec); err != nil { return } } } var errCloseConn = errors.New("fcgi: connection should be closed") var emptyBody = io.NopCloser(strings.NewReader(""))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 10 03:29:50 UTC 2024 - 10.3K bytes - Viewed (0)