Fix the issue with a timeout occurring when you try to send a literal string buffer as if it were a file. I think something is broken in the session_read_handler just by virtue of it using strlen() where binary bodies may be involved. Also, judging from the CURL docs it is really meant for files, or other situations where you fetch from an external source (like an upstream server).
Fix the issue with a timeout occurring when you try to send a literal string buffer as if it were a file. I think something is broken in the session_read_handler just by virtue of it using
strlen()
where binary bodies may be involved. Also, judging from the CURL docs it is really meant for files, or other situations where you fetch from an external source (like an upstream server).Should resolve #12