aboutsummaryrefslogtreecommitdiff
path: root/tests/server/getpart.c
AgeCommit message (Collapse)Author
2012-04-10test servers: build adjustmentYang Tse
Undefine CURL_HIDDEN_SYMBOLS libcurl private preprocessor macro that might leak from lib/setup.h into source files where this should not be defined.
2011-09-03fix a bunch of MSVC compiler warningsYang Tse
2011-08-24base64: fix Curl_base64_encode and Curl_base64_decode interfacesYang Tse
Previous interfaces for these libcurl internal functions did not allow to tell apart a legitimate zero size result from an error condition. These functions now return a CURLcode indicating function success or otherwise specific error. Output size is returned using a pointer argument. All usage of these two functions, and others closely related, has been adapted to the new interfaces. Relative error and OOM handling adapted or added where missing. Unit test 1302 also adapted.
2011-04-05Changed some nonportable typesDan Fandrich
2010-03-24remove the CVSish $Id$ linesDaniel Stenberg
2010-02-26fix compiler warningYang Tse
2010-02-15fix compiler warning: conversion from "long" to "size_t" may lose signYang Tse
2010-02-14Overhauled test suite getpart() function. Fixing potential out of boundsYang Tse
stack and memory overwrites triggered with huge test case definitions.
2010-02-02avoid possibility of using obsoleted stuffYang Tse
2009-04-21libcurl's memory.h renamed to curl_memory.hYang Tse
2008-10-23fix compiler warningYang Tse
2008-10-02fix compiler warning: dereferencing type-punned pointer will break ↵Yang Tse
strict-aliasing rules
2008-09-06remove unnecessary typecasting of malloc()Yang Tse
2008-08-17libcurl internal base64.h header file renamed to curl_base64.hYang Tse
2008-02-28header inclusion cleanupYang Tse
2007-01-23Ignore XML DOCTYPEs and declarations.Dan Fandrich
2007-01-23Convert (most of) the test data files into genuine XML. A handful stillDan Fandrich
are not, due mainly to the lack of support for XML character entities (e.g. & => & ). This will make it easier to validate test files using tools like xmllint, as well as edit and view them using XML tools.
2007-01-04prevent compiler warning since we use base64.h from libcurl which now hasDaniel Stenberg
function(s) using SessionHandle pointers
2006-10-27Update copyright year, since the file has been modifiedYang Tse
2006-10-23Replace is*() macros with our own IS*() ones.Yang Tse
2005-04-18Modified the FTP server to use the new 'sockfilt' program to do all the socketDaniel Stenberg
level stuff. The FTP server communicates with sockfilt using perl's open2(). This enables easier IPv6 support and hopefully FTP-SSL support in the future. Added four test cases for FTP-ipv6.
2005-03-31Updated the copyright year since changes have been this year.Daniel Stenberg
2005-02-24Fixed some compiler warnings. Fixed a low incidence memory leak in the test ↵Dan Fandrich
server.
2005-02-22Curl_base64_decode() now returns an allocated bufferDaniel Stenberg
2004-11-29include setup.h firstDaniel Stenberg
2004-11-29zero terminate the buffer spitout() returns, as the sws.c code depends onDaniel Stenberg
that!
2004-11-29Enable test cases to provide sections base64-encoded to be able to testDaniel Stenberg
with binary data.
2004-03-23minor variable type cleanupsDaniel Stenberg
2004-03-10use size_t for string lengthsDaniel Stenberg
2004-02-20fix protos to prevent warningsDaniel Stenberg
2003-09-03Peter Pentchev found two problems. One realloc problem that could allocateDaniel Stenberg
too little data, and one case of not zero-terminating the returned string. I chose a slightly different patch than the one Peter provided.
2003-08-08Gisle Vanem fixed a single-byte overflowDaniel Stenberg
2003-01-23added a default to the switch() in order to prevent a compiler warningDaniel Stenberg
2002-05-17removed compiler warningsDaniel Stenberg
2002-02-22adjusted to work on test case 11 betterDaniel Stenberg
2002-02-22hide debug output from screen, use log/ for logfilesDaniel Stenberg
2002-02-19a minor step forwardsDaniel Stenberg
2002-02-07the initial C code for the new HTTP test serverDaniel Stenberg