aboutsummaryrefslogtreecommitdiffstats
path: root/epan/req_resp_hdrs.h
diff options
context:
space:
mode:
Diffstat (limited to 'epan/req_resp_hdrs.h')
-rw-r--r--epan/req_resp_hdrs.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/epan/req_resp_hdrs.h b/epan/req_resp_hdrs.h
index 1bf6374717..f29e970c11 100644
--- a/epan/req_resp_hdrs.h
+++ b/epan/req_resp_hdrs.h
@@ -21,11 +21,15 @@
* @param offset The offset in the buffer to begin inspection.
* @param pinfo Packet info from the parent protocol.
* @param desegment_headers Do desegmentation on headers.
- * @param desegment_body Do desegmenation on body.
+ * @param desegment_body Do desegmentation on body.
+ * @param desegment_until_fin When desegment_body is enabled and no
+ * Content-Length header is found, assume that all data following the headers
+ * are part of the body.
* @return TRUE if desegmentation is complete otherwise FALSE
*/
WS_DLL_PUBLIC gboolean
req_resp_hdrs_do_reassembly(tvbuff_t *tvb, const int offset, packet_info *pinfo,
- const gboolean desegment_headers, const gboolean desegment_body);
+ const gboolean desegment_headers, const gboolean desegment_body,
+ gboolean desegment_until_fin);
#endif