traefik/server
Timo Reimann 2c45428c8a Maintain sticky flag on LB method validation failure.
We previously did not copy the sticky flag if the load-balancer
method validation failed, causing enabled stickiness to be dropped in
case of a validation error (which, technically, for us is the same as a
load-balancer configuration without an explicitly set method). This
change fixes that.

A few refactorings and improvements along the way:

- Move the frontend and backend configuration steps into separate
  methods/functions for better testability.
- Include the invalid method name in the error value and avoid log
  duplication.
- Add tests for the backend configuration part.
2017-05-16 00:06:42 +02:00
..
adapters.go Extract some code in packages 2017-04-20 10:06:41 +02:00
configuration.go mprove Rancher provider functionality: 2017-04-29 15:37:54 -04:00
rules.go Fix regex with PathStrip 2017-04-28 17:33:14 +02:00
rules_test.go Extract some code in packages 2017-04-20 10:06:41 +02:00
server.go Maintain sticky flag on LB method validation failure. 2017-05-16 00:06:42 +02:00
server_test.go Maintain sticky flag on LB method validation failure. 2017-05-16 00:06:42 +02:00
web.go refactor: clean code 2017-04-24 10:04:57 +02:00