diff --git a/src/shrpx_http2_session.cc b/src/shrpx_http2_session.cc index 48046251..7aaa4bc8 100644 --- a/src/shrpx_http2_session.cc +++ b/src/shrpx_http2_session.cc @@ -1284,7 +1284,7 @@ int Http2Session::send() if(nghttp2_session_want_read(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)) { SSLOG(INFO, this) << "No more read/write for this session"; }