DONE: consider callback-aborted transfers premature
authorDaniel Stenberg <daniel@haxx.se>
Fri, 8 Feb 2013 12:48:56 +0000 (13:48 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 8 Feb 2013 12:57:01 +0000 (13:57 +0100)
commit72688317adcedb9508fd2189e6c6d3945e06a004
tree57929c31c5dc320937c1ba35ae6f592a24acdc93
parent07f97809b81553de5b6ecf0385bb8cd022eea1c1
DONE: consider callback-aborted transfers premature

This bug report properly identified that when doing SMTP and aborting
the transfer with a callback, it must be considered aborted prematurely
by the code to avoid QUIT etc to be attempted as that would cause a
hang.

The new test case 1507 verifies this behavior.

Reported by: Patricia Muscalu
Bug: http://curl.haxx.se/bug/view.cgi?id=1184
lib/url.c
tests/data/Makefile.am
tests/data/test1507 [new file with mode: 0644]
tests/libtest/Makefile.inc
tests/libtest/lib1507.c [new file with mode: 0644]