GRAYBYTE WORDPRESS FILE MANAGER4587

Server IP : 198.54.121.189 / Your IP : 216.73.216.112
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /usr/lib64/perl5/vendor_perl/auto/Net/SSLeay/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /usr/lib64/perl5/vendor_perl/auto/Net/SSLeay//ssl_read_until.al
# NOTE: Derived from blib/lib/Net/SSLeay.pm.
# Changes made here will be lost when autosplit is run again.
# See AutoSplit.pm.
package Net::SSLeay;

#line 799 "blib/lib/Net/SSLeay.pm (autosplit into blib/lib/auto/Net/SSLeay/ssl_read_until.al)"
### from patch by Clinton Wong <clintdw@netcom.com>

# ssl_read_until($ssl [, $delimit [, $max_length]])
#  if $delimit missing, use $/ if it exists, otherwise use \n
#  read until delimiter reached, up to $max_length chars if defined

sub ssl_read_until ($;$$) {
    my ($ssl,$delim, $max_length) = @_;

    # guess the delim string if missing
    if ( ! defined $delim ) {
      if ( defined $/ && length $/  ) { $delim = $/ }
      else { $delim = "\n" }      # Note: \n,$/ value depends on the platform
    }
    my $len_delim = length $delim;

    my ($got);
    my $reply = '';

    # If we have OpenSSL 0.9.6a or later, we can use SSL_peek to
    # speed things up.
    # N.B. 0.9.6a has security problems, so the support for
    #      anything earlier than 0.9.6e will be dropped soon.
    if (&Net::SSLeay::OPENSSL_VERSION_NUMBER >= 0x0090601f) {
	$max_length = 2000000000 unless (defined $max_length);
	my ($pending, $peek_length, $found, $done);
	while (blength($reply) < $max_length and !$done) {
	    #Block if necessary until we get some data
	    $got = Net::SSLeay::peek($ssl,1);
	    last if print_errs('SSL_peek');

	    $pending = Net::SSLeay::pending($ssl) + blength($reply);
	    $peek_length = ($pending > $max_length) ? $max_length : $pending;
	    $peek_length -= blength($reply);
	    $got = Net::SSLeay::peek($ssl, $peek_length);
	    last if print_errs('SSL_peek');
	    $peek_length = blength($got);

	    #$found = index($got, $delim);  # Old and broken

	    # the delimiter may be split across two gets, so we prepend
	    # a little from the last get onto this one before we check
	    # for a match
	    my $match;
	    if(blength($reply) >= blength($delim) - 1) {
		#if what we've read so far is greater or equal
		#in length of what we need to prepatch
		$match = substr $reply, blength($reply) - blength($delim) + 1;
	    } else {
		$match = $reply;
	    }

	    $match .= $got;
	    $found = index($match, $delim);

	    if ($found > -1) {
		#$got = Net::SSLeay::ssl_read_all($ssl, $found+$len_delim);
		#read up to the end of the delimiter
		$got = Net::SSLeay::ssl_read_all($ssl,
					 $found + $len_delim
					 - ((blength($match)) - (blength($got))));
		$done = 1;
	    } else {
		$got = Net::SSLeay::ssl_read_all($ssl, $peek_length);
		$done = 1 if ($peek_length == $max_length - blength($reply));
	    }

	    last if print_errs('SSL_read');
	    debug_read(\$reply, \$got) if $trace>1;
	    last if $got eq '';
	    $reply .= $got;
	}
    } else {
	while (!defined $max_length || length $reply < $max_length) {
	    $got = Net::SSLeay::ssl_read_all($ssl,1);  # one by one
	    last if print_errs('SSL_read');
	    debug_read(\$reply, \$got) if $trace>1;
	    last if $got eq '';
	    $reply .= $got;
	    last if $len_delim
		&& substr($reply, blength($reply)-$len_delim) eq $delim;
	}
    }
    return $reply;
}

