input: when finished reading pres data, return nmsg_res_eof rather than nmsg_res_failure
input: when finished reading pres data, return nmsg_res_eof rather than nmsg_res_failure

hstern/nmsg,hstern/nmsg,hstern/nmsg,hstern/nmsg,hstern/nmsg