Lines Matching refs:hdbuf
1861 char *hdbuf = (char *)mem; in http2_send() local
1922 if(hdbuf[i] == '\n' && hdbuf[i - 1] == '\r') { in http2_send()
1942 line_end = memchr(hdbuf, '\r', len); in http2_send()
1947 end = memchr(hdbuf, ' ', line_end - hdbuf); in http2_send()
1948 if(!end || end == hdbuf) in http2_send()
1952 nva[0].value = (unsigned char *)hdbuf; in http2_send()
1953 nva[0].valuelen = (size_t)(end - hdbuf); in http2_send()
1960 hdbuf = end + 1; in http2_send()
1964 for(i = (size_t)(line_end - hdbuf); i; --i) { in http2_send()
1965 if(hdbuf[i - 1] == ' ') { in http2_send()
1966 end = &hdbuf[i - 1]; in http2_send()
1970 if(!end || end == hdbuf) in http2_send()
1974 nva[1].value = (unsigned char *)hdbuf; in http2_send()
1975 nva[1].valuelen = (size_t)(end - hdbuf); in http2_send()
2000 hdbuf = line_end + 2; in http2_send()
2004 line_end = memchr(hdbuf, '\r', len - (hdbuf - (char *)mem)); in http2_send()
2005 if(!line_end || (line_end == hdbuf)) in http2_send()
2009 if(*hdbuf == ' ' || *hdbuf == '\t') in http2_send()
2012 for(end = hdbuf; end < line_end && *end != ':'; ++end) in http2_send()
2014 if(end == hdbuf || end == line_end) in http2_send()
2016 hlen = end - hdbuf; in http2_send()
2018 if(hlen == 4 && strncasecompare("host", hdbuf, 4)) { in http2_send()
2024 nva[i].name = (unsigned char *)hdbuf; in http2_send()
2025 nva[i].namelen = (size_t)(end - hdbuf); in http2_send()
2027 hdbuf = end + 1; in http2_send()
2028 while(*hdbuf == ' ' || *hdbuf == '\t') in http2_send()
2029 ++hdbuf; in http2_send()
2032 switch(inspect_header((const char *)nva[i].name, nva[i].namelen, hdbuf, in http2_send()
2033 end - hdbuf)) { in http2_send()
2043 nva[i].value = (unsigned char *)hdbuf; in http2_send()
2044 nva[i].valuelen = (size_t)(end - hdbuf); in http2_send()