nginx-push-stream模块源码学习(三)——发布

一、概述      发布:发布者将MSG post到某一特定通道上,channel将信息缓存  在说明发布流程之前有必要说明下channel和msg的数据结构。  二、数据结构  2.1 MSG      发布时,模块先将消息转化为ngx_http_push_stream_msg_t的数据结构进行存储。  Java代码   // message queue   typedef struct {  
相关文章
相关标签/搜索