nghttpx: Code cleanup
This commit is contained in:
parent
3c96041c43
commit
cdf5d5402b
|
@ -1284,7 +1284,7 @@ int Http2Session::send()
|
||||||
|
|
||||||
if(nghttp2_session_want_read(session_) == 0 &&
|
if(nghttp2_session_want_read(session_) == 0 &&
|
||||||
nghttp2_session_want_write(session_) == 0 &&
|
nghttp2_session_want_write(session_) == 0 &&
|
||||||
evbuffer_get_length(bufferevent_get_output(bev_)) == 0) {
|
evbuffer_get_length(output) == 0) {
|
||||||
if(LOG_ENABLED(INFO)) {
|
if(LOG_ENABLED(INFO)) {
|
||||||
SSLOG(INFO, this) << "No more read/write for this session";
|
SSLOG(INFO, this) << "No more read/write for this session";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue