commit | d1769b8b9a4d897a17f14ddac4faf400e0713433 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon Apr 06 00:25:48 2015 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Mon Apr 06 11:37:35 2015 +0200 |
tree | 9c7eb0fa34187051f95364864a168043bfd3a415 | |
parent | fb9f5849563bb0ac7a3257023dc1e842314e0c82 [diff] |
MEDIUM: stream: don't rely on the session's listener anymore in stream_new() When the stream is instanciated from an applet, it doesn't necessarily have a listener. The listener was sparsely used there, just to retrieve the task function, update the listeners' stats, and set the analysers and default target, both of which are often zero from applets. Thus these elements are now initialized with default values that the caller is free to change if desired.