ipsvd sslio patch to add a -q option
Alexandre Girao <[email protected]> Sat, 2 Feb 2013 21:23:44 -0200
| Newsgroups | gmane.comp.misc.pape.general |
|---|---|
| Message-ID | <CAMbCX-4w2+iFy8Ofq4N7Ob2_7KFLX=Pcb=1x3b0MOiCNzpE8Qw@mail.gmail.com> |
Hi all, This email describes a change to ipsvd that adds a '-q seconds' option to sslio that allows half-close connection termination. The change allow sslio to work like this if the -q option is specified: as soon as sslio reads an eof from program, it simply relay the program's intention and arm a timeout with seconds specified by -q option and let the other side decide what to do, sslio continue its operation and will exit normally if he sees an eof from the network or if the timeout happens. The original behaviour is not affected by this patch if -q option isn't specified. More details and how to simulate here: https://github.com/alexgirao/ipsvd/issues/1 All the best, Alexandre Girao