in reply to Large HTTPS POST hangs with HTTP::Daemon::SSL
I've just reproduced the problem using 37k of data. It looks like select-sysread loop in HTTP::Daemon doesn't work correctly with IO::Socket::SSL. That's because select in _need_more tests real filehandle and sysread reads from IO::Socket::SSL object which is buffered, so
may actually read more than 2048 bytes from the socket and subsequent select on socket will hang.sysread($self, $_[0], 2048, length($_[0]))
Removing Timeout as proposed by derby solves the problem.
In Section
Seekers of Perl Wisdom