haproxy/include
Christopher Faulet 31ed32dce4 MEDIUM: filters: Add attch/detach and stream_set_backend callbacks
New callbacks have been added to handle creation and destruction of filter
instances:

* 'attach' callback is called after a filter instance creation, when it is
  attached to a stream. This happens when the stream is started for filters
  defined on the stream's frontend and when the backend is set for filters
  declared on the stream's backend. It is possible to ignore the filter, if
  needed, by returning 0. This could be useful to have conditional filtering.

* 'detach' callback is called when a filter instance is detached from a stream,
  before its destruction. This happens when the stream is stopped for filters
  defined on the stream's frontend and when the analyze ends for filters defined
  on the stream's backend.

In addition, the callback 'stream_set_backend' has been added to know when a
backend is set for a stream. It is only called when the frontend and the backend
are not the same. And it is called for all filters attached to a stream
(frontend and backend).

Finally, the TRACE filter has been updated.
2016-11-09 22:50:54 +01:00
..
common CLEANUP: remove last references to 'ruleset' section 2016-11-09 22:50:54 +01:00
import CLEANUP: wurfl: reduce exposure in the rest of the code 2016-11-08 18:47:25 +01:00
proto MEDIUM: server: make use of init-addr 2016-11-09 15:30:47 +01:00
types MEDIUM: filters: Add attch/detach and stream_set_backend callbacks 2016-11-09 22:50:54 +01:00