Skip to content

Commit c5de08b

Browse files
authored
XHTTP client: Revert "Add back minimal path padding for compatibility"
Reverts efdc70f
1 parent 8cb63db commit c5de08b

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

transport/internet/splithttp/config.go

+6-7
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,12 @@ func (c *Config) GetNormalizedQuery() string {
3434
query = pathAndQuery[1]
3535
}
3636

37-
if query != "" {
38-
query += "&"
39-
}
40-
41-
// query += "x_version=" + core.Version()
42-
43-
query += "x_padding=" + strings.Repeat("X", int(c.GetNormalizedXPaddingBytes().From))
37+
/*
38+
if query != "" {
39+
query += "&"
40+
}
41+
query += "x_version=" + core.Version()
42+
*/
4443

4544
return query
4645
}

0 commit comments

Comments
 (0)