<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Server on IHEXON BLOG</title><link>https://ihexon.github.io/tags/server/</link><description>Recent content in Server on IHEXON BLOG</description><generator>Hugo -- gohugo.io</generator><language>en</language><managingEditor>zzheasy@gmail.com (IHEXON)</managingEditor><webMaster>zzheasy@gmail.com (IHEXON)</webMaster><copyright>Copy, _right?_ :thinking_face:</copyright><lastBuildDate>Wed, 27 May 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://ihexon.github.io/tags/server/index.xml" rel="self" type="application/rss+xml"/><item><title>torrent-web-seeder Server 端代码阅读</title><link>https://ihexon.github.io/posts/torrent-web-seeder-server/</link><pubDate>Wed, 27 May 2026 00:00:00 +0000</pubDate><author>zzheasy@gmail.com (IHEXON)</author><guid>https://ihexon.github.io/posts/torrent-web-seeder-server/</guid><description>&lt;p&gt;&lt;code&gt;torrent-web-seeder&lt;/code&gt; 是 Webtor 体系里的一个 BitTorrent 到 HTTP 的网关服务。它的目标不是做一个普通 BT 下载器，而是把 torrent 中的文件变成 HTTP 可访问资源：客户端请求某个 &lt;code&gt;info-hash/path&lt;/code&gt;，server 端按需加入 BitTorrent 网络下载对应 piece，并把数据通过 HTTP 流式返回出去。&lt;/p&gt;
&lt;p&gt;这篇记录一次代码阅读结果，重点放在 server 端：它怎么启动、请求怎么走、torrent 怎么被加载和回收、mmap 存储层为什么复杂，以及实际运行时应该带哪些参数。&lt;/p&gt;</description></item></channel></rss>