proxy: make ConnectionExists() check credential of proxyconnections too
authorFabian Keil <fk@fabiankeil.de>
Sun, 31 Mar 2013 11:26:54 +0000 (13:26 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 8 Apr 2013 14:13:27 +0000 (16:13 +0200)
commit638c6da9dbe26dd50664839f6ffb3357f0560abf
treedd75f83ecd77009279621663c63232a034ebecf8
parent9141c75bfb9dcf36c8d2fc2750aee180adbd672e
proxy: make ConnectionExists() check credential of proxyconnections too

Previously it only compared credentials if the requested needle
connection wasn't using a proxy. This caused NTLM authentication
failures when using proxies as the authentication code wasn't send on
the connection where the challenge arrived.

Added test 1215 to verify: NTLM server authentication through a proxy
(This is a modified copy of test 67)
lib/url.c
tests/data/Makefile.am
tests/data/test1215 [new file with mode: 0644]