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.
Also allow the usage of bind_address instead of using ANY.
On 1/6/22 1:31 PM, Mark March wrote:
It appears that the same initialized nameref variable may refer to variables in
different scopes depending on the context where it is used. When used in an
assignment, a nameref will look for the variable it references starting at the
scope where the namere
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 TIM
When you enter the time wait, you can't rebind again, since the socketopt
is defined after bind. By moving it up before the bind, you client sock
will still enter the TIME_WAIT after closing the fb, but you can rebind.
No comment to linger , we can keep ot on zero lengtj
Chet Ramey schrieb am Fr
On 1/7/22 10:52 AM, Dzogovic Vehbo wrote:
When you enter the time wait, you can't rebind again, since the socketopt
is defined after bind. By moving it up before the bind, you client sock
will still enter the TIME_WAIT after closing the fb, but you can rebind.
OK, I see.
Chet
--
``The lyf so
Also allowing the bind-addresse can increase the security but not listening
on external connection
Chet Ramey schrieb am Fr., 7. Jan. 2022, 16:54:
> On 1/7/22 10:52 AM, Dzogovic Vehbo wrote:
> > When you enter the time wait, you can't rebind again, since the
> socketopt
> > is defined after bind
Ángel wrote:
> I think that had you tested the devel branch instead of the last
> release, you could have skipped a lot of testing (but how would you
> have known? it's an easy thing to miss).
> https://savannah.gnu.org/patch/?10035 seems to have gone the "easy
> fix", which you discarded to get a
On 2022-01-08 at 00:22 +0100, Frank Heckenbach wrote:
> Ángel wrote:
>
> > I think that had you tested the devel branch instead of the last
> > release, you could have skipped a lot of testing (but how would you
> > have known? it's an easy thing to miss).
> > https://savannah.gnu.org/patch/?10035
On 2022-01-06 at 17:03 -0500, Chet Ramey wrote:
> On 1/3/22 6:02 PM, Ángel wrote:
>
> > Or, an even simpler one (assuming a utf-8 locale, like almost
> > everyone uses these days):
> > $ printf "%511s\xc3\xa4" | ./bash -c 'a="$(echo a)"; d=$(cat); echo
> > "$d"' | sed 's/^ *//'
> > Ö�
> >
> > whe