Stray line feed in fqdname causes --add-header and --add-header-file header records to be ignored by server.
This commit is contained in:
parent
0c7d127883
commit
feca4978ba
@ -112,6 +112,7 @@ conn_init(Conn *conn)
|
|||||||
conn->sd = -1;
|
conn->sd = -1;
|
||||||
conn->myport = -1;
|
conn->myport = -1;
|
||||||
conn->line.iov_base = conn->line_buf;
|
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
|
#ifdef HAVE_SSL
|
||||||
if (param.use_ssl) {
|
if (param.use_ssl) {
|
||||||
|
Loading…
Reference in New Issue
Block a user