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
dd11333f
Commit
dd11333f
authored
25 years ago
by
Daniel Stenberg
Browse files
Options
Downloads
Patches
Plain Diff
new fields in the progress struct
parent
10f95802
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/urldata.h
+6
-3
6 additions, 3 deletions
lib/urldata.h
with
6 additions
and
3 deletions
lib/urldata.h
+
6
−
3
View file @
dd11333f
...
...
@@ -110,6 +110,9 @@ struct Progress {
int
width
;
/* screen width at download start */
int
flags
;
/* see progress.h */
struct
timeval
start
;
double
timespent
;
double
dlspeed
;
double
ulspeed
;
};
struct
UrlData
{
...
...
@@ -175,9 +178,6 @@ struct UrlData {
char
*
newurl
;
/* This can only be set if a Location: was in the
document headers */
#ifdef MULTIDOC
struct
MoreDoc
*
moredoc
;
/* linked list of more docs to get */
#endif
struct
HttpHeader
*
headers
;
/* linked list of extra headers */
struct
HttpPost
*
httppost
;
/* linked list of POST data */
...
...
@@ -204,6 +204,9 @@ struct UrlData {
char
*
headerbuff
;
/* allocated buffer to store headers in */
int
headersize
;
/* size of the allocation */
char
*
writeinfo
;
/* if non-NULL describes what to output on a successful
completion */
struct
Progress
progress
;
#define MAX_CURL_USER_LENGTH 128
...
...
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