Lines Matching full:custom
156 // Adding some custom trusted proxies.
157 $custom = array_merge($default, ['1.2.3.4', '1122::', '3.0.0.1/8', '1111:2222::/32']);
178 // With custom proxies set.
179 [$custom, '127.0.0.1', true],
180 [$custom, '1.2.3.4', true],
181 [$custom, '3.0.1.2', true],
182 [$custom, '1122::', true],
183 [$custom, '1122:0000:0000:0000:0000:0000:0000:0000', true],
184 [$custom, '1111:2223::', false],
185 [$custom, '1111:2222::', true],
186 [$custom, '1111:2222:3333::', true],
187 [$custom, '1111:2222:3333::1', true],
222 // Adding some custom trusted proxies.
223 $custom = array_merge($default, ['1.2.3.4', '1122::', '3.0.0.1/8', '1111:2222::/32']);
248 // A custom configuration.
249 [$custom, '', '127.0.0.1', []],
250 [$custom, '1.2.3.4', '127.0.0.1', ['1.2.3.4', '127.0.0.1']],
251 [$custom, '1.2.3.4', '192.168.1.1', ['1.2.3.4', '192.168.1.1']],
252 … [$custom, '1.2.3.4,172.16.0.1', '192.168.1.1', ['1.2.3.4', '172.16.0.1', '192.168.1.1']],
253 [$custom, '1.2.3.4,172.16.0.1', '::1', ['1.2.3.4', '172.16.0.1', '::1']],
254 [$custom, '1.2.3.4,172.16.0.1', '::0001', ['1.2.3.4', '172.16.0.1', '::0001']],
257 [$custom, '', '127.0.0.1', []],
258 [$custom, '1.2.3.4', '11.22.33.44', []],
259 [$custom, '::1', '11.22.33.44', []],
260 [$custom, '::1', '::2', []],
263 [$custom, '1.2.3.4,11.22.33.44,172.16.0.1', '192.168.1.1', []],
264 [$custom, '1.2.3.4,::2,172.16.0.1', '::1', []],
266 // Via a custom proxy.
267 …[$custom, '11.2.3.4,3.1.2.3,172.16.0.1', '192.168.1.1', ['11.2.3.4', '3.1.2.3', '172.16.0.1', '192…
268 …[$custom, '11.2.3.4,1122::,172.16.0.1', '3.0.0.1', ['11.2.3.4', '1122::', '172.16.0.1', '3.0.0.1']…
269 …[$custom, '11.2.3.4,1122::,172.16.0.1', '1111:2222:3333::', ['11.2.3.4', '1122::', '172.16.0.1', '…