Improve support for multiple remote addresses
ClosedPublic

Authored by dereckson on Sun, May 13, 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.
dereckson requested review of this revision.Sun, May 13, 18:48
dereckson created this revision.
dereckson accepted this revision.Sun, May 13, 19:22
This revision is now accepted and ready to land.Sun, May 13, 19:22
This revision was automatically updated to reflect the committed changes.