… | |
… | |
1856 | is handled, up to the fictituous protocol 4.x (but both SSL3+ and |
1856 | is handled, up to the fictituous protocol 4.x (but both SSL3+ and |
1857 | SSL2-compatible framing is supported). |
1857 | SSL2-compatible framing is supported). |
1858 | |
1858 | |
1859 | If it detects that the input data is likely TLS, it calls the callback |
1859 | If it detects that the input data is likely TLS, it calls the callback |
1860 | with a true value for C<$detect> and the (on-wire) TLS version as second |
1860 | with a true value for C<$detect> and the (on-wire) TLS version as second |
1861 | and third argument (C<$major> is C<3>, and C<$minor> is 0..3 for SSL |
1861 | and third argument (C<$major> is C<3>, and C<$minor> is 0..4 for SSL |
1862 | 3.0, TLS 1.0, 1.1 and 1.2, respectively). If it detects the input to |
1862 | 3.0, TLS 1.0, 1.1, 1.2 and 1.3, respectively). If it detects the input |
1863 | be definitely not TLS, it calls the callback with a false value for |
1863 | to be definitely not TLS, it calls the callback with a false value for |
1864 | C<$detect>. |
1864 | C<$detect>. |
1865 | |
1865 | |
1866 | The callback could use this information to decide whether or not to start |
1866 | The callback could use this information to decide whether or not to start |
1867 | TLS negotiation. |
1867 | TLS negotiation. |
1868 | |
1868 | |