aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/tests/suites/test_fetch_http.c
Commit message (Collapse)AuthorAgeFilesLines
* unit-tests: Zero-initialize chunk to avoid free on non-successful fetchMartin Willi2014-06-041-1/+1
| | | | | If the fetch fails, the fetcher is not required to return an empty chunk. Avoid the resulting invalid free() by initializing data.ptr to NULL.
* unit-tests: Allow some HTTP write operations to failTobias Brunner2014-05-191-7/+12
| | | | | | Because CURLOPT_FAILONERROR is enabled in the curl plugin an error code will often (not always) cause the client to close the TCP connection before the server has written the complete response.
* unit-tests: Add a test case for HTTP response codesTobias Brunner2014-05-191-8/+57
|
* unit-tests: Add some test cases for HTTP GET/POST fetchesMartin Willi2014-01-311-0/+273