On Thu, Apr 20, 2017 at 06:25:17PM +0200, Olivier Houchard wrote:
> Hi,
> 
> In server_parse_sni_expr(), we use the "proxy" global variable when I think
> we really want to use the "px" argument, so the attached patch fixes this.

Merged, thanks Olivier!

> Hopefully one day that proxy variable will be renamed :)

Yep I agree. We could prepare a small todo-list of things to do before
the release but after the main devs are merged (to avoid pissing off
those who work in their respective areas) :

  - rename "proxy"
  - ensure proxies, servers and other such objects are dual-linked lists
  - replace malloc/free/strdup/realloc with ha_malloc() etc... to make it
    easier to instrument it in the future for debug sessions ;
  - change timers to become unsigned ints
  - split check_config_validity()
  - rename Alert() and Warning(), the two oldest functions in the code
    that date from the time I was using a bit of CaMeLcAsE.

There are probably many other ones but these were the first one coming
to my mind.

Willy

Reply via email to