From: Frédéric Lécaille <>

Hi ML, Willy,

Here is a new series of patches for this feature with Willy's remarks
taken into an account. Was easy to break something ;) but I think
this series does not break the current usage of "peers" section.

I prefered work from the previous series without rebasing anything
excepted for the doc patch.

So, the first nine patches #1 up to #9 included are the same as in the
first series. Then come the three last patches with the patch for the
doc as the last one.

I will check how to test all this asap. I think we have to modify
vtest/varnishtest to resolve macros created by different haproxy processes.
The expansion must be done at the very last time: when all the macros have
been created.


Frédéric Lécaille (12):
  MINOR: cfgparse: Extract some code to be re-used.
  CLEANUP: cfgparse: Return asap from cfg_parse_peers().
  CLEANUP: cfgparse: Code reindentation.
  MINOR: cfgparse: Useless frontend initialization in "peers" sections.
  MINOR: cfgparse: Rework peers frontend init.
  MINOR: cfgparse: Simplication.
  MINOR: cfgparse: Make "peer" lines be parsed as "server" lines.
  MINOR: peers: Make outgoing connection to SSL/TLS peers work.
  MINOR: cfgparse: SSL/TLS binding in "peers" sections.
  MINOR: cfgparse: peers: Be less confusing.
  MINOR: peers: Less confusing peer binding parsing.
  DOC: peers: SSL/TLS documentation for "peers"

 doc/configuration.txt  |  40 ++++-
 include/proto/peers.h  |  26 ++++
 include/proto/server.h |   2 +-
 include/types/peers.h  |   1 +
 src/cfgparse-listen.c  |   2 +-
 src/cfgparse.c         | 405 ++++++++++++++++++++++++++++++++++++-------------
 src/peers.c            |   7 +-
 src/server.c           |  13 +-
 8 files changed, 380 insertions(+), 116 deletions(-)


Reply via email to