curl: fix libcurl/mbedtls async interface
authorDarren Tucker <dtucker@dtucker.net>
Sat, 20 Jan 2018 06:26:06 +0000 (14:26 +0800)
committerHans Dedecker <dedeckeh@gmail.com>
Wed, 24 Jan 2018 08:25:32 +0000 (09:25 +0100)
commit00fa1e4108db4b41dae76909ae5adcdf837ba6ef
treec0ec0f06d632322c68e81a192d954c1c77562262
parentd5278cc48b5b08b7aa09c2c3854cf16e5ceae408
curl: fix libcurl/mbedtls async interface

When using mbedtls, curl's nonblocking interface will report a request
as done immediately after the socket is written to and never read from
the connection.  This will result in a HTTP status code of 0 and zero
length replies.  Cherry-pick the patch from curl 7.53.0 to fix this
(https://github.com/curl/curl/commit/b993d2cc).

Fixes https://bugs.openwrt.org/index.php?do=details&task_id=1285.

Signed-off-by: Darren Tucker <dtucker@dtucker.net>
package/network/utils/curl/Makefile
package/network/utils/curl/patches/320-mbedtls-nonblocking-handshake.patch [new file with mode: 0644]