]> git.ipfire.org Git - thirdparty/curl.git/commit
reuse_conn: don't copy flags that are known to be equal
authorMichael Kaufmann <mail@michael-kaufmann.ch>
Sun, 24 Sep 2017 13:02:12 +0000 (15:02 +0200)
committerMichael Kaufmann <mail@michael-kaufmann.ch>
Thu, 28 Sep 2017 19:18:02 +0000 (21:18 +0200)
commit284d06df9e45a97043e6cf6c915d7eb15622c1e4
tree0a3ce0f2a2a667aabd1fb25ee647a8c9cc28f25f
parent6aa86c493bd77b70d1f5018e102bc3094290d588
reuse_conn: don't copy flags that are known to be equal

A connection can only be reused if the flags "conn_to_host" and
"conn_to_port" match. Therefore it is not necessary to copy these flags
in reuse_conn().

Closes #1918
lib/url.c