Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
5f74f5ff
Unverified
Commit
5f74f5ff
authored
Sep 24, 2018
by
Federico G. Schwindt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Spelling
parent
aa2dd82a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
vtc_http2.c
bin/varnishtest/vtc_http2.c
+1
-1
vmod_std.c
lib/libvmod_std/vmod_std.c
+1
-1
No files found.
bin/varnishtest/vtc_http2.c
View file @
5f74f5ff
...
...
@@ -1213,7 +1213,7 @@ cmd_var_resolve(const struct stream *s, const char *spec, char *buf)
/* SECTION: stream.spec.frame_sendhex sendhex
*
* Push bytes directly on the wire. sendhex takes exactly one argument: a string
* describing the bytes, in hex notation, wi
ll
possible whitespaces between
* describing the bytes, in hex notation, wi
th
possible whitespaces between
* them. Here's an example::
*
* sendhex "00 00 08 00 0900 8d"
...
...
lib/libvmod_std/vmod_std.c
View file @
5f74f5ff
...
...
@@ -298,7 +298,7 @@ vmod_syntax(VRT_CTX, VCL_REAL r)
assert
(
ctx
->
syntax
==
40
||
ctx
->
syntax
==
41
);
/*
* We need to be careful because non-integer numbers have imprecise
* IEE754 represenation (4.1 is 0x1.0666666666666p+2 = 4.09999...)
* IEE754 represen
t
ation (4.1 is 0x1.0666666666666p+2 = 4.09999...)
* By scaling up and rounding, this is taken care of.
*/
return
(
round
(
r
*
10
)
<=
ctx
->
syntax
);
...
...
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