ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/AnyEvent/lib/AnyEvent/Handle.pm
(Generate patch)

Comparing AnyEvent/lib/AnyEvent/Handle.pm (file contents):
Revision 1.250 by root, Tue Feb 26 01:35:48 2019 UTC vs.
Revision 1.251 by root, Tue Feb 26 02:08:34 2019 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines