oknet / atsinternals Goto Github PK
View Code? Open in Web Editor NEWApache Traffic Server 源代码分析
Apache Traffic Server 源代码分析
微信号:13311507809,开帅
在 HttpSM::tunnel_handler_server 中会进行如下的判断:
如果已经收到了 EOS 事件,
那么就调用 HttpServerSession::do_io_close 关闭。
如果不允许 OServer 的连接复用,
那么就调用 HttpClientSession::attach_server_session 把 HttpServerSession 附到 HttpClientSession 上。
如果允许连接复用,
设置 keep alive 超时时间,然后调用 HttpServerSession::release 与 HttpSM 脱离
// 减少正在使用的数据区域,_start -= len
void consume(int64_t len);
应该为
TS_INLINE void
IOBufferBlock::consume(int64_t len)
{
_start += len;
ink_assert(_start <= _end);
}
Thank you @oknet for writing this insightful book about ATS.
Maybe I can try to translate Ch3.
I can attempt to translate chapter 2 before end of this year.
Will submit PR
Any chance we can get all this translated to English? Are there pictures / graphs for this too? :-)
This is actually not an issue :)
But we're (My colleague and I:)) really deeply impressed by your diagrams and want to know which tool you're using to draw them? Or do you have any suggestions to draw those fantastic diagrams?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.