Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions lib/Net/SSLeay/Handle.pm
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ handled as standard file handles.

tie(*SSL, "Net::SSLeay::Handle", $host, $port);

print SSL "GET / HTTP/1.0\r\n";
print SSL "GET / HTTP/1.0\r\n\r\n";
shutdown(\*SSL, 1);
print while (<SSL>);
close SSL;
Expand All @@ -33,7 +33,7 @@ handled as standard file handles.
Net::SSLeay::Handle allows you to request and receive HTTPS web pages
using "old-fashion" file handles as in:

print SSL "GET / HTTP/1.0\r\n";
print SSL "GET / HTTP/1.0\r\n\r\n";

and

Expand Down Expand Up @@ -322,7 +322,7 @@ non-SSL sockets and do the right thing.

tie(*SSL, "Net::SSLeay::Handle", $host, $port);

print SSL "GET / HTTP/1.0\r\n";
print SSL "GET / HTTP/1.0\r\n\r\n";
shutdown(\*SSL, 1);
print while (<SSL>);
close SSL;
Expand Down