Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TLMSP curl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CYBER - Cyber Security
TS 103 523 MSP
TLMSP
TLMSP curl
Commits
793d0e27
Commit
793d0e27
authored
21 years ago
by
Daniel Stenberg
Browse files
Options
Downloads
Patches
Plain Diff
--proxy-ntlm added
parent
fdf0c443
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/main.c
+9
-0
9 additions, 0 deletions
src/main.c
src/version.h
+1
-1
1 addition, 1 deletion
src/version.h
with
10 additions
and
1 deletion
src/main.c
+
9
−
0
View file @
793d0e27
...
...
@@ -432,6 +432,7 @@ static void help(void)
" -o/--output <file> Write output to <file> instead of stdout"
,
" -O/--remote-name Write output to a file named as the remote file"
,
" -p/--proxytunnel Perform non-HTTP services through a HTTP proxy"
,
" --proxy-ntlm Use NTLM authentication on the proxy (H)"
,
" -P/--ftpport <address> Use PORT with address instead of PASV when ftping (F)"
,
" -q When used as the first parameter disables .curlrc"
,
" -Q/--quote <cmd> Send QUOTE command to FTP before file transfer (F)"
,
...
...
@@ -546,6 +547,7 @@ struct Configurable {
bool
insecure_ok
;
/* set TRUE to allow insecure SSL connects */
bool
create_dirs
;
bool
ftp_create_dirs
;
bool
proxyntlm
;
char
*
writeout
;
/* %-styled format string to output */
bool
writeenv
;
/* write results to environment, if available */
...
...
@@ -1094,6 +1096,7 @@ static ParameterError getparameter(char *flag, /* f or -long-flag */
{
"5q"
,
"ftp-create-dirs"
,
FALSE
},
{
"5r"
,
"create-dirs"
,
FALSE
},
{
"5s"
,
"max-redirs"
,
TRUE
},
{
"5t"
,
"proxy-ntlm"
,
FALSE
},
{
"0"
,
"http1.0"
,
FALSE
},
{
"1"
,
"tlsv1"
,
FALSE
},
{
"2"
,
"sslv2"
,
FALSE
},
...
...
@@ -1353,6 +1356,10 @@ static ParameterError getparameter(char *flag, /* f or -long-flag */
config
->
maxredirs
=
atoi
(
nextarg
);
break
;
case
't'
:
/* --proxy-ntlm */
config
->
proxyntlm
^=
TRUE
;
break
;
default:
/* the URL! */
{
struct
getout
*
url
;
...
...
@@ -3109,6 +3116,8 @@ operate(struct Configurable *config, int argc, char *argv[])
/* new in curl 7.10.7 */
curl_easy_setopt
(
curl
,
CURLOPT_FTP_CREATE_MISSING_DIRS
,
config
->
ftp_create_dirs
);
if
(
config
->
proxyntlm
)
curl_easy_setopt
(
curl
,
CURLOPT_PROXYAUTH
,
CURLAUTH_NTLM
);
res
=
curl_easy_perform
(
curl
);
...
...
This diff is collapsed.
Click to expand it.
src/version.h
+
1
−
1
View file @
793d0e27
#define CURL_NAME "curl"
#define CURL_VERSION "7.10.7-pre
2
"
#define CURL_VERSION "7.10.7-pre
3
"
#define CURL_ID CURL_NAME " " CURL_VERSION " (" OS ") "
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment