This is necessary because addtional header may have been added.
Fixes a crash triggered by an assertion.
Reported by: Nedžad Hrnjica
Sponsored by: Robert Klemme
err = sed(csp, FILTER_CLIENT_HEADERS);
csp->flags |= CSP_FLAG_CLIENT_HEADER_PARSING_DONE;
+ /*
+ * Update the last header which may have changed
+ * due to header additions,
+ */
+ csp->https_headers->last = csp->headers->last;
+
csp->headers->first = headers.first;
csp->headers->last = headers.last;