message: fix invalid read/write
diff: @@ -68,12 +68,16 @@ static sw_inline int swProtocol_split_package_by_eof(swProtocol *protocol, swSoc
  }
  if (conn->removed)
  {
  - retval = SW_OK;
  return false;
  }
  return true;
  });
  + if (conn->removed)
  + {
  + return SW_CLOSE;
  + }
  +
  if (n < 0)
  {
  return retval;
  