Page MenuHomeDevCentral

Improve support for multiple remote addresses
ClosedPublic

Authored by dereckson on May 13 2018, 18:48.

Details

Summary

Currently, if a proxy declares more than one remote address,
the separator needed to be a comma.

But Squid documentation provides a syntax with spaces.

To provide a better support, this change explodes the IP address
with several delimiters, comma and whitespaces (\r \n \t \f and space).

Test Plan

New tests provided

Diff Detail

Repository
rKOT Keruald OmniTools
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

dereckson requested review of this revision.May 13 2018, 18:48
dereckson created this revision.
dereckson accepted this revision.May 13 2018, 19:22
This revision is now accepted and ready to land.May 13 2018, 19:22
This revision was automatically updated to reflect the committed changes.