mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Quick and dirty possible fix.
This commit is contained in:
@@ -894,7 +894,8 @@ public:
|
|||||||
|
|
||||||
// try and read more
|
// try and read more
|
||||||
if (m_state != session::state::CLOSED &&
|
if (m_state != session::state::CLOSED &&
|
||||||
m_processor->get_bytes_needed() > 0 &&
|
m_processor &&
|
||||||
|
m_processor->get_bytes_needed() > 0 && // FIXME: m_processor had been reset here
|
||||||
!m_protocol_error)
|
!m_protocol_error)
|
||||||
{
|
{
|
||||||
// TODO: read timeout timer?
|
// TODO: read timeout timer?
|
||||||
|
|||||||
Reference in New Issue
Block a user