mirror of
https://github.com/curl/curl.git
synced 2026-06-01 23:04:15 +03:00
http2: minor white space edit
This commit is contained in:
parent
71e2acaad6
commit
cd5c03aa6d
1 changed files with 3 additions and 2 deletions
|
|
@ -1132,9 +1132,10 @@ CURLcode Curl_http2_request_upgrade(Curl_send_buffer *req,
|
|||
/*
|
||||
* Returns nonzero if current HTTP/2 session should be closed.
|
||||
*/
|
||||
static int should_close_session(struct http_conn *httpc) {
|
||||
static int should_close_session(struct http_conn *httpc)
|
||||
{
|
||||
return httpc->drain_total == 0 && !nghttp2_session_want_read(httpc->h2) &&
|
||||
!nghttp2_session_want_write(httpc->h2);
|
||||
!nghttp2_session_want_write(httpc->h2);
|
||||
}
|
||||
|
||||
static int h2_session_send(struct Curl_easy *data,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue