Skip to content
Snippets Groups Projects
Commit fb6a51b8 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

basic NTLM support

parent 252cc221
No related branches found
No related tags found
No related merge requests found
......@@ -297,6 +297,14 @@ static int get_request(int sock, int *part)
Digest stuff to work in the test suite. */
*part = 1000;
}
else if(strstr(reqbuf, "Authorization: NTLM TlRMTVNTUAAD")) {
/* If the client is passing this type-3 NTLM header */
*part = 1002;
}
else if(strstr(reqbuf, "Authorization: NTLM TlRMTVNTUAAB")) {
/* If the client is passing this type-1 NTLM header */
*part = 1001;
}
}
else {
if(sscanf(reqbuf, "CONNECT %" MAXDOCNAMELEN_TXT "s HTTP/%d.%d",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment