Fixed a bug where HttpMessage.removeHeader() leads to a dangling pointer in the internal data structure
This commit is contained in:
parent
e50e46425a
commit
140aabef68
@ -567,6 +567,7 @@ public class HttpHeaders {
|
|||||||
e = next;
|
e = next;
|
||||||
} else {
|
} else {
|
||||||
entries[i] = null;
|
entries[i] = null;
|
||||||
|
e.remove();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user