On Aug 16, 2014, at 8:29 AM, Brian Geffon <briangef...@gmail.com> wrote:
> I'm definitely +1 for functor/iterator semantics, ideally it could be done > in such a way as to preserve backwards compatability. My initial reaction is against a callback-based API because that's not consistent with the existing API patterns. An iterator is probably more appropriate. > On Aug 16, 2014 10:35 PM, "Leif Hedstrom" <zw...@apache.org> wrote: > >> I have some mixed feeling on this. Such as, is us TSMimeHdrFieldGet a >> better candidate to improve for looping over all fields ? Or even a new API >> with functor semantics? >> >> TSMimeHdrFieldGet at least avoids one loop to avoid finding the slotnum >> >>> On Aug 16, 2014, at 5:29 AM, Brian Geffon <briangef...@gmail.com> wrote: >>> >>> If no one has already started on a fix I can take this. >>> >>> Brian >>>> On Aug 16, 2014 6:13 AM, "Nick Kew" <n...@apache.org> wrote: >>>> >>>> >>>>> On 15 Aug 2014, at 21:55, James Peach wrote: >>>>> >>>>> What's a real use case for iterating over all the headers? >>>> >>>> Ironbee. Or any WAF, or WAF framework. >>>> >>>> Or performance analysis tools. >>>> >>>> -- >>>> Nick Kew >>>> >>