We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6038c91 commit 9a9709dCopy full SHA for 9a9709d
src/http/ffi.rs
@@ -35,6 +35,8 @@ pub unsafe fn header_map_to_http_headers(header_map: *const HeaderMap) -> Vec<He
35
36
while !current.is_null() {
37
let header = &*current;
38
+ current = header.next;
39
+
40
let name = match c_char_to_str(header.name) {
41
None => continue,
42
Some(s) => s,
@@ -48,8 +50,6 @@ pub unsafe fn header_map_to_http_headers(header_map: *const HeaderMap) -> Vec<He
48
50
name: name.to_string(),
49
51
value: value.to_string(),
52
});
-
- current = header.next;
53
}
54
55
headers
0 commit comments