Uploaded image for project: 'hicn'
  1. hicn
  2. HICN-240

Assign STDIN descriptor to the stream_descriptor only if hiperf running in interactive mode.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • 19.08
    • None
    • hicn/utils
    • None

      If we run hiperf server in background, as a daemon, the stdin file descriptor will likely be closed. Then, if we try to open the STDIN file descriptor, we get the following exception:

       

      what(): assign: Operation not permitted

       

      This fix opens the stdin fd only if hiperf is running in interactive mode.

            mauro91 Mauro Sardara
            mauro91 Mauro Sardara
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: