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
0d722204
Commit
0d722204
authored
17 years ago
by
Daniel Stenberg
Browse files
Options
Downloads
Patches
Plain Diff
https_getsock() should be static all over (and did some fixed indenting)
parent
e829d564
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/http.c
+18
-18
18 additions, 18 deletions
lib/http.c
with
18 additions
and
18 deletions
lib/http.c
+
18
−
18
View file @
0d722204
...
...
@@ -112,8 +112,8 @@
static
CURLcode
https_connecting
(
struct
connectdata
*
conn
,
bool
*
done
);
#ifdef USE_SSL
static
int
https_getsock
(
struct
connectdata
*
conn
,
curl_socket_t
*
socks
,
int
numsocks
);
curl_socket_t
*
socks
,
int
numsocks
);
#endif
/*
...
...
@@ -146,9 +146,9 @@ const struct Curl_handler Curl_handler_https = {
Curl_http_done
,
/* done */
ZERO_NULL
,
/* do_more */
Curl_http_connect
,
/* connect_it */
https_connecting
,
/* connecting */
https_connecting
,
/* connecting */
ZERO_NULL
,
/* doing */
https_getsock
,
/* proto_getsock */
https_getsock
,
/* proto_getsock */
ZERO_NULL
,
/* doing_getsock */
ZERO_NULL
,
/* disconnect */
PORT_HTTPS
,
/* defport */
...
...
@@ -1727,8 +1727,8 @@ static CURLcode https_connecting(struct connectdata *conn, bool *done)
/* This function is OpenSSL-specific. It should be made to query the generic
SSL layer instead. */
static
int
https_getsock
(
struct
connectdata
*
conn
,
curl_socket_t
*
socks
,
int
numsocks
)
curl_socket_t
*
socks
,
int
numsocks
)
{
if
(
conn
->
protocol
&
PROT_HTTPS
)
{
struct
ssl_connect_data
*
connssl
=
&
conn
->
ssl
[
FIRSTSOCKET
];
...
...
@@ -1751,9 +1751,9 @@ static int https_getsock(struct connectdata *conn,
}
#else
#ifdef USE_GNUTLS
int
https_getsock
(
struct
connectdata
*
conn
,
curl_socket_t
*
socks
,
int
numsocks
)
static
int
https_getsock
(
struct
connectdata
*
conn
,
curl_socket_t
*
socks
,
int
numsocks
)
{
(
void
)
conn
;
(
void
)
socks
;
...
...
@@ -1762,9 +1762,9 @@ int https_getsock(struct connectdata *conn,
}
#else
#ifdef USE_NSS
int
https_getsock
(
struct
connectdata
*
conn
,
curl_socket_t
*
socks
,
int
numsocks
)
static
int
https_getsock
(
struct
connectdata
*
conn
,
curl_socket_t
*
socks
,
int
numsocks
)
{
(
void
)
conn
;
(
void
)
socks
;
...
...
@@ -1773,9 +1773,9 @@ int https_getsock(struct connectdata *conn,
}
#else
#ifdef USE_QSOSSL
int
https_getsock
(
struct
connectdata
*
conn
,
curl_socket_t
*
socks
,
int
numsocks
)
static
int
https_getsock
(
struct
connectdata
*
conn
,
curl_socket_t
*
socks
,
int
numsocks
)
{
(
void
)
conn
;
(
void
)
socks
;
...
...
@@ -2759,9 +2759,9 @@ CURLcode Curl_http(struct connectdata *conn, bool *done)
else
/* HTTP GET/HEAD download: */
result
=
Curl_setup_transfer
(
conn
,
FIRSTSOCKET
,
-
1
,
TRUE
,
&
http
->
readbytecount
,
http
->
postdata
?
FIRSTSOCKET
:-
1
,
http
->
postdata
?&
http
->
writebytecount
:
NULL
);
&
http
->
readbytecount
,
http
->
postdata
?
FIRSTSOCKET
:-
1
,
http
->
postdata
?&
http
->
writebytecount
:
NULL
);
}
if
(
result
)
return
result
;
...
...
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