Mercurial > hg > nginx-tests
comparison proxy_protocol2_server.t @ 1693:5ac6efbe5552
Tests: removed TODO and try_run() checks for legacy versions.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Tue, 01 Jun 2021 16:40:18 +0300 |
parents | 7676944968c1 |
children |
comparison
equal
deleted
inserted
replaced
1692:f6795e2e6a4b | 1693:5ac6efbe5552 |
---|---|
68 } | 68 } |
69 | 69 |
70 EOF | 70 EOF |
71 | 71 |
72 $t->write_file('t1', 'SEE-THIS'); | 72 $t->write_file('t1', 'SEE-THIS'); |
73 $t->try_run('no proxy_protocol_server_addr')->plan(28); | 73 $t->run()->plan(28); |
74 | 74 |
75 ############################################################################### | 75 ############################################################################### |
76 | 76 |
77 my $p = pack("N3C", 0x0D0A0D0A, 0x000D0A51, 0x5549540A, 0x21); | 77 my $p = pack("N3C", 0x0D0A0D0A, 0x000D0A51, 0x5549540A, 0x21); |
78 my $tcp4 = $p . pack("CnN2n2", 0x11, 12, 0xc0000201, 0xc0000202, 123, 567); | 78 my $tcp4 = $p . pack("CnN2n2", 0x11, 12, 0xc0000201, 0xc0000202, 123, 567); |