klarna/kco_php — pull request #3 by fiddur (2013-08-19 14:10:08+00:00)
Title: Adding CURLOPT_TIMEOUT with the same timout as CURLOPT_CONNECTTIMEOUT.

This change adds the CURLOPT_TIMEOUT option, so that a hanging
connection won't hang indefinately.

It adds test for this option, and also fixes the test for
CURLOPT_CONNECTTIMEOUT (that was typoed into CURLOPT_RETURNTRANSFER
and missed because of assertEquals instead of assertSame).