浏览代码

Stray line feed in fqdname causes --add-header and --add-header-file header records to be ignored by server.

ahc_fix_select^2
Stephen Jazdzewski 9 年前
committed by Stephen Jazdzewski
父节点
当前提交
feca4978ba
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. +1
    -0
      src/conn.c

+ 1
- 0
src/conn.c 查看文件

@@ -112,6 +112,7 @@ conn_init(Conn *conn)
conn->sd = -1;
conn->myport = -1;
conn->line.iov_base = conn->line_buf;
conn->fqdname_len = strcspn(conn->fqdname,"\r\n"); // Chomp since used in Host header record

#ifdef HAVE_SSL
if (param.use_ssl) {


正在加载...
取消
保存