http2: add CRLF when first data arrives

This commit is contained in:
Daniel Stenberg
2014-01-30 18:21:57 +01:00
parent 1c9aaa0bac
commit 48c3bed43b
2 changed files with 15 additions and 5 deletions

View File

@@ -157,7 +157,7 @@ struct http_conn {
size_t binlen; /* length of the binsettings data */
char *mem; /* points to a buffer in memory to store or read from */
size_t len; /* size of the buffer 'mem' points to */
ssize_t nread; /* how much data that was sent/recv by the HTTP2 engine */
bool bodystarted;
#else
int unused; /* prevent a compiler warning */
#endif