Home
last modified time | relevance | path

Searched refs:bodyBytes (Results 1 – 2 of 2) sorted by relevance

/external/syzkaller/vendor/golang.org/x/net/http2/
Dserver.go537 bodyBytes int64 // body bytes seen so far member
1609 if st.declBodyBytes != -1 && st.bodyBytes+int64(len(data)) > st.declBodyBytes {
1631 st.bodyBytes += int64(len(data))
1672 if st.declBodyBytes != -1 && st.declBodyBytes != st.bodyBytes {
1674 st.declBodyBytes, st.bodyBytes))
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DURLConnectionTest.java1189 Buffer bodyBytes = gzip("ABCDEFGHIJKLMNOPQRSTUVWXYZ"); in clientConfiguredGzipContentEncoding() local
1191 .setBody(bodyBytes) in clientConfiguredGzipContentEncoding()
1198 assertEquals(bodyBytes.size(), connection.getContentLength()); in clientConfiguredGzipContentEncoding()