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
34d837c2
Commit
34d837c2
authored
16 years ago
by
Daniel Stenberg
Browse files
Options
Downloads
Patches
Plain Diff
provide CURL_DEFAULT_PROXY_PORT set to 1080 for the default port libcurl
assumes proxies to use
parent
7607d514
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
lib/url.c
+1
-1
1 addition, 1 deletion
lib/url.c
lib/url.h
+2
-11
2 additions, 11 deletions
lib/url.h
with
3 additions
and
12 deletions
lib/url.c
+
1
−
1
View file @
34d837c2
...
...
@@ -719,7 +719,7 @@ CURLcode Curl_open(struct SessionHandle **curl)
/* Set the default size of the SSL session ID cache */
data
->
set
.
ssl
.
numsessions
=
5
;
data
->
set
.
proxyport
=
1080
;
data
->
set
.
proxyport
=
CURL_DEFAULT_PROXY_PORT
;
/* from url.h */
data
->
set
.
proxytype
=
CURLPROXY_HTTP
;
/* defaults to HTTP proxy */
data
->
set
.
httpauth
=
CURLAUTH_BASIC
;
/* defaults to basic */
data
->
set
.
proxyauth
=
CURLAUTH_BASIC
;
/* defaults to basic */
...
...
This diff is collapsed.
Click to expand it.
lib/url.h
+
2
−
11
View file @
34d837c2
...
...
@@ -72,20 +72,11 @@ int Curl_removeHandleFromPipeline(struct SessionHandle *handle,
void
Curl_close_connections
(
struct
SessionHandle
*
data
);
#if 0
CURLcode Curl_protocol_fdset(struct connectdata *conn,
fd_set *read_fd_set,
fd_set *write_fd_set,
int *max_fdp);
CURLcode Curl_doing_fdset(struct connectdata *conn,
fd_set *read_fd_set,
fd_set *write_fd_set,
int *max_fdp);
#endif
/* Called on connect, and if there's already a protocol-specific struct
allocated for a different connection, this frees it that it can be setup
properly later on. */
void
Curl_reset_reqproto
(
struct
connectdata
*
conn
);
#define CURL_DEFAULT_PROXY_PORT 1080
/* default proxy port unless specified */
#endif
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