Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libvmod-tus
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
libvmod-tus
Commits
68e07d49
Unverified
Commit
68e07d49
authored
Jan 03, 2024
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Flexelinting
parent
26f79400
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
3 deletions
+6
-3
flint.lnt
src/flint.lnt
+1
-0
tus_file.c
src/tus_file.c
+3
-1
tus_file.h
src/tus_file.h
+0
-1
tus_stv.c
src/tus_stv.c
+1
-0
vmod_get_h.c
src/vmod_get_h.c
+1
-1
No files found.
src/flint.lnt
View file @
68e07d49
...
...
@@ -21,6 +21,7 @@
-esym(528, vmod_priv_blob*, VGC_*)
-esym(843, vmod_priv_blob*, VGC_*)
-esym(844, vmod_priv_blob*, VGC_*)
-esym(768, arg_vmod_blob*)
// not fully understood
-efunc(413, *_VSPLAY_NEXT)
...
...
src/tus_file.c
View file @
68e07d49
...
...
@@ -418,6 +418,8 @@ tus_mmap_header(int fd)
MAP_SHARED
|
MAP_NORESERVE
,
fd
,
0
));
}
static
void
tus_file_mmap
(
struct
tus_file_core
*
fcore
);
static
char
*
const
empty
=
""
;
void
...
...
@@ -445,7 +447,7 @@ tus_file_complete(struct tus_file_core *fcore)
fcore
->
ptr
=
empty
;
}
void
static
void
tus_file_mmap
(
struct
tus_file_core
*
fcore
)
{
struct
tus_file_disk
*
fdisk
;
...
...
src/tus_file.h
View file @
68e07d49
...
...
@@ -173,7 +173,6 @@ struct tus_file_core *tus_file_new(VRT_CTX, struct VPFX(tus_server) *,
struct
tus_file_core
*
tus_file_lookup
(
struct
VPFX
(
tus_server
)
*
,
const
char
*
);
unsigned
tus_body_to_file
(
VRT_CTX
,
struct
tus_file_core
*
);
void
tus_file_complete
(
struct
tus_file_core
*
);
void
tus_file_mmap
(
struct
tus_file_core
*
);
#ifdef BAD_IDEA
void
...
...
src/tus_stv.c
View file @
68e07d49
...
...
@@ -249,6 +249,7 @@ tus_objgetattr(struct worker *wrk, struct objcore *oc,
uint64_t
l
;
(
void
)
wrk
;
(
void
)
oc
;
CHECK_OBJ_NOTNULL
(
oc
,
OBJCORE_MAGIC
);
assert
(
oc
->
stobj
->
stevedore
==
&
stv_tus
);
...
...
src/vmod_get_h.c
View file @
68e07d49
...
...
@@ -45,7 +45,7 @@ const struct body_status BS_ERROR[1];
const
struct
vrt_blob
*
vrt_null_blob
=
&
(
struct
vrt_blob
){
.
type
=
VRT_NULL_BLOB_TYPE
,
.
len
=
0
,
.
blob
=
"
\0
"
.
blob
=
""
};
int
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment