[PATCH 10/11] HTTP: removed unused nxt_http_cookie_t structure.

Andrew Clayton andrew at digital-domain.net
Thu Jun 16 20:15:21 UTC 2022


On Thu, 16 Jun 2022 18:03:38 +0200
Alejandro Colomar <alx.manpages at gmail.com> wrote:

> Hi Andrew,
> 
> On 6/16/22 03:01, Andrew Clayton wrote:
> > Turns out that struct nxt_http_cookie_t is completely unused.  
> 
> I think this was added to give support to a future feature that will be 
> added soon, but I don't remember the details exactly.
> 
> Anyway, this patch is good on its own, so if the code continues not 
> using this type in the future, I'm fine with applying this.  We'll see 
> soon, I guess.

Sure. Just for interest this was added by

commit 6a775f58af430bd2e1f41556e9bb28b089a5e068
Author: Igor Sysoev <igor at sysoev.ru>
Date:   Thu May 30 15:33:51 2019 +0300

    Added routing based on cookies.

Cheers,
Andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.nginx.org/pipermail/unit/attachments/20220616/177b815e/attachment.bin>


More information about the unit mailing list