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
db03d4bd
Commit
db03d4bd
authored
18 years ago
by
Daniel Stenberg
Browse files
Options
Downloads
Patches
Plain Diff
Ale Vesely fixed CURLOPT_INTERFACE when using a hostname
parent
0ec96e42
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CHANGES
+7
-0
7 additions, 0 deletions
CHANGES
RELEASE-NOTES
+5
-2
5 additions, 2 deletions
RELEASE-NOTES
lib/connect.c
+9
-2
9 additions, 2 deletions
lib/connect.c
with
21 additions
and
4 deletions
CHANGES
+
7
−
0
View file @
db03d4bd
...
...
@@ -6,7 +6,14 @@
Changelog
Daniel (21 April 2006)
- Ale Vesely fixed CURLOPT_INTERFACE when using a hostname.
Daniel (19 April 2006)
- Based on previous info from Tor Arntsen, I made configure detect the Intel
ICC compiler to add a compiler option for it, in order for configure to
properly be able to detect function prototypes.
- Robson Braga Araujo provided a patch that makes libcurl less eager to close
the control connection when using FTP, for example when you remove an easy
handle from a multi stack.
...
...
This diff is collapsed.
Click to expand it.
RELEASE-NOTES
+
5
−
2
View file @
db03d4bd
...
...
@@ -18,10 +18,12 @@ This release includes the following changes:
This release includes the following bugfixes:
o CURLOPT_INTERFACE works with hostname
o configure runs fine with ICC
o closed control connection with FTP when easy handle was removed from multi
o curl --trace crash when built with VS2005
o SSL connect time-out
o
I
mproved NTLM functionality
o
i
mproved NTLM functionality
o following redirects with more than one question mark in source URL
o fixed debug build crash with -d
o TFTP works on more systems
...
...
@@ -39,6 +41,7 @@ This release would not have looked like this without help, code, reports and
advice from friends like these:
Dan Fandrich, Ilja van Sprundel, David McCreedy, Tor Arntsen, Xavier Bouchoux,
David Byron, Michele Bini, Ates Goral, Katie Wang, Robson Braga Araujo
David Byron, Michele Bini, Ates Goral, Katie Wang, Robson Braga Araujo,
Ale Vesely
Thanks! (and sorry if I forgot to mention someone)
This diff is collapsed.
Click to expand it.
lib/connect.c
+
9
−
2
View file @
db03d4bd
...
...
@@ -100,6 +100,7 @@
#include
"url.h"
/* for Curl_safefree() */
#include
"multiif.h"
#include
"sockaddr.h"
/* required for Curl_sockaddr_storage */
#include
"inet_ntop.h"
/* The last #include file should be: */
#include
"memdebug.h"
...
...
@@ -288,8 +289,14 @@ static CURLcode bindlocal(struct connectdata *conn,
(
void
)
Curl_wait_for_resolv
(
conn
,
&
h
);
if
(
h
)
{
/* we know data->set.device is shorter than the myhost array */
strcpy
(
myhost
,
data
->
set
.
device
);
if
(
in
==
CURL_INADDR_NONE
)
/* convert the resolved address, sizeof myhost >= INET_ADDRSTRLEN */
Curl_inet_ntop
(
h
->
addr
->
ai_addr
->
sa_family
,
&
((
struct
sockaddr_in
*
)
h
->
addr
->
ai_addr
)
->
sin_addr
,
myhost
,
sizeof
myhost
);
else
/* we know data->set.device is shorter than the myhost array */
strcpy
(
myhost
,
data
->
set
.
device
);
Curl_resolv_unlock
(
data
,
h
);
}
}
...
...
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