aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2010-02-26fix compiler warningYang Tse
2010-02-26fix compiler warningYang Tse
2010-02-25fix compiler warningYang Tse
2010-02-25Fixed a couple of out of memory leaks and a segfault in the SMTP code.Dan Fandrich
2010-02-24fix compiler warningYang Tse
2010-02-23fix compiler warningYang Tse
2010-02-22fix socket data type and logging format in debug tracking socket functionsYang Tse
2010-02-22convert Curl_ultous() and Curl_ultouc() functions to curlx_ultous() andYang Tse
curlx_ultouc(), exposing them through curlx.h to allow proper code reuse later in our test harness.
2010-02-22_ Adjusted RFC821 HELO fallback and enabled test804Patrick Monnerat
2010-02-22- Proper handling of STARTTLS on SMTP, taking CURLUSESSL_TRY into account.Patrick Monnerat
- SMTP falls back to RFC821 HELO when EHLO fails (and SSL is not required). - Use of true local host name (i.e.: via gethostname()) when available, as default argument to SMTP HELO/EHLO. - Test case 804 for HELO fallback.
2010-02-22add header inclusionYang Tse
2010-02-22fix compiler warningYang Tse
2010-02-21fix compiler warningYang Tse
2010-02-20- Fixed the SMTP compliance by making sure RCPT TO addresses are specifiedDaniel Stenberg
properly in angle brackets. Recipients provided with CURLOPT_MAIL_RCPT now get angle bracket wrapping automatically by libcurl unless the recipient starts with an angle bracket as then the app is assumed to deal with that properly on its own.
2010-02-20- I made the SMTP code expect a 250 response back from the server after theDaniel Stenberg
full DATA has been sent, and I modified the test SMTP server to also send that response. As usual, the DONE operation that is made after a completed transfer is still not doable in a non-blocking way so this waiting for 250 is unfortunately made blockingly.
2010-02-20corected a comment and wrapped a few longish linesDaniel Stenberg
2010-02-20fix compiler warningYang Tse
2010-02-20fix compiler warningYang Tse
2010-02-20fix compiler warningYang Tse
2010-02-19fix compiler warningYang Tse
2010-02-17use curl standard indentation and line lengthsDaniel Stenberg
2010-02-16replaced tabs with spacesYang Tse
2010-02-15fix compiler warning: conversion from "long" to "size_t" may lose signYang Tse
2010-02-14removed trailing whitespaceYang Tse
2010-02-13used allways #ifdef / #ifndef;Gunter Knauf
moved gethostbyname_thread() to #else case to avoid 'not used' compiler warning.
2010-02-13replaced tabs by spaces, removed trailing tabs/spaces.Gunter Knauf
2010-02-12- Jack Zhang reported a problem with SMTP: we wrongly used multiple addressesDaniel Stenberg
in the same RCPT TO line, when they should be sent in separate single commands. I updated test case 802 to verify this. - I also fixed a bad use of my_setopt_str() of CURLOPT_MAIL_RCPT in the curl tool which made it try to output it as string for the --libcurl feature which could lead to crashes.
2010-02-11_ Make it compilable again on OS400.Patrick Monnerat
_ Upgrade OS400 EBCDIC wrappers for new options. _ Upgrade ILE/RPG bindings to current state.
2010-02-09- When downloading compressed content over HTTP and the app as asked libcurlDaniel Stenberg
to automatically uncompress it with the CURLOPT_ENCODING option, libcurl could wrongly provide the callback with more data than what the maximum documented amount. An application could thus get tricked into badness if the maximum limit was trusted to be enforced by libcurl itself (as it is documented). This is further detailed and explained in the libcurl security advisory 20100209 at http://curl.haxx.se/docs/adv_20100209.html
2010-02-09set VERSIONINFO accordingly for the 7.20.0 releaseDaniel Stenberg
2010-02-06OOM handling fixYang Tse
2010-02-06OOM handling fixYang Tse
2010-02-05- avoid OpenSSL 0.9.8 ENGINE_by_id memory leakYang Tse
- cleanup parenthesis usage in return statements
2010-02-05- attempt to workaround icc 9.1 optimizer issueYang Tse
2010-02-04fix printf-style format stringsYang Tse
2010-02-04Fix compiler warning: unused variableYang Tse
2010-02-03Changed the Watcom makefiles to make them easier to keep in sync withDan Fandrich
Makefile.inc since that can't be included directly.
2010-02-03Fix OOM handlingYang Tse
2010-02-03Fix portability issue related with unaligned memory accessYang Tse
2010-02-03Fix compiler warnings: conversion from 'const int ' to 'unsigned char ', ↵Yang Tse
possible loss of data
2010-02-02Fix compiler warning: conditional expression is constantYang Tse
2010-02-02Fix compiler warning: local variable may be used without having been ↵Yang Tse
initialized.
2010-02-02Fix compiler warnings: conversion from 'const int ' to 'unsigned char ', ↵Yang Tse
possible loss of data
2010-02-02Fix compiler warning: variable was set but never usedYang Tse
Simplify preprocessor symbol checking
2010-02-02Julien Chaffraix pointed out a comment mistake, and I re-indented the codeDaniel Stenberg
slightly while editing
2010-02-01Conroy's fix to make the code match with the RTP documentation regardingYang Tse
writing out the whole header. The docs say it writes the whole header, but the code (before this patch) did not write out the leading $.
2010-02-01We introduce a loop in lib/multi.c around all calls to multi_runsingle() andDaniel Stenberg
simply check for CURLM_CALL_MULTI_PERFORM internally. This has the added benefit that this goes in line with my long-term wishes to get rid of the CURLM_CALL_MULTI_PERFORM all together from the public API.
2010-01-30Make Curl_pop3_write() additionally truncate trailing POP3_EOB from receivedYang Tse
string buffer, otherwise Curl_client_write() call with zero size would write to the end of string buffer including matched POP3_EOB.
2010-01-29WIN32 fix, _beginthreadex() may return either 0 or -1L upon failureYang Tse
2010-01-29fix errno usage for WIN32 buildsYang Tse