# end of Net::SSLeay::ssl_read_until
1;

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
March 03 2024 19:11:18
root / root
0755
SSLeay.so
601.711 KB
April 22 2022 17:22:43
root / root
0755
autosplit.ix
1.544 KB
April 22 2022 17:22:32
root / root
0644
debug_read.al
0.661 KB
April 22 2022 17:22:32
root / root
0644
do_https.al
0.496 KB
April 22 2022 17:22:32
root / root
0644
do_https2.al
0.436 KB
April 22 2022 17:22:32
root / root
0644
do_https3.al
0.455 KB
April 22 2022 17:22:32
root / root
0644
do_https4.al
0.349 KB
April 22 2022 17:22:32
root / root
0644
do_httpx2.al
0.546 KB
April 22 2022 17:22:32
root / root
0644
do_httpx3.al
1.521 KB
April 22 2022 17:22:32
root / root
0644
do_httpx4.al
0.531 KB
April 22 2022 17:22:32
root / root
0644
dump_peer_certificate.al
0.936 KB
April 22 2022 17:22:32
root / root
0644
get_http.al
0.309 KB
April 22 2022 17:22:32
root / root
0644
get_http3.al
0.312 KB
April 22 2022 17:22:32
root / root
0644
get_http4.al
0.312 KB
April 22 2022 17:22:32
root / root
0644
get_https.al
0.312 KB
April 22 2022 17:22:32
root / root
0644
get_https3.al
0.314 KB
April 22 2022 17:22:32
root / root
0644
get_https4.al
0.314 KB
April 22 2022 17:22:32
root / root
0644
get_httpx.al
0.309 KB
April 22 2022 17:22:32
root / root
0644
get_httpx3.al
0.312 KB
April 22 2022 17:22:32
root / root
0644
get_httpx4.al
0.312 KB
April 22 2022 17:22:32
root / root
0644
head_http.al
0.312 KB
April 22 2022 17:22:32
root / root
0644
head_http3.al
0.314 KB
April 22 2022 17:22:32
root / root
0644
head_http4.al
0.338 KB
April 22 2022 17:22:32
root / root
0644
head_https.al
0.314 KB
April 22 2022 17:22:32
root / root
0644
head_https3.al
0.317 KB
April 22 2022 17:22:32
root / root
0644
head_https4.al
0.325 KB
April 22 2022 17:22:32
root / root
0644
head_httpx.al
0.312 KB
April 22 2022 17:22:32
root / root
0644
head_httpx3.al
0.314 KB
April 22 2022 17:22:32
root / root
0644
head_httpx4.al
0.39 KB
April 22 2022 17:22:32
root / root
0644
http_cat.al
1.175 KB
April 22 2022 17:22:32
root / root
0644
https_cat.al
2.957 KB
April 22 2022 17:22:32
root / root
0644
httpx_cat.al
0.545 KB
April 22 2022 17:22:32
root / root
0644
initialize.al
0.796 KB
April 22 2022 17:22:32
root / root
0644
make_form.al
0.59 KB
April 22 2022 17:22:32
root / root
0644
make_headers.al
0.562 KB
April 22 2022 17:22:32
root / root
0644
new_x_ctx.al
1.813 KB
April 22 2022 17:22:32
root / root
0644
open_proxy_tcp_connection.al
1.254 KB
April 22 2022 17:22:32
root / root
0644
open_tcp_connection.al
1.447 KB
April 22 2022 17:22:32
root / root
0644
post_http.al
0.311 KB
April 22 2022 17:22:32
root / root
0644
post_http3.al
0.313 KB
April 22 2022 17:22:32
root / root
0644
post_http4.al
0.313 KB
April 22 2022 17:22:32
root / root
0644
post_https.al
0.313 KB
April 22 2022 17:22:32
root / root
0644
post_https3.al
0.316 KB
April 22 2022 17:22:32
root / root
0644
post_https4.al
0.316 KB
April 22 2022 17:22:32
root / root
0644
post_httpx.al
0.311 KB
April 22 2022 17:22:32
root / root
0644
post_httpx3.al
0.313 KB
April 22 2022 17:22:32
root / root
0644
post_httpx4.al
0.313 KB
April 22 2022 17:22:32
root / root
0644
put_http.al
0.309 KB
April 22 2022 17:22:32
root / root
0644
put_http3.al
0.312 KB
April 22 2022 17:22:32
root / root
0644
put_http4.al
0.312 KB
April 22 2022 17:22:32
root / root
0644
put_https.al
0.312 KB
April 22 2022 17:22:32
root / root
0644
put_https3.al
0.314 KB
April 22 2022 17:22:32
root / root
0644
put_https4.al
0.314 KB
April 22 2022 17:22:32
root / root
0644
put_httpx.al
0.309 KB
April 22 2022 17:22:32
root / root
0644
put_httpx3.al
0.312 KB
April 22 2022 17:22:32
root / root
0644
put_httpx4.al
0.312 KB
April 22 2022 17:22:32
root / root
0644
randomize.al
1.003 KB
April 22 2022 17:22:32
root / root
0644
set_cert_and_key.al
0.809 KB
April 22 2022 17:22:32
root / root
0644
set_proxy.al
0.527 KB
April 22 2022 17:22:32
root / root
0644
set_server_cert_and_key.al
0.403 KB
April 22 2022 17:22:32
root / root
0644
ssl_read_CRLF.al
0.375 KB
April 22 2022 17:22:32
root / root
0644
ssl_read_all.al
1.022 KB
April 22 2022 17:22:32
root / root
0644
ssl_read_until.al
3.069 KB
April 22 2022 17:22:32
root / root
0644
ssl_write_CRLF.al
0.793 KB
April 22 2022 17:22:32
root / root
0644
ssl_write_all.al
5.599 KB
April 22 2022 17:22:32
root / root
0644
sslcat.al
3.052 KB
April 22 2022 17:22:32
root / root
0644
tcp_read_CRLF.al
0.391 KB
April 22 2022 17:22:32
root / root
0644
tcp_read_all.al
0.738 KB
April 22 2022 17:22:32
root / root
0644
tcp_read_until.al
0.947 KB
April 22 2022 17:22:32
root / root
0644
tcp_write_CRLF.al
0.774 KB
April 22 2022 17:22:32
root / root
0644
tcp_write_all.al
1.202 KB
April 22 2022 17:22:32
root / root
0644
tcpcat.al
1.326 KB
April 22 2022 17:22:32
root / root
0644
tcpxcat.al
0.474 KB
April 22 2022 17:22:32
root / root
0644
want_X509_lookup.al
0.431 KB
April 22 2022 17:22:32
root / root
0644
want_nothing.al
0.349 KB
April 22 2022 17:22:32
root / root
0644
want_read.al
0.302 KB
April 22 2022 17:22:32
root / root
0644
want_write.al
0.305 KB
April 22 2022 17:22:32
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF