<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Decode | Hessian's Blog</title><link>https://hessian.cn/tag/decode</link><description>Hessian 的技术笔记：Linux、C++、网络与嵌入式</description><language>zh-CN</language><atom:link href="https://hessian.cn/tag/decode/index.xml" rel="self" type="application/rss+xml"/><item><title>NGINX userid 分析、解码</title><link>https://hessian.cn/p/1362.html</link><pubDate>Wed, 18 Sep 2013 02:05:43 +0800</pubDate><guid>https://hessian.cn/p/1362.html</guid><description>生成userid的代码在 http/modules/ngx_http_userid_filter_module.c 大概550行左右。&#10;uid_set 是4个uint32构成的，其中比较有用的是第二个unit32，是userid的生成时间。第四个是一个递增值 以 0x03030302 为初始值，每次递增0x100。&#10;</description></item></channel></rss>