projects
/
haproxy-2.5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a329802
)
CLEANUP: Reapply the ist2() replacement patch
author
Tim Duesterhus
<tim@bastelstu.be>
Tue, 2 Mar 2021 17:57:26 +0000
(18:57 +0100)
committer
Willy Tarreau
<w@1wt.eu>
Wed, 3 Mar 2021 04:07:10 +0000
(
05:07
+0100)
One location was not matched due to a typo. Reapply the patch for consistency.
see
92c696e663ab4bbcffd5dc0afedf1d0afd1c7279
see
a3298023b04923ba12429d79c559dc7a850ae122
src/mux_h2.c
patch
|
blob
|
history
diff --git
a/src/mux_h2.c
b/src/mux_h2.c
index
4dada0b
..
3810943
100644
(file)
--- a/
src/mux_h2.c
+++ b/
src/mux_h2.c
@@
-5360,8
+5360,7
@@
static size_t h2s_bck_make_req_headers(struct h2s *h2s, struct htx *htx)
if (len + 2 < uri.len && uri.ptr[len + 1] == '/' && uri.ptr[len + 2] == '/') {
/* make the uri start at the authority now */
- scheme.ptr = uri.ptr;
- scheme.len = len;
+ scheme = ist2(uri.ptr, len);
uri.ptr += len + 3;
uri.len -= len + 3;