[PATCH] Variables: added $tcpinfo_retrans

David CARLIER devnexen at gmail.com
Mon Dec 21 13:41:03 UTC 2015


I think FreeBSD has __tcpi_retrans but not "typedef" it though ...

On 21 December 2015 at 13:26, Maxim Dounin <mdounin at mdounin.ru> wrote:
> Hello!
>
> On Mon, Dec 21, 2015 at 03:22:37PM +0300, Valentin V. Bartenev wrote:
>
>> On Saturday 19 December 2015 03:43:28 Alexey Ivanov wrote:
>
> [...]
>
>> > @@ -1053,6 +1056,10 @@
>> >         value = ti.tcpi_rcv_space;
>> >         break;
>> >
>> > +    case 4:
>> > +        value = ti.tcpi_retrans;
>> > +        break;
>> > +
>> >     /* suppress warning */
>> >     default:
>> >         value = 0;
>> >
>>
>> What if there is no "tcpi_retrans" field?
>
> Just in case, there is no tcpi_retrans field on FreeBSD.
>
> --
> Maxim Dounin
> http://nginx.org/
>
> _______________________________________________
> nginx-devel mailing list
> nginx-devel at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-devel



More information about the nginx-devel mailing list