Browse Source

Fix NFS socket read hangs

master
Vitaliy Filippov 6 days ago
parent
commit
93a9f1ef89
  1. 5
      src/nfs_proxy.cpp

5
src/nfs_proxy.cpp

@ -606,7 +606,7 @@ void nfs_client_t::handle_read(int result)
{
// Read the tail and come back
submit_read(wanted-left);
break;
return;
}
else
{
@ -635,9 +635,10 @@ void nfs_client_t::handle_read(int result)
cur_buffer.parsed_pos = 0;
// Restart from the beginning
submit_read(wanted-left);
break;
return;
}
}
submit_read(0);
}
}

Loading…
Cancel
Save