bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Patch accept.c in loadable builtins


From: Chet Ramey
Subject: Re: Patch accept.c in loadable builtins
Date: Fri, 7 Jan 2022 10:49:33 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.4.1

On 1/7/22 6:01 AM, Dzogovic Vehbo wrote:
Hello,

Could we apply this patch to examples/loadables/accept.c ?
https://github.com/dzove855/Bash-web-server/blob/main/accept.patch

This will alow rebinding on the port instead of failing linked to the
TIME_WAIT state.

Why would you want to defeat TIME_WAIT? If you're specifying the port, you
want TIME_WAIT to work so you don't end up mixing connection state, right?
We should want to keep a zero-length linger interval as well.

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]