Commit 94a5c980 authored by Pavan Balaji's avatar Pavan Balaji
Browse files

[svn-r10793] We were not checking if the downstream stdin socket was valid before

setting it to nonblocking.  We released 3.0 without this fix.  God
help us with the bug reports!

No reviewer.
parent 203fbf83
......@@ -704,8 +704,10 @@ static HYD_status launch_procs(void)
process_id);
HYDU_ERR_POP(status, "create process returned error\n");
status = HYDU_sock_set_nonblock(HYD_pmcd_pmip.downstream.in);
HYDU_ERR_POP(status, "unable to set stdin socket to non-blocking\n");
if (HYD_pmcd_pmip.downstream.in != HYD_FD_UNSET) {
status = HYDU_sock_set_nonblock(HYD_pmcd_pmip.downstream.in);
HYDU_ERR_POP(status, "unable to set stdin socket to non-blocking\n");
}
HYDU_free_strlist(client_args);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment