inliniac/suricata — pull request #1213 by inliniac (2014-11-16 16:27:54+00:00)
Title: lua:  in streaming api, indicate open/close

The SCStreamingBuffer call now also returns two booleans:
data, data_open, data_close = SCStreamingBuffer()

The first indicates this is the first data of this type for this
TCP session or HTTP transaction.

The second indicates this is the last data.

Ticket #1317.