pos value is always the same: 7297
but I'm not sure about one thing: you have pos < 0 but later pos is printed
using *unsigned* long long (?)


2013/3/6 Łukasz Mierzwa <[email protected]>

> Mar  6 14:47:51 a115 uwsgi: BUG pos is 7297
> Mar  6 14:47:51 a115 uwsgi: [uwsgi-fastrouter client_addr: 0.0.0.0
> client_port: 0] fr_recv_uwsgi_header(): Bad address
> [plugins/fastrouter/fastrouter.c line 231]
>
>
> 2013/3/6 Roberto De Ioris <[email protected]>
>
>>
>> > With this patch I'm getting:
>> >
>> > Mar  6 13:15:19 a115 uwsgi: [uwsgi-fastrouter client_addr: 0.0.0.0
>> > client_port: 0] fr_recv_uwsgi_header(): Bad address
>> > [plugins/fastrouter/fastrouter.c line 231]
>> >
>> > but no "[BUG] while reading from file descriptor ...", so it's something
>> > else.
>> >
>>
>> Second possibility (negative read() size):
>>
>> if (4 - (int) main_peer->in->pos < 0) {
>>   uwsgi_log("BUG pos is %llu\n", (unsigned long long) main_peer->in->pos);
>> }
>>
>>
>> --
>> Roberto De Ioris
>> http://unbit.it
>> _______________________________________________
>> uWSGI mailing list
>> [email protected]
>> http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
>>
>
>
>
> --
> Łukasz Mierzwa
>



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

Reply via email to