With 1.9-dev-5cc9c84 I still get this error:

Mar  5 15:11:28 a115 uwsgi: [uwsgi-fastrouter client_addr: 0.0.0.0
client_port: 0] fr_recv_uwsgi_header(): Bad address
[plugins/fastrouter/fastrouter.c line 214]


2013/3/5 Roberto De Ioris <[email protected]>

>
> > I'm seeing more and more of this errors, is there any patch I could try?
>
>
> you can try latest code
>
> >
> >
> > 2013/3/5 Roberto De Ioris <[email protected]>
> >
> >>
> >> > On Tue, 5 Mar 2013 11:28:55 +0100
> >> > "Roberto De Ioris" <[email protected]> wrote:
> >> >
> >> >>
> >> >> > IP "0.0.0.0" and port "0" looks hardcoded to me:
> >> >> >
> >> >> >> plugins/corerouter/corerouter.c:  memcpy(cs->client_address,
> >> >> >> "0.0.0.0",
> >> >> > 7);
> >> >> >> plugins/corerouter/corerouter.c:  memcpy(cs->client_address,
> >> >> >> "0.0.0.0",
> >> >> > 7);
> >> >> >> plugins/corerouter/corerouter.c:  memcpy(cs->client_address,
> >> >> >> "0.0.0.0",
> >> >> > 7);
> >> >> >
> >> >> > Or I'm reading memcpy wrong.
> >> >> >
> >> >>
> >> >>
> >> >> no you are right, then it must be something else
> >> >
> >> > BTW: Shouldn't we copy NULL termination too (8 instead of 7 bytes) ? -
> >> > just a suggestion as I haven't looked into the code and the real
> >> > problem might lie somewhere else..
> >> >
> >>
> >> that memory is already cleared on request's accept(), so it should not
> >> be
> >> a problem
> >> --
> >> Roberto De Ioris
> >> http://unbit.it
> >> _______________________________________________
> >> uWSGI mailing list
> >> [email protected]
> >> http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
> >>
> >
> >
> >
> > --
> > Łukasz Mierzwa
> > _______________________________________________
> > uWSGI mailing list
> > [email protected]
> > http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
> >
>
>
> --
> Roberto De Ioris
> http://unbit.it
> _______________________________________________
> uWSGI mailing list
> [email protected]
> http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
>



-- 
Łukasz Mierzwa
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to