Sha256: fa3c64a16403cf66690e5b4517a9d5cd9c3b06e660402df245c6a1bd0030a3f6
Contents?: true
Size: 757 Bytes
Versions: 2
Compression:
Stored size: 757 Bytes
Contents
# 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 1861 "blib/lib/Net/SSLeay.pm (autosplit into blib/lib/auto/Net/SSLeay/tcp_read_all.al)" sub tcp_read_all { my ($how_much) = @_; $how_much = 2000000000 unless $how_much; my ($n, $got, $errs); my $reply = ''; my $bsize = 0x10000; while ($how_much > 0) { $n = sysread(SSLCAT_S,$got, (($bsize < $how_much) ? $bsize : $how_much)); warn "Read error: $! ($n,$how_much)" unless defined $n; last if !$n; # EOF $how_much -= $n; debug_read(\$reply, \$got) if $trace>1; $reply .= $got; } return wantarray ? ($reply, $errs) : $reply; } # end of Net::SSLeay::tcp_read_all 1;
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
STLExtract-1.0.1 | Slic3r/Linux/lib/std/auto/Net/SSLeay/tcp_read_all.al |
STLExtract-1.0.0 | Slic3r/Linux/lib/std/auto/Net/SSLeay/tcp_read_all.al |