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
1e55ed5c
Commit
1e55ed5c
authored
18 years ago
by
Daniel Stenberg
Browse files
Options
Downloads
Patches
Plain Diff
- Robert Iakobashvili fixed CURLOPT_INTERFACE for IPv6.
parent
6dd4fe07
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
+2
-0
2 additions, 0 deletions
CHANGES
RELEASE-NOTES
+3
-1
3 additions, 1 deletion
RELEASE-NOTES
lib/connect.c
+7
-1
7 additions, 1 deletion
lib/connect.c
with
12 additions
and
2 deletions
CHANGES
+
2
−
0
View file @
1e55ed5c
...
...
@@ -7,6 +7,8 @@
Changelog
Daniel (9 March 2007)
- Robert Iakobashvili fixed CURLOPT_INTERFACE for IPv6.
- Robert A. Monat improved the maketgz and VC6/8 generating to set the correct
machine type too.
...
...
This diff is collapsed.
Click to expand it.
RELEASE-NOTES
+
3
−
1
View file @
1e55ed5c
...
...
@@ -38,6 +38,7 @@ This release includes the following bugfixes:
used
o HTTP Digest header parsing fix for unquoted last word ending with CRLF
o CURLOPT_PORT, HTTP proxy, re-using connections and non-HTTP protocols
o CURLOPT_INTERFACE for ipv6
This release includes the following known bugs:
...
...
@@ -58,6 +59,7 @@ advice from friends like these:
Yang Tse, Manfred Schwarb, Michael Wallner, Jeff Pohlmeyer, Shmulik Regev,
Rob Crittenden, Robert A. Monat, Dan Fandrich, Duncan Mac-Vicar Prett,
Michal Marek, Robson Braga Araujo, Ian Turner, Linus Nielsen Feltzing,
Ravi Pratap, Adam D. Moss, Jose Kahan, Hang Kin Lau, Justin Fletcher
Ravi Pratap, Adam D. Moss, Jose Kahan, Hang Kin Lau, Justin Fletcher,
Robert Iakobashvili
Thanks! (and sorry if I forgot to mention someone)
This diff is collapsed.
Click to expand it.
lib/connect.c
+
7
−
1
View file @
1e55ed5c
...
...
@@ -233,7 +233,9 @@ static CURLcode bindlocal(struct connectdata *conn,
char
myhost
[
256
]
=
""
;
in_addr_t
in
;
int
rc
;
char
ipv6_addr
[
16
];
bool
was_iface
=
FALSE
;
int
in6
=
-
1
;
/* First check if the given name is an IP address */
in
=
inet_addr
(
data
->
set
.
device
);
...
...
@@ -314,7 +316,11 @@ static CURLcode bindlocal(struct connectdata *conn,
#endif
in
=
inet_addr
(
myhost
);
if
(
CURL_INADDR_NONE
==
in
)
{
#ifdef ENABLE_IPV6
in6
=
inet_pton
(
AF_INET6
,
myhost
,
(
void
*
)
&
ipv6_addr
);
#endif
if
(
CURL_INADDR_NONE
==
in
&&
-
1
==
in6
)
{
failf
(
data
,
"couldn't find my own IP address (%s)"
,
myhost
);
return
CURLE_HTTP_PORT_FAILED
;
}
/* end of inet_addr */
...
...
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