坚信科学,分享技术

Tag Archives: 扩展开发

Lighttpd 插件开发方法

 [文章作者:陈臻 本文版本:v1.0 最后修改:2009.2.12 转载请注明原文链接:http://www.54chen.com/c/309] lighttpd插件开发步骤   插件架构说明 lighttpd的状态:为了便于理解lighttpd插件开发,需要了解lighttpd server在处理请求响应消息的过程中的11种状态,在这些状态中有如下重要函数需要被调用。对于这些状态,有的请求可能都会涉及到,有些请求可能只会经过部分状态。 状态 含义 对应函数 connect waiting for a connection nothing reqstart init the read-idle timer nothing read read http-request-header from network connection_handle_read_state() connection_handle_read() reqend parse request http_request_parse() readpost read http-request-content from network …

Continue reading

Posted in linux | Tagged , | 5 Comments