| Server IP : 162.214.74.102 / Your IP : 216.73.216.252 Web Server : Apache System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64 User : lrsys ( 1015) PHP Version : 5.6.40 Disable Function : exec,passthru,shell_exec,system MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /opt/cpanel/ea-ruby24/root/usr/share/ri/system/OpenSSL/SSL/SSLContext/ |
Upload File : |
U:RDoc::Attr[iI"renegotiation_cb:ETI".OpenSSL::SSL::SSLContext#renegotiation_cb;TI"RW;T:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"KA callback invoked whenever a new handshake is initiated. May be used ;TI"'to disable renegotiation entirely.;To:RDoc::Markup::BlankLine o;
; [ I"GThe callback is invoked with the active SSLSocket. The callback's ;TI"Kreturn value is irrelevant, normal return indicates "approval" of the ;TI"Jrenegotiation and will continue the process. To forbid renegotiation ;TI"Kand to cancel the process, an Error may be raised within the callback.;T@S:RDoc::Markup::Heading:
leveli: textI"!Disable client renegotiation;T@o;
; [I"DWhen running a server, it is often desirable to disable client ;TI"Lrenegotiation entirely. You may use a callback as follows to implement ;TI"this feature:;T@o:RDoc::Markup::Verbatim; [
I"num_handshakes = 0
;TI",ctx.renegotiation_cb = lambda do |ssl|
;TI" num_handshakes += 1
;TI"U raise RuntimeError.new("Client renegotiation disabled") if num_handshakes > 1
;TI"end;T:@format0:
@fileI"ext/openssl/ossl_ssl.c;T:0@omit_headings_from_table_of_contents_below0F@%I"OpenSSL::SSL::SSLContext;TcRDoc::NormalClass0