… | |
… | |
245 | yet. This data will be lost. Calling the C<stoptls> method in time might |
245 | yet. This data will be lost. Calling the C<stoptls> method in time might |
246 | help. |
246 | help. |
247 | |
247 | |
248 | =item peername => $string |
248 | =item peername => $string |
249 | |
249 | |
250 | A string used to identify the remote site - usually the DNS hostname used |
250 | A string used to identify the remote site - usually the DNS hostname |
251 | to create the connection. |
251 | (I<not> IDN!) used to create the connection, rarely the IP address. |
252 | |
252 | |
253 | Apart from being useful in error messages, this string is also used in TLS |
253 | Apart from being useful in error messages, this string is also used in TLS |
254 | common name verification (see C<verify_cn> in L<AnyEvent::TLS>). |
254 | common name verification (see C<verify_cn> in L<AnyEvent::TLS>). |
255 | |
255 | |
256 | =item tls => "accept" | "connect" | Net::SSLeay::SSL object |
256 | =item tls => "accept" | "connect" | Net::SSLeay::SSL object |