* Propagate errors during route building This fixes cases such as invalid paths being silently discarded after creation by throwing a visible error in such cases. Due to the way gorilla/mux's fluent API is designed, it is necessary to manually call `.GetError()` to check for errors while building routes. Signed-off-by: Simon Engmann <simon.engmann@sovity.de> * Add test for route building error propagation Signed-off-by: Simon Engmann <simon.engmann@sovity.de> * Add route building error propagation to changelog Signed-off-by: Simon Engmann <simon.engmann@sovity.de> --------- Signed-off-by: Simon Engmann <simon.engmann@sovity.de> Co-authored-by: Simon Engmann <simon.engmann@sovity.de> |
||
|---|---|---|
| .. | ||
| file.go | ||
| file_test.go | ||
| http.go | ||
| http_test.go | ||
| proxy.go | ||
| proxy_test.go | ||
| rewrite.go | ||
| rewrite_test.go | ||
| static.go | ||
| static_test.go | ||
| upstream_suite_test.go | ||