Skip to content
Snippets Groups Projects
  • Aaron Knister's avatar
    c08f8922
    ensure stepd -> srun client socket fully shutdown · c08f8922
    Aaron Knister authored
    ensure eio objects get explicitly shutdown when
    eio_handle_mainloop exits. currently depending on
    whether the order the eio_handle_mainloop and
    eio_signal_shutdown get called relative to each other
    
    when stepd is instructed to shut down the socket use
    SHUT_RDWR instead of SHUT_RD. just using SHUT_RD can
    cause srun to receive ECONNRESET if there's outstanding
    data that's been sent to stepd that the task has not
    read.
    
    bug 3166
    c08f8922
    History
    ensure stepd -> srun client socket fully shutdown
    Aaron Knister authored
    ensure eio objects get explicitly shutdown when
    eio_handle_mainloop exits. currently depending on
    whether the order the eio_handle_mainloop and
    eio_signal_shutdown get called relative to each other
    
    when stepd is instructed to shut down the socket use
    SHUT_RDWR instead of SHUT_RD. just using SHUT_RD can
    cause srun to receive ECONNRESET if there's outstanding
    data that's been sent to stepd that the task has not
    read.
    
    bug 3166