upload: warn users trying to upload from stdin with anyauth
authorDaniel Stenberg <daniel@haxx.se>
Tue, 6 Jul 2010 21:25:32 +0000 (23:25 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 6 Jul 2010 21:25:32 +0000 (23:25 +0200)
commit915032ea022f356fe3c626d451c4c92b87c7d406
tree7fcfb89c2ed31cc182542709dc8abc9e15c08047
parente01cc7737c92897fb8286e3df6392ab434cdced6
upload: warn users trying to upload from stdin with anyauth

Since uploading from stdin is very likely to not work with anyauth and
its multi-phase probing for what authentication to actually use, alert
the user about it. Multi-phase negotiate almost certainly will involve
sending data and thus libcurl will need to rewind the stream to send
again, and it cannot do that with stdin.
src/main.c