# 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 1262 "blib/lib/Net/SSLeay.pm (autosplit into blib/lib/auto/Net/SSLeay/do_httpx3.al)" sub do_httpx3 { my ($method, $usessl, $site, $port, $path, $headers, $content, $mime_type, $crt_path, $key_path) = @_; my ($response, $page, $h,$v); my $len = blength($content); if ($len) { $mime_type = "application/x-www-form-urlencoded" unless $mime_type; $content = "Content-Type: $mime_type$CRLF" . "Content-Length: $len$CRLF$CRLF$content"; } else { $content = "$CRLF$CRLF"; } my $req = "$method $path HTTP/1.0$CRLF"; unless (defined $headers && $headers =~ /^Host:/m) { $req .= "Host: $site"; unless (($port == 80 && !$usessl) || ($port == 443 && $usessl)) { $req .= ":$port"; } $req .= $CRLF; } $req .= (defined $headers ? $headers : '') . "Accept: */*$CRLF$content"; warn "do_httpx3($method,$usessl,$site:$port)" if $trace; my ($http, $errs, $server_cert) = httpx_cat($usessl, $site, $port, $req, $crt_path, $key_path); return (undef, "HTTP/1.0 900 NET OR SSL ERROR$CRLF$CRLF$errs") if $errs; $http = '' if !defined $http; ($headers, $page) = split /\s?\n\s?\n/, $http, 2; warn "headers >$headers< page >>$page<< http >>>$http<<<" if $trace>1; ($response, $headers) = split /\s?\n/, $headers, 2; return ($page, $response, $headers, $server_cert); } # end of Net::SSLeay::do_httpx3 1;
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
SSLeay.so | File | 423.98 KB | 0755 |
|
autosplit.ix | File | 1.54 KB | 0644 |
|
debug_read.al | File | 677 B | 0644 |
|
do_https.al | File | 507 B | 0644 |
|
do_https2.al | File | 446 B | 0644 |
|
do_https3.al | File | 466 B | 0644 |
|
do_https4.al | File | 357 B | 0644 |
|
do_httpx2.al | File | 535 B | 0644 |
|
do_httpx3.al | File | 1.52 KB | 0644 |
|
do_httpx4.al | File | 544 B | 0644 |
|
dump_peer_certificate.al | File | 958 B | 0644 |
|
get_http.al | File | 316 B | 0644 |
|
get_http3.al | File | 319 B | 0644 |
|
get_http4.al | File | 319 B | 0644 |
|
get_https.al | File | 319 B | 0644 |
|
get_https3.al | File | 322 B | 0644 |
|
get_https4.al | File | 322 B | 0644 |
|
get_httpx.al | File | 316 B | 0644 |
|
get_httpx3.al | File | 319 B | 0644 |
|
get_httpx4.al | File | 319 B | 0644 |
|
head_http.al | File | 319 B | 0644 |
|
head_http3.al | File | 322 B | 0644 |
|
head_http4.al | File | 346 B | 0644 |
|
head_https.al | File | 322 B | 0644 |
|
head_https3.al | File | 325 B | 0644 |
|
head_https4.al | File | 333 B | 0644 |
|
head_httpx.al | File | 319 B | 0644 |
|
head_httpx3.al | File | 322 B | 0644 |
|
head_httpx4.al | File | 399 B | 0644 |
|
http_cat.al | File | 1.18 KB | 0644 |
|
https_cat.al | File | 2.96 KB | 0644 |
|
httpx_cat.al | File | 558 B | 0644 |
|
initialize.al | File | 814 B | 0644 |
|
make_form.al | File | 604 B | 0644 |
|
make_headers.al | File | 575 B | 0644 |
|
new_x_ctx.al | File | 1.2 KB | 0644 |
|
open_proxy_tcp_connection.al | File | 1.25 KB | 0644 |
|
open_tcp_connection.al | File | 1.4 KB | 0644 |
|
post_http.al | File | 318 B | 0644 |
|
post_http3.al | File | 321 B | 0644 |
|
post_http4.al | File | 321 B | 0644 |
|
post_https.al | File | 321 B | 0644 |
|
post_https3.al | File | 324 B | 0644 |
|
post_https4.al | File | 324 B | 0644 |
|
post_httpx.al | File | 318 B | 0644 |
|
post_httpx3.al | File | 321 B | 0644 |
|
post_httpx4.al | File | 321 B | 0644 |
|
put_http.al | File | 316 B | 0644 |
|
put_http3.al | File | 319 B | 0644 |
|
put_http4.al | File | 319 B | 0644 |
|
put_https.al | File | 319 B | 0644 |
|
put_https3.al | File | 322 B | 0644 |
|
put_https4.al | File | 322 B | 0644 |
|
put_httpx.al | File | 316 B | 0644 |
|
put_httpx3.al | File | 319 B | 0644 |
|
put_httpx4.al | File | 319 B | 0644 |
|
randomize.al | File | 1.05 KB | 0644 |
|
set_cert_and_key.al | File | 805 B | 0644 |
|
set_proxy.al | File | 540 B | 0644 |
|
set_server_cert_and_key.al | File | 413 B | 0644 |
|
ssl_read_CRLF.al | File | 384 B | 0644 |
|
ssl_read_all.al | File | 801 B | 0644 |
|
ssl_read_until.al | File | 3.04 KB | 0644 |
|
ssl_write_CRLF.al | File | 812 B | 0644 |
|
ssl_write_all.al | File | 5.6 KB | 0644 |
|
sslcat.al | File | 3.05 KB | 0644 |
|
tcp_read_CRLF.al | File | 400 B | 0644 |
|
tcp_read_all.al | File | 756 B | 0644 |
|
tcp_read_until.al | File | 970 B | 0644 |
|
tcp_write_CRLF.al | File | 793 B | 0644 |
|
tcp_write_all.al | File | 1.2 KB | 0644 |
|
tcpcat.al | File | 1.33 KB | 0644 |
|
tcpxcat.al | File | 485 B | 0644 |
|
want_X509_lookup.al | File | 441 B | 0644 |
|
want_nothing.al | File | 357 B | 0644 |
|
want_read.al | File | 309 B | 0644 |
|
want_write.al | File | 312 B | 0644 |
|