Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-09-22 | security.c: Curl_sec_set_protection_level tweaking | Julien Chaffraix | |
- Removed sec_prot_internal as it is now inlined in the function (this removed a redundant check). - Changed the prototype to return an error code. - Updated the method to use the new ftp_send_command function. - Added a level_to_char helper method to avoid relying on the compiler's bound checks. This default to the maximum security we have in case of a wrong input. | |||
2010-09-22 | security.c: factored the logic from Curl_sec_login into a dedicated method ↵ | Julien Chaffraix | |
that better reflect its intent. Introduced a helper method ftp_send_command that synchronously send an FTP query. | |||
2010-09-22 | security.c: Remove out_buffer as it was never written into. | Julien Chaffraix | |
2010-09-22 | security.c: buffer_read various fixes. | Julien Chaffraix | |
Tighten the type of the |data| parameter to avoid a cast. Also made it const as we should not modify it. Added a DEBUGASSERT on the size to be written while changing it. | |||
2010-09-22 | security.c: Made block_write return a CURLcode. | Julien Chaffraix | |
While doing so, renamed it to socket_write to better match its function. | |||
2010-09-22 | security.c: Made block_read and sec_get_data return CURLcode. | Julien Chaffraix | |
To do so, made block_read call Curl_read_plain instead of read. While changing them renamed block_read to socket_read and sec_get_data to read_data to better match their function. Also fixed a potential memory leak in block_read. | |||
2010-09-22 | Security.c: Fix headers guard to match the rest of the code. | Julien Chaffraix | |
2010-05-11 | sendrecv: make them two pairs of send/recv to properly deal with FTPS | Howard Chu | |
FTP(S) use two connections that can be set to different recv and send functions independently, so by introducing recv+send pairs in the same manner we already have sockets/connections we can work with FTPS fine. This commit fixes the FTPS regression introduced in change d64bd82. | |||
2010-05-07 | sendrecv: split the I/O handling into private handler | Howard Chu | |
Howard Chu brought the bulk work of this patch that properly moves out the sending and recving of data to the parts of the code that are properly responsible for the various ways of doing so. Daniel Stenberg assisted with polishing a few bits and fixed some minor flaws in the original patch. Another upside of this patch is that we now abuse CURLcodes less with the "magic" -1 return codes and instead use CURLE_AGAIN more consistently. | |||
2009-07-11 | silence a compiler warning | Daniel Stenberg | |
2009-04-21 | libcurl's memory.h renamed to curl_memory.h | Yang Tse | |
2008-11-02 | Marked with TODO comments a number of problems in the Kerberos code detected | Dan Fandrich | |
while investigating the issue in http://curl.haxx.se/mail/lib-2008-09/0262.html I'm hesitant to fix them because I have no way of testing the result. | |||
2008-10-23 | moved the Curl_raw_ functions into the new lib/rawstr.c file for easier curlx_ | Daniel Stenberg | |
inclusion by the curl tool without colliding with the curl_strequal functions. | |||
2008-10-23 | added include to make the krb4 code compile again | Daniel Stenberg | |
2008-10-23 | Created Curl_raw_nequal() which does a C-locale string case comparison. | Dan Fandrich | |
Changed checkprefix() to use it and those instances of strnequal() that compare host names or other protocol strings that are defined to be independent of case in the C locale. This should fix a few more Turkish locale problems. | |||
2008-08-17 | libcurl internal base64.h header file renamed to curl_base64.h | Yang Tse | |
2008-05-26 | fix: preprocessor complaining about macro redefinition | Yang Tse | |
2008-05-22 | Fixed some include file problems on Windows reported by David Rosenstrauch | Dan Fandrich | |
2008-05-09 | - Make Curl_write and it's callees accept a const pointer, in preparation | Michal Marek | |
of tetetest's patch for curl_easy_send() | |||
2007-11-07 | if () => if() | Daniel Stenberg | |
while () => while() and some other minor re-indentings | |||
2007-07-06 | Thomas J. Moore made it build with less warnings | Daniel Stenberg | |
2007-07-01 | Thomas J. Moore provided a patch that introduces Kerberos5 support in | Daniel Stenberg | |
libcurl. This also makes the options change name to --krb (from --krb4) and CURLOPT_KRBLEVEL (from CURLOPT_KRB4LEVEL) but the old names are still | |||
2006-11-11 | cleaned up Curl_write() and the sub functions it uses for various protocols. | Daniel Stenberg | |
They all now return ssize_t to Curl_write(). Unfortunately, Curl_read() is in a sorrier state but it too would benefit from a similar cleanup. | |||
2005-03-14 | Removed security.h since it shadows an include file mingw needs when building | Daniel Stenberg | |
for SSPI support. The contents of the file has been moved into the krb4.h file. | |||
2005-02-22 | krb4 fixed | Daniel Stenberg | |
2004-12-15 | Make some arrays of pointers const, too. | Dan Fandrich | |
2004-12-15 | Add 'const' to immutable arrays. | Dan Fandrich | |
2004-10-07 | use curl_strnequal(), not strncasecmp() | Daniel Stenberg | |
2004-10-06 | removed tabs and trailing whitespace from source | Daniel Stenberg | |
2004-06-30 | removed trailing whitespace, free a missing malloc when returning error | Daniel Stenberg | |
2004-05-11 | curl_global_init_mem() allows the memory functions to be replaced. | Daniel Stenberg | |
memory.h is included everywhere for this. | |||
2003-12-02 | use the HAVE_KRB4 define instead of just KRB4 | Daniel Stenberg | |
2003-06-26 | use CURLDEBUG instead of MALLOCDEBUG for preprocessor conditions | Daniel Stenberg | |
2003-01-29 | removed the local variables for emacs and vim, use the new sample.emacs | Daniel Stenberg | |
way for emacs, and vim users should provide a similar non-polluting style | |||
2003-01-09 | removed unused code | Daniel Stenberg | |
2002-12-03 | Curl_GetFTPResponse() takes a different set of parameters and now return a | Daniel Stenberg | |
proper CURLcode. The default timeout for reading one response is now also possible to change while running. | |||
2002-06-11 | added disable-[protocol] support, largely provided by Miklos Nemeth | Daniel Stenberg | |
2001-12-11 | failf() calls should not have newlines in the message string! | Daniel Stenberg | |
2001-10-31 | check Curl_ftpsendf return codes | Daniel Stenberg | |
2001-10-11 | looks nicer and is better compatible with older vim versions | Sterling Hughes | |
2001-09-28 | improved readability slightly | Daniel Stenberg | |
2001-09-28 | fixed the missing getftpresponse edits | Daniel Stenberg | |
2001-09-28 | removed the socket argument from some functions that always passed in the | Daniel Stenberg | |
same socket and it was available from the passed-in struct anyway! | |||
2001-09-07 | Added formatting sections for emacs and vim | Sterling Hughes | |
2001-08-30 | a few more struct fixes | Daniel Stenberg | |
2001-08-30 | Major rename and redesign of the internal "backbone" structs. Details will | Daniel Stenberg | |
be posted in a minute to the libcurl list. | |||
2001-08-17 | removed dead/unused code | Daniel Stenberg | |
removed use of global variables removed name space pollutions (added Curl_ prefixes) | |||
2001-08-14 | cleaned up some picky compiler warnings and indented the code curl style | Daniel Stenberg | |
2001-02-20 | multiple connection support initial commit | Daniel Stenberg | |
2001-01-05 | Internal symbols that aren't static are now prefixed with 'Curl_' | Daniel Stenberg | |