HTTP: CREDSPERREQUEST is for HTTP too
authorDaniel Stenberg <daniel@haxx.se>
Thu, 15 May 2014 21:28:31 +0000 (23:28 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 15 May 2014 21:28:31 +0000 (23:28 +0200)
commit68f0166a92cff3660993645e9ad278b26d295832
tree531989e65ab042935a3d5544794007e6a48d3278
parenta481f5b3083006098262672dda0b7b4af5b60a84
HTTP: CREDSPERREQUEST is for HTTP too

Commit 517b06d657ace (in 7.36.0) that brought the CREDSPERREQUEST flag
only set it for HTTPS, making HTTP less good at doing connection re-use
than it should be. Now set it for HTTP as well.

Simple test case

"curl -v -u foo:bar localhost --next -u bar:foo localhos"

Bug: http://curl.haxx.se/mail/lib-2014-05/0127.html
Reported-by: Kamil Dudka
lib/http.c