瀏覽代碼

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) {


Loading…
取消
儲存