在lighttpd网络模型里面我们可以看到以下代码 /* accept()s at most 100 connections directly * * we jump out after 100 to give the waiting connections a chance */ ; loops < && NULL != (con = connection_accept(srv, srv_socket)); loops++) { handler_t r; connection_st…
检查lighttpd打印的日志时,有些字段意义模糊,就找了个对照说明,备份一下 原文地址:http://redmine.lighttpd.net/projects/1/wiki/Docs_ModAccesslog Option Description %% a percent sign %h name or address of remote-host %l ident name (not supported) %u authenticated user %t timestamp of the…
http://www.lsanotes.cn/install_lighttpd 用Lighttpd做图片服务器 一.安装lighttpd所需的库文件1.安装 pcrewgetftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.10.tar.gz tar -zxvf pcre-8.10.tar.gz cd pcre-8.10 ./configure make make install 2.安装zlibwgethttp://zli…
最近在使用python 的 pcurl 发送 post 请求到服务端的时候[服务端使用的服务是Lighttpd],发现只要 post 请求的数据超过 1024 之后,就会返回如下错误: * Hostname was NOT found in DNS cache * Trying 10.8.2.54... * Connected to 10.8.2.54 (10.8.2.54) port 9997 (#11) > POST /rest/cm/changeconfig HTTP/1.1 User-A…