mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
http2: use named define instead of magic constant in read callback
This commit is contained in:
parent
46398941e4
commit
71e2acaad6
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user