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
bcc29cda
Commit
bcc29cda
authored
14 years ago
by
Dan Fandrich
Browse files
Options
Downloads
Patches
Plain Diff
Fixed compilation when the synchronous resolver is used
parent
42354571
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
lib/asyn.h
+0
-1
0 additions, 1 deletion
lib/asyn.h
lib/hostip.h
+8
-1
8 additions, 1 deletion
lib/hostip.h
lib/url.h
+0
-2
0 additions, 2 deletions
lib/url.h
with
8 additions
and
4 deletions
lib/asyn.h
+
0
−
1
View file @
bcc29cda
...
...
@@ -147,7 +147,6 @@ Curl_addrinfo *Curl_resolver_getaddrinfo(struct connectdata *conn,
#ifndef CURLRES_ASYNCH
/* convert these functions if an asynch resolver isn't used */
#define Curl_resolver_cancel(x)
#define Curl_async_resolved(x,y) CURLE_OK
#define Curl_resolver_is_resolved(x,y) CURLE_COULDNT_RESOLVE_HOST
#define Curl_resolver_wait_resolv(x,y) CURLE_COULDNT_RESOLVE_HOST
#define Curl_resolver_getsock(x,y,z) 0
...
...
This diff is collapsed.
Click to expand it.
lib/hostip.h
+
8
−
1
View file @
bcc29cda
...
...
@@ -146,11 +146,18 @@ int curl_dogetnameinfo(GETNAMEINFO_QUAL_ARG1 GETNAMEINFO_TYPE_ARG1 sa,
/* IPv4 threadsafe resolve function used for synch and asynch builds */
Curl_addrinfo
*
Curl_ipv4_resolve_r
(
const
char
*
hostname
,
int
port
);
CURLcode
Curl_async_resolved
(
struct
connectdata
*
conn
,
bool
*
protocol_connect
);
#ifndef CURLRES_ASYNCH
#define Curl_async_resolved(x,y) CURLE_OK
#endif
/*
* Curl_addrinfo_callback() is used when we build with any asynch specialty.
* Handles end of async request processing. Inserts ai into hostcache when
* status is CURL_ASYNC_SUCCESS. Twiddles fields in conn to indicate async
* request completed wether successful or failed.
* request completed w
h
ether successful or failed.
*/
CURLcode
Curl_addrinfo_callback
(
struct
connectdata
*
conn
,
int
status
,
...
...
This diff is collapsed.
Click to expand it.
lib/url.h
+
0
−
2
View file @
bcc29cda
...
...
@@ -37,8 +37,6 @@ void Curl_freeset(struct SessionHandle * data);
CURLcode
Curl_close
(
struct
SessionHandle
*
data
);
/* opposite of curl_open() */
CURLcode
Curl_connect
(
struct
SessionHandle
*
,
struct
connectdata
**
,
bool
*
async
,
bool
*
protocol_connect
);
CURLcode
Curl_async_resolved
(
struct
connectdata
*
conn
,
bool
*
protocol_connect
);
CURLcode
Curl_do
(
struct
connectdata
**
,
bool
*
done
);
CURLcode
Curl_do_more
(
struct
connectdata
*
);
CURLcode
Curl_done
(
struct
connectdata
**
,
CURLcode
,
bool
premature
);
...
...
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