// scheduler. This ensures, that the refcount is at least 1 as
// long as the helper is registered with the scheduler.
senf::Scheduler::instance()
- .add(handle,boost::bind(&ReadHelper::dispatchProcess,ptr(this),_1,_2),
+ .add(handle,boost::bind(&ReadHelper::dispatchProcess,ptr(this), handle, _1),
senf::Scheduler::EV_READ);
}
{
try {
if (event != senf::Scheduler::EV_READ)
- throw SystemException(EPIPE);
+ throw SystemException(EPIPE SENF_EXC_DEBUGINFO);
std::string rcv;
handle.read(rcv, maxSize_ - data_.size());
data_.append(rcv);