aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/http2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http2.c b/lib/http2.c
index 97094202a..001e0c0b9 100644
--- a/lib/http2.c
+++ b/lib/http2.c
@@ -949,7 +949,7 @@ static ssize_t data_source_read_callback(nghttp2_session *session,
}
if(stream->upload_left == 0)
- *data_flags = 1;
+ *data_flags = NGHTTP2_DATA_FLAG_EOF;
else if(nread == 0)
return NGHTTP2_ERR_DEFERRED;