This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
最近发现有人打不开我们主页,只在uc浏览器中复现. | |
nginx日志中是400,开启debug 发现有如下日志 | |
2016/12/23 12:14:11 [info] 40166#0: *2614733 client sent duplicate header line: "If-None-Match: "585b309f-1475"", | |
previous value: "If-None-Match: W/"585b309f-1475"" while reading client request headers, client: xx.xx.xx.xx, | |
server: www.xxx.com, request: "GET / HTTP/1.1" | |
猜测是uc浏览器某个版本之后不会对 if-none-match 去重, 而在nginx中 if-none-match 这个header 不可重复,不可忽略也无法去掉. | |
代码 | |
http://lxr.nginx.org/source/src/http/ngx_http_request.c#0099 | |
http://lxr.nginx.org/source/src/http/ngx_http_request.c#1586 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
语法 | |
open-stream-p stream => generalized-boolean | |
参数和值 | |
stream --- 一个 stream | |
generalized-boolean --- 一个 generalized-boolean | |
描述 | |
如果 stream 是一个 open stream, 返回 true, 否则返回 false | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
语法 | |
interactive-stream-p stream => generalized-boolean | |
参数和值 | |
stream --- 一个 stream | |
generalized-boolean --- 一个 generalized-boolean | |
描述 | |
如果这个 stream 是一个交互式的 stream, 返回true, 否则返回 false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
语法 | |
delete-file filespec => t | |
参数和值 | |
filespec --- 一个路径指示符 | |
描述 | |
删除文件 | |
代码 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
语法 | |
rename-file filespec new-name => defaulted-new-name, old-truename, new-truename | |
参数和值 | |
filespec --- pathname 指示符 | |
new-name --- 新文件名 | |
defaulted-new-name --- 一个文件名 | |
old-truename --- 一个物理路径名 | |
new-truename --- 一个物理路径名 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
语法 | |
file-write-date pathspec => date | |
参数和值 | |
pathspec --- 一个 pathname 指示符 | |
date --- 时间或者nil | |
描述 | |
返回文件最后修改时间, 如果时间不能确定, 返回 nil |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
语法 | |
directory pathspec &key => pathnames | |
参数和值 | |
pathspec --- 一个 pathname 指示符 | |
pathnames --- 一个 pathname 列表 | |
描述 | |
找到 pathspec 的 truename | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
语法 | |
functionp object => generalized-boolean | |
参数和值 | |
object --- 一个 object | |
generalized-boolean --- 一个 generalized-boolean | |
描述 | |
如果 object 是一个函数, 返回真, 否则返回假 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
语法 | |
funcall function &rest args => result* | |
参数和值 | |
function --- 一个函数指示符 | |
args --- 函数的参数 | |
results --- function 返回的 values | |
描述 | |
funcall 执行函数, 如果 function 是一个 符号,则强制找到这个符号所代表的函数,然后进行求值 |