restore requirement for payload type in worker unwrap
When the requested connections exceed the worker's capacity it polutes the log with large ammounts of prints, could be removed alltogether
++conn->finished_streams;
}
- kr_log_info(DOQ, "Closing connection, %s useful, served %zu streams\n",
+ kr_log_debug(DOQ, "Closing connection, %s useful, served %zu streams\n",
conn->finished_streams ? "was" : "wasn't",
conn->finished_streams);
ctx->payload = protolayer_payload_iovec(siov->iovs, iovcnt, false);
return protolayer_continue(ctx);
} else {
- // kr_assert(false && "Invalid payload");
- return protolayer_continue(ctx);
- // return protolayer_break(ctx, kr_error(EINVAL));
+ kr_assert(false && "Invalid payload");
+ return protolayer_break(ctx, kr_error(EINVAL));
}
}