诸暨麻将添加redis
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 
 
 

5894 строки
199 KiB

  1. _ _ ____ _
  2. ___| | | | _ \| |
  3. / __| | | | |_) | |
  4. | (__| |_| | _ <| |___
  5. \___|\___/|_| \_\_____|
  6. Changelog
  7. Version 7.32.0 (11 Aug 2013)
  8. Daniel Stenberg (11 Aug 2013)
  9. - THANKS: added contributors from the 7.32.0 release notes
  10. - [Fabian Keil brought this change]
  11. test1228: add 'HTTP proxy' to the keywords
  12. - [Fabian Keil brought this change]
  13. tests: add keywords for a couple of FILE tests
  14. - [Fabian Keil brought this change]
  15. tests: add 'FAILURE' keywords to tests 1409 and 1410
  16. - [Fabian Keil brought this change]
  17. tests: add keywords for a couple of HTTP tests
  18. - [Fabian Keil brought this change]
  19. tests: add keywords for a couple of FTP tests
  20. - [Fabian Keil brought this change]
  21. test1511: consistently terminate headers with CRLF
  22. - DISABLED: shut of test 1512 for now
  23. It shows intermittent failures and I haven't been able to track them
  24. down yet. Disable this test for now.
  25. - curl_multi_add_handle.3: ... that timer callback is for event-based
  26. - comments: remove old and wrong multi/easy interface statements
  27. - curl_multi_add_handle.3: mention the CURLMOPT_TIMERFUNCTION use
  28. - [John E. Malmberg brought this change]
  29. KNOWN_BUGS: 22 and 57 have been fixed and committed
  30. - RELEASE-NOTES: synced with d20def20462e7
  31. - global dns cache: fix memory leak
  32. The take down of the global dns cache didn't take CURLOPT_RESOLVE names
  33. into account.
  34. - global dns cache: didn't work [regression]
  35. CURLOPT_DNS_USE_GLOBAL_CACHE broke in commit c43127414d89ccb (been
  36. broken since the libcurl 7.29.0 release). While this option has been
  37. documented as deprecated for almost a decade and nobody even reported
  38. this bug, it should remain functional.
  39. Added test case 1512 to verify
  40. Yang Tse (8 Aug 2013)
  41. - [John Malmberg brought this change]
  42. packages/vms: update VMS build files
  43. VMS modified files either missing from a previous commit and changes
  44. to remove references to CVS repositories.
  45. Daniel Stenberg (8 Aug 2013)
  46. - FTP: renamed several local functions
  47. The previous naming scheme ftp_state_post_XXXX() wasn't really helpful
  48. as it wasn't always immediately after 'xxxx' and it wasn't easy to
  49. understand what it does based on such a name.
  50. This new one is instead ftp_state_yyyy() where yyyy describes what it
  51. does or sends.
  52. - mk-ca-bundle.1: don't install on make install
  53. Since the mk-ca-bundle tool itself isn't installed with make install,
  54. there's no point in installing its documentation.
  55. Bug: http://curl.haxx.se/mail/lib-2013-08/0057.html
  56. Reported-by: Guenter Knauf
  57. Yang Tse (7 Aug 2013)
  58. - packages/vms/Makefile.am: add latest file additions to EXTRA_DIST
  59. - [John Malmberg brought this change]
  60. Building_vms_pcsi_kit
  61. These are the files needed to build VMS distribution packages known as
  62. PCSI kits.
  63. Also minor update to the existing files, mainly to the documentation and
  64. file clean up code.
  65. Daniel Stenberg (6 Aug 2013)
  66. - LIBCURL-STRUCTS: new document
  67. This is the first version of this new document, detailing the seven
  68. perhaps most important internal structs in libcurl source code:
  69. 1.1 SessionHandle
  70. 1.2 connectdata
  71. 1.3 Curl_multi
  72. 1.4 Curl_handler
  73. 1.5 conncache
  74. 1.6 Curl_share
  75. 1.7 CookieInfo
  76. - CONTRIBUTE: minor language polish
  77. - FTP: when EPSV gets a 229 but fails to connect, retry with PASV
  78. This is a regression as this logic used to work. It isn't clear when it
  79. broke, but I'm assuming in 7.28.0 when we went all-multi internally.
  80. This likely never worked with the multi interface. As the failed
  81. connection is detected once the multi state has reached DO_MORE, the
  82. Curl_do_more() function was now expanded somewhat so that the
  83. ftp_do_more() function can request to go "back" to the previous state
  84. when it makes another attempt - using PASV.
  85. Added test case 1233 to verify this fix. It has the little issue that it
  86. assumes no service is listening/accepting connections on port 1...
  87. Reported-by: byte_bucket in the #curl IRC channel
  88. Nick Zitzmann (5 Aug 2013)
  89. - md5: remove use of CommonCrypto-to-OpenSSL macros for the benefit of Leopard
  90. For some reason, OS X 10.5's GCC suddenly stopped working correctly with
  91. macros that change MD5_Init etc. in the code to CC_MD5_Init etc., so I
  92. worked around this by removing use of the macros and inserting static
  93. functions that just call CommonCrypto's implementations of the functions
  94. instead.
  95. Guenter Knauf (5 Aug 2013)
  96. - Simplify check for trusted certificates.
  97. This changes the previous check for untrusted certs to a check for
  98. certs explicitely marked as trusted.
  99. The change is backward-compatible (tested with certdata.txt v1.80).
  100. Daniel Stenberg (5 Aug 2013)
  101. - configure: warn on bad env variable use, don't error
  102. Use XC_CHECK_BUILD_FLAGS instead XC_CHECK_USER_FLAGS.
  103. - Revert "configure: don't error out on variable confusions, just warn"
  104. This reverts commit 6b27703b5f525eccdc0a8409f51de8595c75132a.
  105. - formadd: wrong pointer for file name when CURLFORM_BUFFERPTR used
  106. The internal function that's used to detect known file extensions for
  107. the default Content-Type got the the wrong pointer passed in when
  108. CURLFORM_BUFFER + CURLFORM_BUFFERPTR were used. This had the effect that
  109. strlen() would be used which could lead to an out-of-bounds read (and
  110. thus segfault). In most cases it would only lead to it not finding or
  111. using the correct default content-type.
  112. It also showed that test 554 and test 587 were testing for the
  113. previous/wrong behavior and now they're updated as well.
  114. Bug: http://curl.haxx.se/bug/view.cgi?id=1262
  115. Reported-by: Konstantin Isakov
  116. Guenter Knauf (4 Aug 2013)
  117. - Skip more untrusted certificates.
  118. Christian Heimes brought to our attention that the certdata.txt
  119. format has recently changed [1], causing ca-bundle.crt created
  120. with mk-ca-bundle.[pl|vbs] to include untrusted certs.
  121. [1] http://lists.debian.org/debian-release/2012/11/msg00411.html
  122. Daniel Stenberg (4 Aug 2013)
  123. - configure: don't error out on variable confusions, just warn
  124. - configure: rephrase the notice in _XC_CHECK_VAR_*
  125. Instead of claiming it is an error, we call it a "note" to reduce the
  126. severity level. But the following text now says the [variable] "*should*
  127. only be used to specify"... instead of previously having said "may".
  128. - multi: remove data->state.current_conn struct field
  129. Not needed
  130. - multi: remove the one_easy struct field
  131. Since the merge of SessionHandle with Curl_one_easy, this indirection
  132. isn't used anymore.
  133. - multi: rename all Curl_one_easy to SessionHandle
  134. - multi: remove the multi_pos struct field
  135. Since Curl_one_easy is really a SessionHandle now, this indirection
  136. doesn't exist anymore.
  137. - multi: remove easy_handle struct field
  138. It isn't needed anymore
  139. - multi: remove 'Curl_one_easy' struct, phase 1
  140. The motivation for having a separate struct that keep track of an easy
  141. handle when using the multi handle was removed when we switched to
  142. always using the multi interface internally. Now they were just two
  143. separate struct that was always allocated for each easy handle.
  144. This first step just moves the Curl_one_easy struct members into the
  145. SessionHandle struct and hides this somehow (== keeps the source code
  146. changes to a minimum) by defining Curl_one_easy to SessionHandle
  147. The biggest changes in this commit are:
  148. 1 - the linked list of easy handles had to be changed somewhat due
  149. to the new struct layout. This made the main linked list pointer
  150. get renamed to 'easyp' and there's also a new pointer to the last
  151. node, called easylp. It is no longer circular but ends with ->next
  152. pointing to NULL. New nodes are still added last.
  153. 2 - easy->state is now called easy->mstate to avoid name collision
  154. Steve Holme (2 Aug 2013)
  155. - Revert "DOCS: Added IMAP URL example for listing new messages"
  156. This reverts commit 82ab5f1b0c7c3f as this was the wrong place to
  157. document the complexity of IMAP URLs and Custom Requests.
  158. - DOCS: Added IMAP URL example for listing new messages
  159. In addition to listing the folder contents, in the URL examples, added
  160. an example to list the new messages waiting in the user's inbox.
  161. Yang Tse (1 Aug 2013)
  162. - packages/vms/Makefile.am: add latest file additions to EXTRA_DIST
  163. - [John Malmberg brought this change]
  164. Add in the files needed to build libcurl shared images on VMS.
  165. Update the packages/vms/readme file to be current.
  166. Also some files for the GNV based build were either missing or needed an
  167. update.
  168. curl_crtl_init.c is a special file that is run before main() to
  169. set up the proper C runtime behavior.
  170. generate_vax_transfer.com generates the VAX transfer vector modules from
  171. the gnv_libcurl_symbols.opt file.
  172. gnv_conftest.c_first is a helper file needed for configure scripts to
  173. come up with the expected answers on VMS.
  174. gnv_libcurl_symbols.opt is the public symbols for the libcurl shared
  175. image.
  176. gnv_link_curl.com builds the shared libcurl image and rebuilds other
  177. programs to use it.
  178. macro32_exactcase.patch is a hack to make a local copy of the VMS Macro32
  179. assembler case sensitive, which is needed to build the VAX transfer modules.
  180. report_openssl_version.c is a tool for help verify that the libcurl
  181. shared image is being built for a minium version of openssl.
  182. - curl: second follow-up for commit 5af2bfb9
  183. Display progress-bar unconditionally on first call
  184. - curl: follow-up for commit 5af2bfb9
  185. Use tvnow() and tvdiff() to avoid introducing new linkage issues
  186. Daniel Stenberg (31 Jul 2013)
  187. - curl: --progress-bar max update frequency now at 5Hz
  188. - curl: make --progress-bar update the line less frequently
  189. Also, use memset() instead of a lame loop.
  190. The previous logic that tried to avoid too many updates were very
  191. ineffective for really fast transfers, as then it could easily end up
  192. doing hundreds of updates per second that would make a significant
  193. impact in transfer performance!
  194. Bug: http://curl.haxx.se/mail/archive-2013-07/0031.html
  195. Reported-by: Marc Doughty
  196. Nick Zitzmann (30 Jul 2013)
  197. - darwinssl: added LFs to some strings passed into infof()
  198. (This doesn't need to appear in the release notes.) I noticed a few places
  199. where infof() was called, and there should've been an LF at the end of the
  200. string, but there wasn't.
  201. - darwinssl: fix build error in crypto authentication under Snow Leopard
  202. It turns out Snow Leopard not only has SecItemCopyMatching() defined in
  203. a header not included by the omnibus header, but it won't work for our
  204. purposes, because searching for SecIdentityRef objects wasn't added
  205. to that API until Lion. So we now use the old SecKeychainSearch API
  206. instead if the user is building under, or running under, Snow Leopard.
  207. Bug: http://sourceforge.net/p/curl/bugs/1255/
  208. Reported by: Edward Rudd
  209. - md5 & metalink: use better build macros on Apple operating systems
  210. Previously we used __MAC_10_X and __IPHONE_X to mark digest-generating
  211. code that was specific to OS X and iOS. Now we use
  212. __MAC_OS_X_VERSION_MAX_ALLOWED and __IPHONE_OS_VERSION_MAX_ALLOWED
  213. instead of those macros.
  214. Bug: http://sourceforge.net/p/curl/bugs/1255/
  215. Reported by: Edward Rudd
  216. Yang Tse (29 Jul 2013)
  217. - tool_operhlp.c: fix add_file_name_to_url() OOM handling
  218. - tool_operate.c: fix brace placement for vi/emacs delimiter matching
  219. - tool_operate.c: move <fabdef.h> header inclusion location
  220. Daniel Stenberg (29 Jul 2013)
  221. - RELEASE-NOTES: synced with b5478a0e033e7
  222. - curl_easy_pause: on unpause, trigger mulit-socket handling
  223. When the multi-socket API is used, we need the handle to be checked
  224. again when it gets unpaused.
  225. Bug: http://curl.haxx.se/mail/lib-2013-07/0239.html
  226. Reported-by: Justin Karneges
  227. - [John E. Malmberg brought this change]
  228. curl_formadd: fix file upload on VMS
  229. For the standard VMS text file formats, VMS needs to read the file to
  230. get the actual file size.
  231. For the standard VMS binary file formats, VMS needs a special format of
  232. fopen() call so that it stops reading at the logical end of file instead
  233. of at the end of the blocks allocated to the file.
  234. I structured the patch this way as I was not sure about changing the
  235. structures or parameters to the routines, but would prefer to only call
  236. the stat() function once and pass the information to where the fopen()
  237. call is made.
  238. Bug: https://sourceforge.net/p/curl/bugs/758/
  239. - formadd: CURLFORM_FILECONTENT wrongly rejected some option combos
  240. The code for CURLFORM_FILECONTENT had its check for duplicate options
  241. wrong so that it would reject CURLFORM_PTRNAME if used in combination
  242. with it (but not CURLFORM_COPYNAME)! The flags field used for this
  243. purpose cannot be interpreted that broadly.
  244. Bug: http://curl.haxx.se/mail/lib-2013-07/0258.html
  245. Reported-by: Byrial Jensen
  246. Yang Tse (25 Jul 2013)
  247. - packages/vms/Makefile.am: add latest file additions to EXTRA_DIST
  248. - [John E. Malmberg brought this change]
  249. VMS: intial set of files to allow building using GNV toolkit.
  250. - string formatting: fix too many arguments for format
  251. - string formatting: fix zero-length printf format string
  252. - easy.c: curl_easy_getinfo() fix va_start/va_end matching
  253. - imap.c: imap_sendf() fix va_start/va_end matching
  254. - string formatting: fix 15+ printf-style format strings
  255. Patrick Monnerat (24 Jul 2013)
  256. - OS400: sync ILE/RPG binding with current curl.h
  257. Yang Tse (24 Jul 2013)
  258. - string formatting: fix 25+ printf-style format strings
  259. Daniel Stenberg (23 Jul 2013)
  260. - Makefile.am: use LDFLAGS as well when linking libcurl
  261. Linking on Solaris 10 x86 with Sun Studio 12 failed when we upgraded
  262. automake for the release builds.
  263. Bug: http://curl.haxx.se/bug/view.cgi?id=1217
  264. Reported-by: Dagobert Michelsen
  265. - [Fabian Keil brought this change]
  266. url.c: Fix dot file path cleanup when using an HTTP proxy
  267. Previously the path was cleaned, but the URL wasn't properly updated.
  268. - [Fabian Keil brought this change]
  269. tests: test1232 verifies dotdot removal from path with proxy
  270. - [Fabian Keil brought this change]
  271. dotdot.c: Fix a RFC section number in a comment for Curl_dedotdotify()
  272. - [John E. Malmberg brought this change]
  273. build_vms.com: fix debug and float options
  274. In the reorganization of the build_vms.com the debug and float options
  275. were not fixed up correctly.
  276. - [John E. Malmberg brought this change]
  277. curl: fix upload of a zip file in OpenVMS
  278. Two fixes:
  279. 1. Force output file format to be stream-lf so that partial downloads
  280. can be continued.
  281. This should have minor impact as if the file does not exist, it was
  282. created with stream-lf format. The only time this was an issue is if
  283. there was already an existing file with a different format.
  284. 2. Fix file uploads are now fixed.
  285. a. VMS binary files such as ZIP archives are now uploaded
  286. correctly.
  287. b. VMS text files are read once to get the correct size
  288. and then converted to line-feed terminated records as
  289. they are read into curl.
  290. The default VMS text formats do not contain either line-feed or
  291. carriage-return terminated records. Those delimiters are added by the
  292. operating system file read calls if the application requests them.
  293. Bug: http://curl.haxx.se/bug/view.cgi?id=496
  294. Yang Tse (22 Jul 2013)
  295. - libtest: fix data type of some *_setopt() 'long' arguments
  296. - curl: fix symbolic names for CURL_NETRC_* enum in --libcurl output
  297. - curl: fix symbolic names for CURLUSESSL_* enum in --libcurl output
  298. - tool_operate.c: fix passing curl_easy_setopt long arg on some x64 ABIs
  299. We no longer pass our 'bool' data type variables nor constants as
  300. an argument to my_setopt(), instead we use proper 1L or 0L values.
  301. This also fixes macro used to pass string argument for CURLOPT_SSLCERT,
  302. CURLOPT_SSLKEY and CURLOPT_EGDSOCKET using my_setopt_str() instead of
  303. my_setopt().
  304. This also casts enum or int argument data types to long when passed to
  305. my_setopt_enum().
  306. Daniel Stenberg (21 Jul 2013)
  307. - curl_multi_wait: fix revents
  308. Commit 6d30f8ebed34e7276 didn't work properly. First, it used the wrong
  309. array index, but this fix also:
  310. 1 - only does the copying if indeed there was any activity
  311. 2 - makes sure to properly translate between internal and external
  312. bitfields, which are not guaranteed to match
  313. Reported-by: Evgeny Turnaev
  314. - RELEASE-NOTES: synced with d529f3882b9bca
  315. - curl_easy_perform: gradually increase the delay time
  316. Instead of going 50,100,150 etc millisecond delay time when nothing has
  317. been found to do or wait for, we now start lower and double each loop as
  318. in 4,8,16,32 etc.
  319. This lowers the minimum wait without sacrifizing the longer wait too
  320. much with unnecessary CPU cycles burnt.
  321. Bug: http://curl.haxx.se/mail/lib-2013-07/0103.html
  322. Reported-by: Andreas Malzahn
  323. - ftp_do_more: consider DO_MORE complete when server connects back
  324. In the case of an active connection when ftp_do_more() detects that the
  325. server has connected back, it must make sure to mark it as complete so
  326. that the multi_runsingle() function will detect this and move on to the
  327. next state.
  328. Bug: http://curl.haxx.se/mail/lib-2013-07/0115.html
  329. Reported-by: Clemens Gruber
  330. Yang Tse (19 Jul 2013)
  331. - Makefile.b32: Borland makefile adjustments. Tested with BCC 5.5.1
  332. - WIN32 MemoryTracking: require UNICODE for wide strdup code support
  333. Daniel Stenberg (18 Jul 2013)
  334. - CURLOPT_XFERINFOFUNCTION: introducing a new progress callback
  335. CURLOPT_XFERINFOFUNCTION is now the preferred progress callback function
  336. and CURLOPT_PROGRESSFUNCTION is considered deprecated.
  337. This new callback uses pure 'curl_off_t' arguments to pass on full
  338. resolution sizes. It otherwise retains the same characteristics: the
  339. same call rate, the same meanings for the arguments and the return code
  340. is used the same way.
  341. The progressfunc.c example is updated to show how to use the new
  342. callback for newer libcurls while supporting the older one if built with
  343. an older libcurl or even built with a newer libcurl while running with
  344. an older.
  345. Yang Tse (18 Jul 2013)
  346. - Reinstate "WIN32 MemoryTracking: track wcsdup() _wcsdup() and _tcsdup() usage".
  347. This reverts commit 7ed25cc, reinstating commit 8ec2cb5.
  348. As of 18-jul-2013 we still do have code in libcurl that makes use of these
  349. memory functions. Commit 8ec2cb5 comment still applies and is yet valid.
  350. These memory functions are solely used in Windows builds, so all related
  351. code is protected with '#ifdef WIN32' preprocessor conditional compilation
  352. directives.
  353. Specifically, wcsdup() _wcsdup() are used when building a Windows target with
  354. UNICODE and USE_WINDOWS_SSPI preprocessor symbols defined. This is the case
  355. when building a Windows UNICODE target with Windows native SSL/TLS support
  356. enabled.
  357. Realizing that wcsdup() _wcsdup() are used is a bit tricky given that usage
  358. of these is hidden behind _tcsdup() which is MS way of dealing with code
  359. that must tolerate UNICODE and non-UNICODE compilation. Additionally, MS
  360. header files and those compatible from other compilers use this preprocessor
  361. conditional compilation directive in order to select at compilation time
  362. whether 'wide' or 'ansi' MS API functions are used.
  363. Without this code, Windows build targets with Windows native SSL/TLS support
  364. enabled and MemoryTracking support enabled misbehave in tracking memory usage,
  365. regardless of being a UNICODE enabled build or not.
  366. - xc-am-iface.m4: comments refinement
  367. - configure: fix 'subdir-objects' distclean related issue
  368. See XC_AMEND_DISTCLEAN comments for details.
  369. Daniel Stenberg (18 Jul 2013)
  370. - [Evgeny Turnaev brought this change]
  371. curl_multi_wait: set revents for extra fds
  372. Pass back the revents that happened for the user-provided file
  373. descriptors.
  374. - [Ben Greear brought this change]
  375. asyn-ares: Don't blank ares servers if none configured.
  376. Best to just let c-ares use it's defaults if none are configured
  377. in (lib)curl.
  378. Signed-off-by: Ben Greear <greearb@candelatech.com>
  379. - [Sergei Nikulov brought this change]
  380. cmake: Fix for MSVC2010 project generation
  381. Fixed issue with static build for MSVC2010.
  382. After some investigation I've discovered known issue
  383. http://public.kitware.com/Bug/view.php?id=11240 When .rc file is linked
  384. to static lib it fails with following linker error
  385. LINK : warning LNK4068: /MACHINE not specified; defaulting to X86
  386. file.obj : fatal error LNK1112: module machine type 'x64' conflicts with
  387. target machine type 'X86'
  388. Fix add target property /MACHINE: for MSVC generation.
  389. Also removed old workarounds - it caused errors during msvc build.
  390. Bug: http://curl.haxx.se/mail/lib-2013-07/0046.html
  391. - mk-ca-bundle.1: point out certdata.txt format docs
  392. Yang Tse (16 Jul 2013)
  393. - slist.c: Curl_slist_append_nodup() OOM handling fix
  394. Daniel Stenberg (16 Jul 2013)
  395. - test1414: FTP PORT download without SIZE support
  396. Yang Tse (16 Jul 2013)
  397. - tests/Makefile.am: add configurehelp.pm to DISTCLEANFILES
  398. Patrick Monnerat (15 Jul 2013)
  399. - curl_slist_append(): fix error detection
  400. - slist.c: fix indentation
  401. - OS400: new SSL backend GSKit
  402. - OS400: add slist and certinfo EBCDIC support
  403. - config-os400.h: enable system strdup(), strcmpi(), etc.
  404. - x509asn1.c,x509asn1.h: new module to support ASN.1/X509 parsing & info extract
  405. Use from qssl backend
  406. - ssluse.c,sslgen.c,sslgen.h: move certinfo support to generic SSL
  407. - Merge branch 'master' of github.com:bagder/curl
  408. Merge for resync
  409. - slist.c, slist.h, cookie.c: new internal procedure Curl_slist_append_nodup()
  410. Yang Tse (15 Jul 2013)
  411. - sslgen.c: fix Curl_rand() compiler warning
  412. Use simple seeding method upon RANDOM_FILE seeding method failure.
  413. - sslgen.c: fix unreleased Curl_rand() infinite recursion
  414. Daniel Stenberg (14 Jul 2013)
  415. - [Dave Reisner brought this change]
  416. src/tool: allow timeouts to accept decimal values
  417. Implement wrappers around strtod to convert the user argument to a
  418. double with sane error checking. Use this to allow --max-time and
  419. --connect-timeout to accept decimal values instead of strictly integers.
  420. The manpage is updated to make mention of this feature and,
  421. additionally, forewarn that the actual timeout of the operation can
  422. vary in its precision (particularly as the value increases in its
  423. decimal precision).
  424. - [Dave Reisner brought this change]
  425. curl.1: fix long line, found by checksrc.pl
  426. - [Dave Reisner brought this change]
  427. src/tool_paramhlp: try harder to catch negatives
  428. strto* functions happily chomp off leading whitespace, so simply
  429. checking for str[0] can lead to false negatives. Do the full parse and
  430. check the out value instead.
  431. - [John E. Malmberg brought this change]
  432. build_vms.com: detect and use zlib shared image
  433. Update the build_vms.com to detect and use zlib shared image installed
  434. by the ZLIB kit produced by Jean-Francois Pieronne, and the also the
  435. future ZLIB 1.2.8 kit in addition to the older ZLIB kits.
  436. Also fix the indentation to match one of the common standards used for
  437. VMS DCL command files and removed the hard tab characters.
  438. Tested on OpenVMS 8.4 Alpha and IA64, and OpenVMS 7.3 VAX.
  439. Yang Tse (14 Jul 2013)
  440. - url.c: fix parse_url_login() OOM handling
  441. - http_digest.c: SIGSEGV and OOM handling fixes
  442. - url.c: fix parse_login_details() OOM handling
  443. - [John E. Malmberg brought this change]
  444. setup-vms.h: sk_pop symbol tweak
  445. Newer versions of curl are referencing a sk_pop symbol while the HP
  446. OpenSSL library has the symbol in uppercase only.
  447. - getinfo.c: fix enumerated type mixed with another type
  448. - test 1511: fix enumerated type mixed with another type
  449. - url.c: fix SIGSEGV
  450. - dotdot.c: fix global declaration shadowing
  451. - easy.c: fix global declaration shadowing
  452. Kamil Dudka (9 Jul 2013)
  453. - Revert "curl.1: document the --time-cond option in the man page"
  454. This reverts commit 3a0e931fc715a80004958794a96b12cf90503f99 because
  455. the documentation of --time-cond was duplicated by mistake.
  456. Reported by: Dave Reisner
  457. - curl.1: document the --sasl-ir option in the man page
  458. - curl.1: document the --post303 option in the man page
  459. - curl.1: document the --time-cond option in the man page
  460. Yang Tse (9 Jul 2013)
  461. - configure: automake 1.14 compatibility tweak (use XC_AUTOMAKE)
  462. - xc-am-iface.m4: provide XC_AUTOMAKE macro
  463. Guenter Knauf (8 Jul 2013)
  464. - Added winssl-zlib target to VC builds.
  465. - Synced Makefile.vc6 with recent changes.
  466. Issue posted to the list by malinowsky AT FTW DOT at.
  467. - Added libmetalink URL; added Android versions.
  468. Dan Fandrich (3 Jul 2013)
  469. - examples: Moved usercertinmem.c to COMPLICATED_EXAMPLES
  470. This prevents it from being built during a "make check" since it
  471. depends on OpenSSL.
  472. Nick Zitzmann (2 Jul 2013)
  473. - Merge branch 'master' of https://github.com/bagder/curl
  474. - darwinssl: SSLv2 connections are aborted if unsupported by the OS
  475. I just noticed that OS X no longer supports SSLv2. Other TLS engines return
  476. an error if the requested protocol isn't supported by the underlying
  477. engine, so we do that now for SSLv2 if the framework returns an error
  478. when trying to turn on SSLv2 support. (Note: As always, SSLv2 support is
  479. only enabled in curl when starting the app with the -2 argument; it's off
  480. by default. SSLv2 is really old and insecure.)
  481. Marc Hoersken (1 Jul 2013)
  482. - lib506.c: Fixed possible use of uninitialized variables
  483. Kamil Dudka (30 Jun 2013)
  484. - url: restore the functionality of 'curl -u :'
  485. This commit fixes a regression introduced in
  486. fddb7b44a79d78e05043e1c97e069308b6b85f79.
  487. Reported by: Markus Moeller
  488. Bug: http://curl.haxx.se/mail/archive-2013-06/0052.html
  489. Daniel Stenberg (25 Jun 2013)
  490. - digest: append the timer to the random for the nonce
  491. - digest: improve nonce generation
  492. Use the new improved Curl_rand() to generate better random nonce for
  493. Digest auth.
  494. - curl.1: fix typo in --xattr description
  495. Bug: http://curl.haxx.se/bug/view.cgi?id=1252
  496. Reported-by: Jean-Noël Rouvignac
  497. - RELEASE-NOTES: synced with 365c5ba39591
  498. The 10 first bug fixes for the pending release...
  499. - formpost: better random boundaries
  500. When doing multi-part formposts, libcurl used a pseudo-random value that
  501. was seeded with time(). This turns out to be bad for users who formpost
  502. data that is provided with users who then can guess how the boundary
  503. string will look like and then they can forge a different formpost part
  504. and trick the receiver.
  505. My advice to such implementors is (still even after this change) to not
  506. rely on the boundary strings being cryptographically strong. Fix your
  507. code and logic to not depend on them that much!
  508. I moved the Curl_rand() function into the sslgen.c source file now to be
  509. able to take advantage of the SSL library's random function if it
  510. provides one. If not, try to use the RANDOM_FILE for seeding and as a
  511. last resort keep the old logic, just modified to also add microseconds
  512. which makes it harder to properly guess the exact seed.
  513. The formboundary() function in formdata.c is now using 64 bit entropy
  514. for the boundary and therefore the string of dashes was reduced by 4
  515. letters and there are 16 hex digits following it. The total length is
  516. thus still the same.
  517. Bug: http://curl.haxx.se/bug/view.cgi?id=1251
  518. Reported-by: "Floris"
  519. - printf: make sure %x are treated unsigned
  520. When using %x, the number must be treated as unsigned as otherwise it
  521. would get sign-extended on for example 64bit machines and do wrong
  522. output. This problem showed when doing printf("%08x", 0xffeeddcc) on a
  523. 64bit host.
  524. - tests: add test1395 to the tarball
  525. - SIGPIPE: don't use 'data' in sigpipe restore
  526. Follow-up fix from 7d80ed64e43515.
  527. The SessionHandle may not be around to use when we restore the sigpipe
  528. sighandler so we store the no_signal boolean in the local struct to know
  529. if/how to restore.
  530. - TODO: 1.8 Modified buffer size approach
  531. Thoughts around buffer sizes and what might be possible to do...
  532. - c-ares: improve error message on failed resolve
  533. When the c-ares based resolver backend failed to resolve a name, it
  534. tried to show the name that failed from existing structs. This caused
  535. the wrong output and shown hostname when for example --interface
  536. [hostname] was used and that name resolving failed.
  537. Now we use the hostname used in the actual resolve attempt in the error
  538. message as well.
  539. Bug: http://curl.haxx.se/bug/view.cgi?id=1191
  540. Reported-by: Kim Vandry
  541. - ossl_recv: check for an OpenSSL error, don't assume
  542. When we recently started to treat a zero return code from SSL_read() as
  543. an error we also got false positives - which primarily looks to be
  544. because the OpenSSL documentation is wrong and a zero return code is not
  545. at all an error case in many situations.
  546. Now ossl_recv() will check with ERR_get_error() to see if there is a
  547. stored error and only then consider it to be a true error if SSL_read()
  548. returned zero.
  549. Bug: http://curl.haxx.se/bug/view.cgi?id=1249
  550. Reported-by: Nach M. S.
  551. Patch-by: Nach M. S.
  552. Nick Zitzmann (22 Jun 2013)
  553. - Merge branch 'master' of https://github.com/bagder/curl
  554. - darwinssl: fix crash that started happening in Lion
  555. Something (a recent security update maybe?) changed in Lion, and now it
  556. has changed SSLCopyPeerTrust such that it may return noErr but also give
  557. us a null trust, which caught us off guard and caused an eventual crash.
  558. Daniel Stenberg (22 Jun 2013)
  559. - SIGPIPE: ignored while inside the library
  560. ... and restore the ordinary handling again when it returns. This is
  561. done for curl_easy_perform() and curl_easy_cleanup() only for now - and
  562. only when built to use OpenSSL as backend as this is the known culprit
  563. for the spurious SIGPIPEs people have received.
  564. Bug: http://curl.haxx.se/bug/view.cgi?id=1180
  565. Reported by: Lluís Batlle i Rossell
  566. - KNOWN_BUGS: #83 unable to load non-default openssl engines
  567. - test1396: invoke the correct test tool!
  568. This erroneously run unit test 1310 instead of 1396!
  569. Kamil Dudka (22 Jun 2013)
  570. - test1230: avoid using hard-wired port number
  571. ... to prevent failure when a non-default -b option is given
  572. - curl-config.in: replace tabs by spaces
  573. Nick Zitzmann (22 Jun 2013)
  574. - darwinssl: reform OS-specific #defines
  575. This doesn't need to be in the release notes. I cleaned up a lot of the #if
  576. lines in the code to use MAC_OS_X_VERSION_MIN_REQUIRED and
  577. MAC_OS_X_VERSION_MAX_ALLOWED instead of checking for whether things like
  578. __MAC_10_6 or whatever were defined, because for some SDKs Apple has released
  579. they were defined out of place.
  580. Daniel Stenberg (22 Jun 2013)
  581. - [Alessandro Ghedini brought this change]
  582. docs: fix typo in curl_easy_getinfo manpage
  583. - dotdot: introducing dot file path cleanup
  584. RFC3986 details how a path part passed in as part of a URI should be
  585. "cleaned" from dot sequences before getting used. The described
  586. algorithm is now implemented in lib/dotdot.c with the accompanied test
  587. case in test 1395.
  588. Bug: http://curl.haxx.se/bug/view.cgi?id=1200
  589. Reported-by: Alex Vinnik
  590. - bump: start working towards what most likely will become 7.32.0
  591. - THANKS: added 24 new contributors from the 7.31.0 release
  592. Version 7.31.0 (22 Jun 2013)
  593. Daniel Stenberg (22 Jun 2013)
  594. - RELEASE-NOTES: synced with 0de7249bb39a2 - 7.31.0
  595. - unit1396: unit tests to verify curl_easy_(un)escape
  596. - Curl_urldecode: no peeking beyond end of input buffer
  597. Security problem: CVE-2013-2174
  598. If a program would give a string like "%FF" to curl_easy_unescape() but
  599. ask for it to decode only the first byte, it would still parse and
  600. decode the full hex sequence. The function then not only read beyond the
  601. allowed buffer but it would also deduct the *unsigned* counter variable
  602. for how many more bytes there's left to read in the buffer by two,
  603. making the counter wrap. Continuing this, the function would go on
  604. reading beyond the buffer and soon writing beyond the allocated target
  605. buffer...
  606. Bug: http://curl.haxx.se/docs/adv_20130622.html
  607. Reported-by: Timo Sirainen
  608. Guenter Knauf (20 Jun 2013)
  609. - Use opened body.out file and write content to it.
  610. Daniel Stenberg (20 Jun 2013)
  611. - multi_socket: react on socket close immediately
  612. As a remedy to the problem when a socket gets closed and a new one is
  613. opened with the same file descriptor number and as a result
  614. multi.c:singlesocket() doesn't detect the difference, the new function
  615. Curl_multi_closed() gets told when a socket is closed so that it can be
  616. removed from the socket hash. When the old one has been removed, a new
  617. socket should be detected fine by the singlesocket() on next invoke.
  618. Bug: http://curl.haxx.se/bug/view.cgi?id=1248
  619. Reported-by: Erik Johansson
  620. - RELEASE-NOTES: synced with e305f5ec715f
  621. - TODO: mention the DANE patch from March
  622. - CURLOPT_COOKIELIST: take cookie share lock
  623. When performing COOKIELIST operations the cookie lock needs to be taken
  624. for the cases where the cookies are shared among multiple handles!
  625. Verified by Benjamin Gilbert's updated test 506
  626. Bug: http://curl.haxx.se/bug/view.cgi?id=1215
  627. Reported-by: Benjamin Gilbert
  628. - [Benjamin Gilbert brought this change]
  629. test506: verify that CURLOPT_COOKIELIST takes share lock
  630. It doesn't right now: http://curl.haxx.se/bug/view.cgi?id=1215
  631. - TODO: HTTP2/SPDY support
  632. - curl_easy_setopt.3: clarify CURLOPT_PROGRESSFUNCTION frequency
  633. Make it clearer that the CURLOPT_PROGRESSFUNCTION callback will be
  634. called more frequently than once per second when things are happening.
  635. - RELEASE-NOTES: synced with 9c3e098259b82
  636. Mention 7 recent bug fixes and their associated contributors
  637. - curl_multi_wait.3: clarify the numfds counter
  638. - curl_easy_perform: avoid busy-looping
  639. When curl_multi_wait() finds no file descriptor to wait for, it returns
  640. instantly and this must be handled gracefully within curl_easy_perform()
  641. or cause a busy-loop. Starting now, repeated fast returns without any
  642. file descriptors is detected and a gradually increasing sleep will be
  643. used (up to a max of 1000 milliseconds) before continuing the loop.
  644. Bug: http://curl.haxx.se/bug/view.cgi?id=1238
  645. Reported-by: Miguel Angel
  646. - [YAMADA Yasuharu brought this change]
  647. cookies: follow-up fix for path checking
  648. The initial fix to only compare full path names were done in commit
  649. 04f52e9b4db0 but found out to be incomplete. This takes should make the
  650. change more complete and there's now two additional tests to verify
  651. (test 31 and 62).
  652. - [Sergei Nikulov brought this change]
  653. lib1900: use tutil_tvnow instead of gettimeofday
  654. Makes it build on windows
  655. - [Eric Hu brought this change]
  656. axtls: now done non-blocking
  657. - [Eric Hu brought this change]
  658. test2033: requires NTLM support
  659. - KNOWN_BUGS: #82 failed build with Borland compiler
  660. - Curl_output_digest: support auth-int for empty entity body
  661. By always returning the md5 for an empty body when auth-int is asked
  662. for, libcurl now at least sometimes does the right thing.
  663. Bug: http://curl.haxx.se/bug/view.cgi?id=1235
  664. Patched-by: Nach M. S.
  665. - multi_socket: reduce timeout inaccuracy margin
  666. Allow less room for "triggered too early" mistakes by applications /
  667. timers on non-windows platforms. Starting now, we assume that a timeout
  668. call is never made earlier than 3 milliseconds before the actual
  669. timeout. This greatly improves timeout accuracy on Linux.
  670. Bug: http://curl.haxx.se/bug/view.cgi?id=1228
  671. Reported-by: Hang Su
  672. - cert_stuff: avoid double free in the PKCS12 code
  673. In the pkcs12 code, we get a list of x509 records returned from
  674. PKCS12_parse but when iterating over the list and passing each to
  675. SSL_CTX_add_extra_chain_cert() we didn't also properly remove them from
  676. the "stack", which made them get freed twice (both in sk_X509_pop_free()
  677. and then later in SSL_CTX_free).
  678. This isn't really documented anywhere...
  679. Bug: http://curl.haxx.se/bug/view.cgi?id=1236
  680. Reported-by: Nikaiw
  681. - cert_stuff: remove code duplication in the pkcs12 logic
  682. - [Aleksey Tulinov brought this change]
  683. axtls: honor disabled VERIFYHOST
  684. When VERIFYHOST == 0, libcurl should let invalid certificates to pass.
  685. - [Peter Gal brought this change]
  686. curl_easy_setopt.3: HTTP header with no content
  687. Update the documentation on how to specify a HTTP header with no
  688. content.
  689. - RELEASE-NOTES: synced with 87cf677eca55
  690. Added 11 bugs and 7 contributors
  691. - lib1500: remove bad check
  692. After curl_multi_wait() returns, this test checked that we got exactly
  693. one file descriptor told to read from, but we cannot be sure that is
  694. true. curl_multi_wait() will sometimes return earlier without any file
  695. descriptor to handle, just just because it is a suitable time to call
  696. *perform().
  697. This problem showed up with commit 29bf0598.
  698. Bug: http://curl.haxx.se/mail/lib-2013-06/0029.html
  699. Reported-by: Fabian Keil
  700. - tests/Makefile: typo in the perlcheck target
  701. Bug: http://curl.haxx.se/bug/view.cgi?id=1239
  702. Reported-by: Christian Weisgerber
  703. - test1230: verify CONNECT to a numerical ipv6-address
  704. - sws: support extracting test number from CONNECT ipv6-address!
  705. If an ipv6-address is provided to CONNECT, the last hexadecimal group in
  706. the address will be used as the test number! For example the address
  707. "[1234::ff]" would be treated as test case 255.
  708. - curl_multi_wait: only use internal timer if not -1
  709. commit 29bf0598aad5 introduced a problem when the "internal" timeout is
  710. prefered to the given if shorter, as it didn't consider the case where
  711. -1 was returned. Now the internal timeout is only considered if not -1.
  712. Reported-by: Tor Arntsen
  713. Bug: http://curl.haxx.se/mail/lib-2013-06/0015.html
  714. Dan Fandrich (3 Jun 2013)
  715. - libcurl-tutorial.3: added a section on IPv6
  716. Also added a (correctly-escaped) backslash to the autoexec.bat
  717. example file and a new Windows character device name with
  718. a colon as examples of other characters that are special
  719. and potentially dangerous (this reverts and reworks commit
  720. 7d8d2a54).
  721. Daniel Stenberg (3 Jun 2013)
  722. - curl_multi_wait: reduce timeout if the multi handle wants to
  723. If the multi handle's pending timeout is less than what is passed into
  724. this function, it will now opt to use the shorter time anyway since it
  725. is a very good hint that the handle wants to process something in a
  726. shorter time than what otherwise would happen.
  727. curl_multi_wait.3 was updated accordingly to clarify
  728. This is the reason for bug #1224
  729. Bug: http://curl.haxx.se/bug/view.cgi?id=1224
  730. Reported-by: Andrii Moiseiev
  731. - multi_runsingle: switch an if() condition for readability
  732. ... because there's an identical check right next to it so using the
  733. operators in the check in the same order increases readability.
  734. Marc Hoersken (2 Jun 2013)
  735. - curl_schannel.c: Removed variable unused since 35874298e4
  736. - curl_setup.h: Fixed redefinition warning using mingw-w64
  737. Daniel Stenberg (30 May 2013)
  738. - multi_runsingle: add braces to clarify the code
  739. - libcurl-tutorial.3: remove incorrect backslash
  740. A single backslash in the content is not legal nroff syntax.
  741. Reported and fixed by: Eric S. Raymond
  742. Bug: http://curl.haxx.se/bug/view.cgi?id=1234
  743. - curl_formadd.3: fixed wrong "end-marker" syntax
  744. Reported and fixed by: Eric S. Raymond
  745. Bug: http://curl.haxx.se/bug/view.cgi?id=1233
  746. - curl.1: clarify that --silent still outputs data
  747. - Digest auth: escape user names with \ or " in them
  748. When sending the HTTP Authorization: header for digest, the user name
  749. needs to be escaped if it contains a double-quote or backslash.
  750. Test 1229 was added to verify
  751. Reported and fixed by: Nach M. S
  752. Bug: http://curl.haxx.se/bug/view.cgi?id=1230
  753. - [Mike Giancola brought this change]
  754. ossl_recv: SSL_read() returning 0 is an error too
  755. SSL_read can return 0 for "not successful", according to the open SSL
  756. documentation: http://www.openssl.org/docs/ssl/SSL_read.html
  757. - [Mike Giancola brought this change]
  758. ossl_send: SSL_write() returning 0 is an error too
  759. We found that in specific cases if the connection is abruptly closed,
  760. the underlying socket is listed in a close_wait state. We continue to
  761. call the curl_multi_perform, curl_mutli_fdset etc. None of these APIs
  762. report the socket closed / connection finished. Since we have cases
  763. where the multi connection is only used once, this can pose a problem
  764. for us. I've read that if another connection was to come in, curl would
  765. see the socket as bad and attempt to close it at that time -
  766. unfortunately, this does not work for us.
  767. I found that in specific situations, if SSL_write returns 0, curl did
  768. not recognize the socket as closed (or errored out) and did not report
  769. it to the application. I believe we need to change the code slightly, to
  770. check if ssl_write returns 0. If so, treat it as an error - the same as
  771. a negative return code.
  772. For OpenSSL - the ssl_write documentation is here:
  773. http://www.openssl.org/docs/ssl/SSL_write.html
  774. - KNOWN_BUGS: curl -OJC- fails to resume
  775. Bug: http://curl.haxx.se/bug/view.cgi?id=1169
  776. - Curl_cookie_add: handle IPv6 hosts
  777. 1 - don't skip host names with a colon in them in an attempt to bail out
  778. on HTTP headers in the cookie file parser. It was only a shortcut anyway
  779. and trying to parse a file with HTTP headers will still be handled, only
  780. slightly slower.
  781. 2 - don't skip domain names based on number of dots. The original
  782. netscape cookie spec had this oddity mentioned and while our code
  783. decreased the check to only check for two, the existing cookie spec has
  784. no such dot counting required.
  785. Bug: http://curl.haxx.se/bug/view.cgi?id=1221
  786. Reported-by: Stefan Neis
  787. - curl_easy_setopt.3: expand the PROGRESSFUNCTION section
  788. Explain the callback and its arguments better and with more descriptive
  789. text.
  790. - tests: add test1394 file to the tarball
  791. - tarball: include the xmlstream example
  792. - [David Strauss brought this change]
  793. xmlstream: XML stream parsing example source code
  794. Add an XML stream parsing example using Expat. Add missing ignore for
  795. the binary from an unrelated example.
  796. - [YAMADA Yasuharu brought this change]
  797. cookies: only consider full path matches
  798. I found a bug which cURL sends cookies to the path not to aim at.
  799. For example:
  800. - cURL sends a request to http://example.fake/hoge/
  801. - server returns cookie which with path=/hoge;
  802. the point is there is NOT the '/' end of path string.
  803. - cURL sends a request to http://example.fake/hogege/ with the cookie.
  804. The reason for this old "feature" is because that behavior is what is
  805. described in the original netscape cookie spec:
  806. http://curl.haxx.se/rfc/cookie_spec.html
  807. The current cookie spec (RFC6265) clarifies the situation:
  808. http://tools.ietf.org/html/rfc6265#section-5.2.4
  809. - [Eric Hu brought this change]
  810. axtls: prevent memleaks on SSL handshake failures
  811. - Revert "WIN32 MemoryTracking: track wcsdup() _wcsdup() and _tcsdup() usage"
  812. This reverts commit 8ec2cb5544b86306b702484ea785b6b9596562ab.
  813. We don't have any code anywhere in libcurl (or the curl tool) that use
  814. wcsdup so there's no such memory use to track. It seems to cause mild
  815. problems with the Borland compiler though that we may avoid by reverting
  816. this change again.
  817. Bug: http://curl.haxx.se/mail/lib-2013-05/0070.html
  818. - RELEASE-NOTES: synced with ae26ee3489588f0
  819. Guenter Knauf (11 May 2013)
  820. - Updated zlib version in build files.
  821. Daniel Stenberg (9 May 2013)
  822. - [Renaud Guillard brought this change]
  823. OS X framework: fix invalid symbolic link
  824. Kamil Dudka (9 May 2013)
  825. - [Daniel Stenberg brought this change]
  826. nss: give PR_INTERVAL_NO_WAIT instead of -1 to PR_Recv/PR_Send
  827. Reported by: David Strauss
  828. Bug: http://curl.haxx.se/mail/lib-2013-05/0088.html
  829. Daniel Stenberg (8 May 2013)
  830. - libtest: gitignore more binary files
  831. - servercert: allow empty subject
  832. Bug: http://curl.haxx.se/bug/view.cgi?id=1220
  833. Patch by: John Gardiner Myers
  834. - [Steve Holme brought this change]
  835. tests: Added new SMTP tests to verify commit 99b40451836d
  836. - runtests.pl: support nonewline="yes" in client/stdin sections
  837. - build: fixed unit1394 for debug and metlink builds
  838. Kamil Dudka (6 May 2013)
  839. - unit1394.c: plug the curl tool unit test in
  840. - [Jared Jennings brought this change]
  841. unit1394.c: basis of a unit test for parse_cert_parameter()
  842. - src/Makefile.am: build static lib for unit tests if enabled
  843. - tool_getparam: ensure string termination in parse_cert_parameter()
  844. - tool_getparam: fix memleak in handling the -E option
  845. - tool_getparam: describe what parse_cert_parameter() does
  846. ... and de-duplicate the code initializing *passphrase
  847. - curl.1: document escape sequences recognized by -E
  848. - [Jared Jennings brought this change]
  849. curl -E: allow to escape ':' in cert nickname
  850. Marc Hoersken (5 May 2013)
  851. - curl_schannel.c: Fixed invalid memory access during SSL shutdown
  852. Steve Holme (4 May 2013)
  853. - smtp: Fix trailing whitespace warning
  854. - smtp: Fix compilation warning
  855. comparison between signed and unsigned integer expressions
  856. - RELEASE-NOTES: synced with 92ef5f19c801
  857. - smtp: Updated RFC-2821 references to RFC-5321
  858. - smtp: Fixed sending of double CRLF caused by first in EOB
  859. If the mail sent during the transfer contains a terminating <CRLF> then
  860. we should not send the first <CRLF> of the EOB as specified in RFC-5321.
  861. Additionally don't send the <CRLF> if there is "no mail data" as the
  862. DATA command already includes it.
  863. - tests: Corrected MAIL SIZE for CRLF line endings
  864. ... which was missed in commit: f5c3d9538452
  865. - tests: Corrected infilesize for CRLF line endings
  866. ... which was missed in commit: f5c3d9538452
  867. - tests: Corrected test1406 to be RFC2821 compliant
  868. - tests: Corrected test1320 to be RFC2821 compliant
  869. - tests: Corrected typo in test909
  870. Introduced in commit: 514817669e9e
  871. - tests: Corrected test909 to be RFC2821 compliant
  872. - tests: Updated test references to 909 from 1411
  873. ...and removed references to libcurl and test1406.
  874. - tests: Renamed test1411 to test909 as this is a main SMTP test
  875. Daniel Stenberg (1 May 2013)
  876. - [Lars Johannesen brought this change]
  877. bindlocal: move brace out of #ifdef
  878. The code within #ifdef HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID wrongly had two
  879. closing braces when it should only have one, so builds without that
  880. define would fail.
  881. Bug: http://curl.haxx.se/mail/lib-2013-05/0000.html
  882. Steve Holme (30 Apr 2013)
  883. - smtp: Tidy up to move the eob counter to the per-request structure
  884. Move the eob counter from the smtp_conn structure to the SMTP structure
  885. as it is associated with a SMTP payload on a per-request basis.
  886. - TODO: Updated following the addition of CURLOPT_SASL_IR
  887. - smtp: Fixed unknown percentage complete in progress bar
  888. The curl command line utility would display the the completed progress
  889. bar with a percentage of zero as the progress routines didn't know the
  890. size of the transfer.
  891. Daniel Stenberg (29 Apr 2013)
  892. - ftpserver: silence warnings
  893. Fix regressions in commit b56e3d43e5d. Make @data local and filter off
  894. non-numerical digits from $testno in STATUS_imap.
  895. Steve Holme (29 Apr 2013)
  896. - ftpserver.pl: Corrected the imap LOGIN response
  897. ...to be more realistic and consistent with the other imap responses.
  898. - tests: Added imap STATUS command test
  899. - tests: Corrected the SMTP tests to be RFC2821 compliant
  900. The emails that are sent to the server during these tests were
  901. incorrectly formatted as they contained one or more LF terminated lines
  902. rather than being CRLF terminated as per Section 2.3.7 of RFC-2821.
  903. This wasn't a problem for the test suite as the <stdin> data matched the
  904. <upload> data but anyone using these tests as reference would be sending
  905. incorrect data to a server.
  906. - email: Tidy up of *_perform_authenticate()
  907. Removed the hard returns from imap and pop3 by using the same style for
  908. sending the authentication string as smtp. Moved the "Other mechanisms
  909. not supported" check in smtp to match that of imap and pop3 to provide
  910. consistency between the three email protocols.
  911. - smtp: Updated limit check to be more readable like the check in pop3
  912. - pop3: Added 255 octet limit check when sending initial response
  913. Added 255 octet limit check as per Section 4. Paragraph 8 of RFC-5034.
  914. - DOCS: Corrected line length of recent Secure Transport changes
  915. Nick Zitzmann (27 Apr 2013)
  916. - darwinssl: add TLS crypto authentication
  917. Users using the Secure Transport (darwinssl) back-end can now use a
  918. certificate and private key to authenticate with a site using TLS. Because
  919. Apple's security system is based around the keychain and does not have any
  920. non-public function to create a SecIdentityRef data structure from data
  921. loaded outside of the Keychain, the certificate and private key have to be
  922. loaded into the Keychain first (using the certtool command line tool or
  923. the Security framework's C API) before we can find it and use it.
  924. Steve Holme (27 Apr 2013)
  925. - Corrected version numbers after bump
  926. Daniel Stenberg (27 Apr 2013)
  927. - bump version
  928. Since we're adding new stuff, the next release will bump the minor
  929. version and we're looking forward to 7.31.0
  930. Steve Holme (27 Apr 2013)
  931. - RELEASE-NOTES: synced with f4e6e201b146
  932. - DOCS: Updated following the addition of CURLOPT_SASL_IR
  933. Documented the the option in curl_easy_setopt() and added it to
  934. symbols-in-versions.
  935. - tests: Corrected command line arguments in test907 and test908
  936. - tests: Added SMTP AUTH with initial response tests
  937. - tests: Updated SMTP tests to decouple client initial response
  938. Updated test903 and test904 following the addition of CURLOPT_SASL_IR
  939. as the default behaviour of SMTP AUTH responses is now to not include
  940. the initial response. New tests with --sasl-ir support to follow.
  941. - imap: Added support for overriding the SASL initial response
  942. In addition to checking for the SASL-IR capability the user can override
  943. the sending of the client's initial response in the AUTHENTICATION
  944. command with the use of CURLOPT_SASL_IR should the server erroneously
  945. not report SASL-IR when it does support it.
  946. - smtp: Added support for disabling the SASL initial response
  947. Updated the default behaviour of sending the client's initial response in the AUTH
  948. command to not send it and added support for CURLOPT_SASL_IR to allow the user to
  949. specify including the response.
  950. Related Bug: http://curl.haxx.se/mail/lib-2012-03/0114.html
  951. Reported-by: Gokhan Sengun
  952. - pop3: Added support for enabling the SASL initial response
  953. Allowed the user to specify whether to send the client's intial response
  954. in the AUTH command via CURLOPT_SASL_IR.
  955. - sasl-ir: Added --sasl-ir option to curl command line tool
  956. - sasl-ir: Added CURLOPT_SASL_IR to enable/disable the SASL initial response
  957. Daniel Stenberg (26 Apr 2013)
  958. - curl_easy_init: use less mallocs
  959. By introducing an internal alternative to curl_multi_init() that accepts
  960. parameters to set the hash sizes, easy handles will now use tiny socket
  961. and connection hash tables since it will only ever add a single easy
  962. handle to that multi handle.
  963. This decreased the number mallocs in test 40 (which is a rather simple
  964. and typical easy interface use case) from 1142 to 138. The maximum
  965. amount of memory allocated used went down from 118969 to 78805.
  966. Steve Holme (26 Apr 2013)
  967. - ftpserver.pl: Fixed imap logout confirmation data
  968. An IMAP server should response with the BYE continuation response before
  969. confirming the LOGOUT command was successful.
  970. Daniel Stenberg (26 Apr 2013)
  971. - ftp_state_pasv_resp: connect through proxy also when set by env
  972. When connecting back to an FTP server after having sent PASV/EPSV,
  973. libcurl sometimes didn't use the proxy properly even though the proxy
  974. was used for the initial connect.
  975. The function wrongly checked for the CURLOPT_PROXY variable to be set,
  976. which made it act wrongly if the proxy information was set with an
  977. environment variable.
  978. Added test case 711 to verify (based on 707 which uses --socks5). Also
  979. added test712 to verify another variation of setting the proxy: with
  980. --proxy socks5://
  981. Bug: http://curl.haxx.se/bug/view.cgi?id=1218
  982. Reported-by: Zekun Ni
  983. Kamil Dudka (26 Apr 2013)
  984. - [Zdenek Pavlas brought this change]
  985. url: initialize speed-check data for file:// protocol
  986. ... in order to prevent an artificial timeout event based on stale
  987. speed-check data from a previous network transfer. This commit fixes
  988. a regression caused by 9dd85bced56f6951107f69e581c872c1e7e3e58e.
  989. Bug: https://bugzilla.redhat.com/906031
  990. Daniel Stenberg (25 Apr 2013)
  991. - test709: clarify the test in the name
  992. - sshserver: disable StrictHostKeyChecking
  993. I couldn't figure out why the host key logic isn't working, but having
  994. it set to yes prevents my SSH-based test cases to run. I also don't see
  995. a strong need to use strict host key checking on this test server.
  996. So I disabled it.
  997. - runtests: log more commands in verbose mode
  998. ... to aid tracking down failures
  999. Steve Holme (25 Apr 2013)
  1000. - TODO: Corrected copy/paste typo
  1001. - TODO: Added new ideas for future SMTP, POP3 and IMAP features
  1002. - TODO: Updated following the addition of ;auth=<MECH> support
  1003. - DOCS: Minor rewording / clarification of host name protocol detection
  1004. - RELEASE-NOTES: synced with a8c92cb60890
  1005. - DOCS: Added reference to IETF draft for SMTP URL Interface
  1006. ...when mentioning login options. Additional minor clarification of
  1007. "Windows builds" to be "Windows builds with SSPI"as a way of enabling
  1008. NTLM as Windows builds may be built with OpenSSL to enable NTLM or
  1009. without NTLM support altogether.
  1010. Linus Nielsen Feltzing (23 Apr 2013)
  1011. - HISTORY: Fix spelling error.
  1012. Steve Holme (23 Apr 2013)
  1013. - DOCS: Reworked the scheme calculation explanation under CURLOPT_URL
  1014. - url: Added smtp and pop3 hostnames to the protocol detection list
  1015. Daniel Stenberg (23 Apr 2013)
  1016. - HISTORY: correct some years/dates
  1017. Thanks to archive.org's wayback machine I updated this document with
  1018. some facts from the early httpget/urlget web page:
  1019. http://web.archive.org/web/19980216125115/http://www.inf.ufrgs.br/~sagula/urlget.html
  1020. - [Alessandro Ghedini brought this change]
  1021. tests: add test1511 to check timecond clean-up
  1022. Verifies the timecond fix in commit c49ed0b6c0f
  1023. - [Alessandro Ghedini brought this change]
  1024. getinfo.c: reset timecond when clearing session-info variables
  1025. Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=705783
  1026. Reported-by: Ludovico Cavedon <cavedon@debian.org>
  1027. Steve Holme (22 Apr 2013)
  1028. - DOCS: Added information about login options to CURLOPT_USERPWD
  1029. - DOCS: Added information about login options in the URL
  1030. - url: Fixed missing length check in parse_proxy()
  1031. Commit 11332577b3cb removed the length check that was performed by the
  1032. old scanf() code.
  1033. - url: Fixed crash when no username or password supplied for proxy
  1034. Fixed an issue in parse_proxy(), introduced in commit 11332577b3cb,
  1035. where an empty username or password (For example: http://:@example.com)
  1036. would cause a crash.
  1037. - url: Removed unused text length constants
  1038. - url: Updated proxy URL parsing to use parse_login_details()
  1039. - url: Tidy up of setstropt_userpwd() parameters
  1040. Updated the naming convention of the login parameters to match those of
  1041. other functions.
  1042. - url: Tidy up of code and comments following recent changes
  1043. Tidy up of variable names and comments in setstropt_userpwd() and
  1044. parse_login_details().
  1045. - url: Simplified setstropt_userpwd() following recent changes
  1046. There is no need to perform separate clearing of data if a NULL option
  1047. pointer is passed in. Instead this operation can be performed by simply
  1048. not calling parse_login_details() and letting the rest of the code do
  1049. the work.
  1050. - url: Correction to scope of if statements when setting data
  1051. - url: Fixed memory leak in setstropt_userpwd()
  1052. setstropt_userpwd() was calling setstropt() in commit fddb7b44a79d to
  1053. set each of the login details which would duplicate the strings and
  1054. subsequently cause a memory leak.
  1055. - RELEASE-NOTES: synced with d535c4a2e1f7
  1056. - url: Added overriding of URL login options from CURLOPT_USERPWD
  1057. - tool_paramhlp: Fixed options being included in username
  1058. Fix to prevent the options from being displayed when curl requests the
  1059. user's password if the following command line is specified:
  1060. --user username;options
  1061. - url: Added support for parsing login options from the CURLOPT_USERPWD
  1062. In addition to parsing the optional login options from the URL, added
  1063. support for parsing them from CURLOPT_USERPWD, to allow the following
  1064. supported command line:
  1065. --user username:password;options
  1066. - url: Added bounds checking to parse_login_details()
  1067. Added bounds checking when searching for the separator characters within
  1068. the login string as this string may not be NULL terminated (For example
  1069. it is the login part of a URL). We do this in preference to allocating a
  1070. new string to copy the login details into which could then be passed to
  1071. parse_login_details() for performance reasons.
  1072. - url: Added size_t cast to pointer based length calculations
  1073. - url: Corrected minor typo in comment
  1074. Daniel Stenberg (18 Apr 2013)
  1075. - CURL_CHECK_CA_BUNDLE: don't check for paths when cross-compiling
  1076. When cross-compiling we can't scan and detect existing files or paths.
  1077. Bug: http://curl.haxx.se/mail/lib-2013-04/0294.html
  1078. - [Ishan SinghLevett brought this change]
  1079. usercertinmem.c: add example showing user cert in memory
  1080. Relies on CURLOPT_SSL_CTX_FUNCTION, which is OpenSSL specific
  1081. Steve Holme (18 Apr 2013)
  1082. - url: Fix chksrc longer than 79 columns warning
  1083. - url: Fix incorrect variable type for result code
  1084. - url: Fix compiler warning
  1085. signed and unsigned type in conditional expression
  1086. - url: Moved parsing of login details out of parse_url_login()
  1087. Separated the parsing of login details from the processing of them in
  1088. parse_url_login() ready for use by setstropt_userpwd().
  1089. - url: Re-factored set_userpass() and parse_url_userpass()
  1090. Re-factored these functions to reflect their new behaviour following the
  1091. addition of login options.
  1092. - url: Reworked URL parsing to allow overriding by CURLOPT_USERPWD
  1093. Daniel Stenberg (18 Apr 2013)
  1094. - maketgz: make bzip2 creation work with Parallel BZIP2 too
  1095. Apparently the previous usage didn't work with that implementation,
  1096. while this updated version works with at least both Parallel BZIP2
  1097. v1.1.8 and regular bzip "Version 1.0.6, 6-Sept-2010".
  1098. Linus Nielsen Feltzing (18 Apr 2013)
  1099. - Add tests/http_pipe.py to the tarball build
  1100. Steve Holme (16 Apr 2013)
  1101. - smtp: Re-factored all perform based functions
  1102. Standardised the naming of all perform based functions to be in the form
  1103. smtp_perform_something().
  1104. - smtp: Added description comments to all perform based functions
  1105. - smtp: Moved smtp_quit() to be with the other perform functions
  1106. - smtp: Moved smtp_rcpt_to() to be with the other perform functions
  1107. - smtp: Moved smtp_mail() to be with the other perform functions
  1108. Daniel Stenberg (16 Apr 2013)
  1109. - [Wouter Van Rooy brought this change]
  1110. curl-config: don't output static libs when they are disabled
  1111. Curl-config outputs static libraries even when they are disabled in
  1112. configure.
  1113. This causes problems with the build of pycurl.
  1114. - [Dave Reisner brought this change]
  1115. docs/libcurl: fix formatting in manpage
  1116. Commit c3ea3eb6 introduced some minor cosmetic errors in
  1117. curl_mutli_socket_action(3).
  1118. - [Paul Howarth brought this change]
  1119. Add extra libs for lib1900 and lib2033 test programs
  1120. These are needed in cases where clock_gettime is used, from librt.
  1121. Dan Fandrich (15 Apr 2013)
  1122. - FAQ: mention that the network connection can be monitored
  1123. Also note the prohibition on sharing handles across threads.
  1124. Steve Holme (15 Apr 2013)
  1125. - pop3: Added missing comment for pop3_state_apop_resp()
  1126. - smtp: Updated the coding style of smtp_state_servergreet_resp()
  1127. Updated the coding style, in this function, to be consistant with other
  1128. response functions rather then performing a hard return on failure.
  1129. - pop3: Updated the coding style of pop3_state_servergreet_resp()
  1130. Updated the coding style, in this function, to be consistent with other
  1131. response functions rather then performing a hard return on failure.
  1132. - pop3: Re-factored all perform based functions
  1133. Standardised the naming of all perform based functions to be in the form
  1134. pop3_perform_something() following the changes made to IMAP.
  1135. - pop3: Added description comments to all perform based functions
  1136. - pop3: Moved pop3_quit() to be with the other perform functions
  1137. - pop3: Moved pop3_command() to be with the other perform functions
  1138. Started to apply the same tidy up to the POP3 code as applied to the
  1139. IMAP code in the 7.30.0 release.
  1140. - RELEASE-NOTES: Removed erroneous spaces
  1141. - RELEASE-NOTES: synced with 8723cade21fb
  1142. - smtp: Added support for ;auth=<mech> in the URL
  1143. Added support for specifying the preferred authentication mechanism in
  1144. the URL as per Internet-Draft 'draft-earhart-url-smtp-00'.
  1145. - pop3: Reworked authentication type constants
  1146. ... to use left-shifted values, like those defined in curl.h, rather
  1147. than 16-bit hexadecimal values.
  1148. - pop3: Small consistency tidy up
  1149. - pop3: Added support for ;auth=<mech> in the URL
  1150. Added support for specifying the preferred authentication type and SASL
  1151. mechanism in the URL as per RFC-2384.
  1152. - imap: Added support for ;auth=<mech> in the URL
  1153. Added support for specifying the preferred authentication mechanism in
  1154. the URL as per RFC-5092.
  1155. - sasl: Reworked SASL mechanism constants
  1156. ... to use left-shifted values, like those defined in curl.h, rather
  1157. than 16-bit hexadecimal values.
  1158. - sasl: Added predefined preferred mechanism values
  1159. In preparation for the upcoming changes to IMAP, POP3 and SMTP added
  1160. preferred mechanism values.
  1161. - url: Added support for parsing login options from the URL
  1162. As well as parsing the username and password from the URL, added support
  1163. for parsing the optional options part from the login details, to allow
  1164. the following supported URL format:
  1165. schema://username:password;options@example.com/path?q=foobar
  1166. This will only be used by IMAP, POP3 and SMTP at present but any
  1167. protocol that may be given login options in the URL will be able to
  1168. add support for them.
  1169. - smtp: Fix compiler warning
  1170. warning: unused variable 'smtp' introduced in commit 73cbd21b5ee6.
  1171. - smtp: Moved parsing of url path into separate function
  1172. Daniel Stenberg (12 Apr 2013)
  1173. - FTP: handle a 230 welcome response
  1174. ...instead of the 220 we otherwise expect.
  1175. Made the ftpserver.pl support sending a custom "welcome" and then
  1176. created test 1219 to verify this fix with such a 230 welcome.
  1177. Bug: http://curl.haxx.se/mail/lib-2013-02/0102.html
  1178. Reported by: Anders Havn
  1179. - configure: try pthread_create without -lpthread
  1180. For libc variants without a spearate pthread lib (like bionic), try
  1181. using pthreads without the pthreads lib first and only if that fails try
  1182. the -lpthread linker flag.
  1183. Bug: http://curl.haxx.se/bug/view.cgi?id=1216
  1184. Reported by: Duncan
  1185. - FTP: access files in root dir correctly
  1186. Accessing a file with an absolute path in the root dir but with no
  1187. directory specified was not handled correctly. This fix comes with four
  1188. new test cases that verify it.
  1189. Bug: http://curl.haxx.se/mail/lib-2013-04/0142.html
  1190. Reported by: Sam Deane
  1191. Steve Holme (12 Apr 2013)
  1192. - pop3: Reworked the function description for Curl_pop3_write()
  1193. - pop3: Added function description to pop3_parse_custom_request()
  1194. - pop3: Moved utility functions to end of pop3.c
  1195. Nick Zitzmann (12 Apr 2013)
  1196. - darwinssl: add TLS session resumption
  1197. This ought to speed up additional TLS handshakes, at least in theory.
  1198. Steve Holme (12 Apr 2013)
  1199. - imap: Added function description to imap_parse_custom_request()
  1200. - imap: Moved utility functions to end of imap.c (Part 3/3)
  1201. Moved imap_is_bchar() be with the other utility based functions.
  1202. - imap: Moved utility functions to end of imap.c (Part 2/3)
  1203. Moved imap_parse_url_path() and imap_parse_custom_request() to the end of the
  1204. file allowing all utility functions to be grouped together.
  1205. - imap: Moved utility functions to end of imap.c (Part 1/3)
  1206. Moved imap_atom() and imap_sendf() to the end of the file allowing all
  1207. utility functions to be grouped together.
  1208. - imap: Corrected function description for imap_connect()
  1209. Kamil Dudka (12 Apr 2013)
  1210. - tests: prevent test206, test1060, and test1061 from failing
  1211. ... in case runtests.pl is invoked with non-default -b option
  1212. Fixes a regression caused by 1e29d275c643ef6aab7948f0f55a7a9397e56b42.
  1213. Daniel Stenberg (12 Apr 2013)
  1214. - [David Strauss brought this change]
  1215. libcurl-share.3: update what it does and does not share.
  1216. Update sharing interface documentation to provide exhaustive list of
  1217. what it does and does not share.
  1218. - THANKS: remove duplicated names
  1219. - bump: start working towards next release
  1220. - THANKS: added people from the 7.30.0 RELEASE-NOTES
  1221. Version 7.30.0 (12 Apr 2013)
  1222. Daniel Stenberg (12 Apr 2013)
  1223. - RELEASE-NOTES: cleaned up for 7.30 (synced with 5c5e1a1cd20)
  1224. Most notable the security advisory:
  1225. http://curl.haxx.se/docs/adv_20130412.html
  1226. - test1218: another cookie tailmatch test
  1227. ... and make 1216 also verify it with a file input
  1228. These tests verify commit 3604fde3d3c9b0d, the fix for the "cookie
  1229. domain tailmatch" vulnerability. See
  1230. http://curl.haxx.se/docs/adv_20130412.html
  1231. - [YAMADA Yasuharu brought this change]
  1232. cookie: fix tailmatching to prevent cross-domain leakage
  1233. Cookies set for 'example.com' could accidentaly also be sent by libcurl
  1234. to the 'bexample.com' (ie with a prefix to the first domain name).
  1235. This is a security vulnerabilty, CVE-2013-1944.
  1236. Bug: http://curl.haxx.se/docs/adv_20130412.html
  1237. Guenter Knauf (11 Apr 2013)
  1238. - Enabled MinGW sync resolver builds.
  1239. Yang Tse (10 Apr 2013)
  1240. - if2ip.c: fix compiler warning
  1241. Guenter Knauf (10 Apr 2013)
  1242. - Fixed lost OpenSSL output with "-t" - followup.
  1243. The previously applied patch didnt work on Windows; we cant rely
  1244. on shell commands like 'echo' since they act diffently on each
  1245. platform and each shell.
  1246. In order to keep this script platform-independent the code must
  1247. only use pure Perl.
  1248. Daniel Stenberg (9 Apr 2013)
  1249. - test1217: verify parsing 257 responses with "rubbish" before path
  1250. Test 1217 verifies commit e0fb2d86c9f78, and without that change this
  1251. test fails.
  1252. - [Bill Middlecamp brought this change]
  1253. FTP: handle "rubbish" in front of directory name in 257 responses
  1254. When doing PWD, there's a 257 response which apparently some servers
  1255. prefix with a comment before the path instead of after it as is
  1256. otherwise the norm.
  1257. Failing to parse this, several otherwise legitimate use cases break.
  1258. Bug: http://curl.haxx.se/mail/lib-2013-04/0113.html
  1259. Guenter Knauf (9 Apr 2013)
  1260. - Fixed ares-enabled builds with static makefiles.
  1261. - Fixed lost OpenSSL output with "-t".
  1262. The OpenSSL pipe wrote to the final CA bundle file, but the encoded PEM
  1263. output wrote to a temporary file. Consequently, the OpenSSL output was
  1264. lost when the temp file was renamed to the final file at script finish
  1265. (overwriting the final file written earlier by openssl).
  1266. Patch posted to the list by Richard Michael (rmichael edgeofthenet org).
  1267. Daniel Stenberg (9 Apr 2013)
  1268. - test1216: test tailmatching cookie domains
  1269. This test is an attempt to repeat the problem YAMADA Yasuharu reported
  1270. at http://curl.haxx.se/mail/lib-2013-04/0108.html
  1271. - RELEASe-NOTES: synced with 29fdb2700f797
  1272. added "tcpkeepalive on Mac OS X"
  1273. Nick Zitzmann (8 Apr 2013)
  1274. - darwinssl: disable insecure ciphers by default
  1275. I noticed that aria2's SecureTransport code disables insecure ciphers such
  1276. as NULL, anonymous, IDEA, and weak-key ciphers used by SSLv3 and later.
  1277. That's a good idea, and now we do the same thing in order to prevent curl
  1278. from accessing a "secure" site that only negotiates insecure ciphersuites.
  1279. Daniel Stenberg (8 Apr 2013)
  1280. - [Robert Wruck brought this change]
  1281. tcpkeepalive: Support CURLOPT_TCP_KEEPIDLE on OSX
  1282. MacOS X doesn't have TCP_KEEPIDLE/TCP_KEEPINTVL but only a single
  1283. TCP_KEEPALIVE (see
  1284. http://developer.apple.com/library/mac/#DOCUMENTATION/Darwin/Reference/ManPages/man4/tcp.4.html).
  1285. Here is a patch for CURLOPT_TCP_KEEPIDLE on OSX platforms.
  1286. - configure: remove CURL_CHECK_FUNC_RECVFROM
  1287. 1 - We don't use the results from the test and we never did. recvfrom()
  1288. is only used by the TFTP code and it has not caused any problems.
  1289. 2 - the CURL_CHECK_FUNC_RECVFROM function is extremely slow
  1290. Steve Holme (8 Apr 2013)
  1291. - RELEASE-NOTES: Corrected duplicate NTLM memory leaks
  1292. - RELEASE-NOTES: Removed trailing full stop
  1293. Daniel Stenberg (8 Apr 2013)
  1294. - [Fabian Keil brought this change]
  1295. proxy: make ConnectionExists() check credential of proxyconnections too
  1296. Previously it only compared credentials if the requested needle
  1297. connection wasn't using a proxy. This caused NTLM authentication
  1298. failures when using proxies as the authentication code wasn't send on
  1299. the connection where the challenge arrived.
  1300. Added test 1215 to verify: NTLM server authentication through a proxy
  1301. (This is a modified copy of test 67)
  1302. - RELEASE-NOTES: sync with 704a5dfca9
  1303. - TODO-RELEASE: cleaned up, not really maintained lately
  1304. Marc Hoersken (7 Apr 2013)
  1305. - if2ip.c: Fixed another warning: unused parameter 'remote_scope'
  1306. Daniel Stenberg (7 Apr 2013)
  1307. - [Marc Hoersken brought this change]
  1308. cookie.c: Made cookie sort function more deterministic
  1309. Since qsort implementations vary with regards to handling the order
  1310. of similiar elements, this change makes the internal sort function
  1311. more deterministic by comparing path length first, then domain length
  1312. and finally the cookie name. Spotted with testcase 62 on Windows.
  1313. Marc Hoersken (7 Apr 2013)
  1314. - curl_schannel.c: Follow up on memory leak fix ae4558d
  1315. - Revert "getpart.pm: Strip carriage returns to fix Windows support"
  1316. This reverts commit e51b23c925a2721cf7c29b2b376d3d8903cfb067.
  1317. As discussed on the mailinglist, this was not the correct approach.
  1318. - http_negotiate.c: Fixed passing argument from incompatible pointer type
  1319. - ftp.c: Added missing brackets around ABOR command logic
  1320. - sockfilt.c: Fixed detection of client-side connection close
  1321. WINSOCK only:
  1322. Since FD_CLOSE is only signaled once, it may trigger at the same
  1323. time as FD_READ. Data actually being available makes it impossible
  1324. to detect that the connection was closed by checking that recv returns
  1325. zero. Another recv attempt could block the connection if it was
  1326. not closed. This workaround abuses exceptfds in conjunction with
  1327. readfds to signal that the connection has actually closed.
  1328. - curl_schannel.c: Fixed memory leak if connection was not successful
  1329. - if2ip.c: Fixed warning: unused parameter 'remote_scope'
  1330. - runtests.pl: Fixed --verbose parameter passed to http_pipe.py
  1331. - sockfilt.c: Reduce CPU load while running under a Windows PIPE
  1332. - tftpd.c: Apply sread timeout to the whole data transfer session
  1333. - getpart.pm: Strip carriage returns to fix Windows support
  1334. Daniel Stenberg (6 Apr 2013)
  1335. - ftp tests: libcurl returns CURLE_FTP_ACCEPT_FAILED better now
  1336. Since commit 57aeabcc1a20f, it handles errors on the control connection
  1337. while waiting for the data connection better.
  1338. Test 591 and 592 are updated accordingly.
  1339. - FTP: wait on both connections during active STOR state
  1340. When doing PORT and upload (STOR), this function needs to extract the
  1341. file descriptor for both connections so that it will respond immediately
  1342. when the server eventually connects back.
  1343. This flaw caused active connections to become unnecessary slow but they
  1344. would still often work due to the normal polling on a timeout. The bug
  1345. also would not occur if the server connected back very fast, like when
  1346. testing on local networks.
  1347. Bug: http://curl.haxx.se/bug/view.cgi?id=1183
  1348. Reported by: Daniel Theron
  1349. Marc Hoersken (6 Apr 2013)
  1350. - tftpd.c: Follow up cleanup and restore of previous sockopt
  1351. Daniel Stenberg (6 Apr 2013)
  1352. - [Kim Vandry brought this change]
  1353. connect: treat an interface bindlocal() problem as a non-fatal error
  1354. I am using curl_easy_setopt(CURLOPT_INTERFACE, "if!something") to force
  1355. transfers to use a particular interface but the transfer fails with
  1356. CURLE_INTERFACE_FAILED, "Failed binding local connection end" if the
  1357. interface I specify has no IPv6 address. The cause is as follows:
  1358. The remote hostname resolves successfully and has an IPv6 address and an
  1359. IPv4 address.
  1360. cURL attempts to connect to the IPv6 address first.
  1361. bindlocal (in lib/connect.c) fails because Curl_if2ip cannot find an
  1362. IPv6 address on the interface.
  1363. This is a fatal error in singleipconnect()
  1364. This change will make cURL try the next IP address in the list.
  1365. Also included are two changes related to IPv6 address scope:
  1366. - Filter the choice of address in Curl_if2ip to only consider addresses
  1367. with the same scope ID as the connection address (mismatched scope for
  1368. local and remote address does not result in a working connection).
  1369. - bindlocal was ignoring the scope ID of addresses returned by
  1370. Curl_if2ip . Now it uses them.
  1371. Bug: http://curl.haxx.se/bug/view.cgi?id=1189
  1372. Marc Hoersken (6 Apr 2013)
  1373. - tftpd.c: Fixed sread timeout on Windows by setting it manually
  1374. - ftp.pm: Added tskill to support Windows XP Home
  1375. - runtests.pl: Modularization of MinGW/Msys compatibility functions
  1376. - ftp.pm: Made Perl testsuite able to handle Windows processes
  1377. - util.c: Revert workaround eeefcdf, 6eb56e7 and e3787e8
  1378. - ftp.pm: Made Perl testsuite able to kill Windows processes
  1379. - util.c: Follow up cleanup on eeefcdf
  1380. Daniel Stenberg (6 Apr 2013)
  1381. - cpp: use #ifdef __MINGW32__ to avoid compiler complaints
  1382. ... instead of just #if
  1383. Marc Hoersken (6 Apr 2013)
  1384. - util.c: Made write_pidfile write the correct PID on MinGW/Msys
  1385. This workaround fixes an issue on MinGW/Msys regarding the Perl
  1386. testsuite scripts not being able to signal or control the server
  1387. processes. The MinGW Perl runtime only sees the Msys processes and
  1388. their corresponding PIDs, but sockfilt (and other servers) wrote the
  1389. Windows PID into their PID-files. Since this PID is useless to the
  1390. testsuite, the write_pidfile function was changed to search for the
  1391. Msys PID and write that into the PID-file.
  1392. Daniel Stenberg (5 Apr 2013)
  1393. - RELEASE-NOTES: synced with 5e722b2d09087
  1394. 3 more bug fixes, 6 more contributors
  1395. Marc Hoersken (5 Apr 2013)
  1396. - sockfilt.c: Fixed handling of multiple fds being signaled
  1397. Kamil Dudka (5 Apr 2013)
  1398. - curl_global_init.3: improve description of CURL_GLOBAL_ALL
  1399. Reported by: Tomas Mlcoch
  1400. - examples/multi-single.c: fix the order of destructions
  1401. ... so that it adheres to the API documentation.
  1402. Reported by: Tomas Mlcoch
  1403. Daniel Stenberg (5 Apr 2013)
  1404. - Curl_open: restore default MAXCONNECTS to 5
  1405. At some point recently we lost the default value for the easy handle's
  1406. connection cache, and this change puts it back to 5 - which is the
  1407. former default value and it is documented in the curl_easy_setopt.3 man
  1408. page.
  1409. Marc Hoersken (4 Apr 2013)
  1410. - sockfilt.c: Added wrapper functions to fix Windows console issues
  1411. The new read and write wrapper functions support reading from stdin
  1412. and writing to stdout/stderr on Windows by using the appropriate
  1413. Windows API functions and data types.
  1414. Yang Tse (4 Apr 2013)
  1415. - lib1509.c: fix compiler warnings
  1416. - easy.c: fix compiler warning
  1417. Daniel Stenberg (4 Apr 2013)
  1418. - --engine: spellfix the help message
  1419. Reported by: Fredrik Thulin
  1420. Yang Tse (4 Apr 2013)
  1421. - http_negotiate.c: follow-up for commit 3dcc1a9c
  1422. Linus Nielsen Feltzing (4 Apr 2013)
  1423. - easy: Fix the broken CURLOPT_MAXCONNECTS option
  1424. Copy the CURLOPT_MAXCONNECTS option to CURLMOPT_MAXCONNECTS in
  1425. curl_easy_perform().
  1426. Bug: http://curl.haxx.se/bug/view.cgi?id=1212
  1427. Reported-by: Steven Gu
  1428. Guenter Knauf (4 Apr 2013)
  1429. - Updated copyright date.
  1430. - Another small output fix for --help and --version.
  1431. Yang Tse (4 Apr 2013)
  1432. - http_negotiate.c: fix several SPNEGO memory handling issues
  1433. Guenter Knauf (4 Apr 2013)
  1434. - Added a cont to specify base64 line wrap.
  1435. - Fixed version output.
  1436. - Added support for --help and --version options.
  1437. - Added option to specify length of base64 output.
  1438. Based on a patch posted to the list by Richard Michael.
  1439. Daniel Stenberg (3 Apr 2013)
  1440. - curl_easy_setopt.3: CURLOPT_HTTPGET disables CURLOPT_UPLOAD
  1441. - [Yasuharu Yamada brought this change]
  1442. Curl_cookie_add: only increase numcookies for new cookies
  1443. Count up numcookies in Curl_cookie_add() only when cookie is new one
  1444. - SO_SNDBUF: don't set SNDBUF for win32 versions vista or later
  1445. The Microsoft knowledge-base article
  1446. http://support.microsoft.com/kb/823764 describes how to use SNDBUF to
  1447. overcome a performance shortcoming in winsock, but it doesn't apply to
  1448. Windows Vista and later versions. If the described SNDBUF magic is
  1449. applied when running on those more recent Windows versions, it seems to
  1450. instead have the reversed effect in many cases and thus make libcurl
  1451. perform less good on those systems.
  1452. This fix thus adds a run-time version-check that does the SNDBUF magic
  1453. conditionally depending if it is deemed necessary or not.
  1454. Bug: http://curl.haxx.se/bug/view.cgi?id=1188
  1455. Reported by: Andrew Kurushin
  1456. Tested by: Christian Hägele
  1457. Nick Zitzmann (1 Apr 2013)
  1458. - darwinssl: additional descriptive messages of SSL handshake errors
  1459. (This doesn't need to appear in the release notes.)
  1460. Guenter Knauf (1 Apr 2013)
  1461. - Added dns and connect time to output.
  1462. Daniel Stenberg (1 Apr 2013)
  1463. - RELEASE-NOTES: synced with 0614b902136
  1464. - code-policed
  1465. - tcpkeepalive: support TCP_KEEPIDLE/TCP_KEEPINTVL on win32
  1466. Patch by: Robert Wruck
  1467. Bug: http://curl.haxx.se/bug/view.cgi?id=1209
  1468. - BINDINGS: BBHTTP is a cocoa binding, Julia has a binding
  1469. - ftp_sendquote: use PPSENDF, not FTPSENDF
  1470. The last remaining code piece that still used FTPSENDF now uses PPSENDF.
  1471. In the problematic case, a PREQUOTE series was done on a re-used
  1472. connection when Curl_pp_init() hadn't been called so it had messed up
  1473. pointers. The init call is done properly from Curl_pp_sendf() so this
  1474. change fixes this particular crash.
  1475. Bug: http://curl.haxx.se/mail/lib-2013-03/0319.html
  1476. Reported by: Sam Deane
  1477. Steve Holme (27 Mar 2013)
  1478. - RELEASE-NOTES: Corrected typo
  1479. Daniel Stenberg (27 Mar 2013)
  1480. - [Clemens Gruber brought this change]
  1481. multi-uv.c: remove unused variable
  1482. - RELEASE-NOTES: add two references
  1483. - test1509: verify proxy header response headers count
  1484. Modified sws to support and use custom CONNECT responses instead of the
  1485. previously naive hard-coded version. Made the HTTP test server able to
  1486. extract test case number from the host name in a CONNECT request by
  1487. finding the number after the last dot. It makes 'machine.moo.123' use
  1488. test case 123.
  1489. Adapted a larger amount of tests to the new <connect> style.
  1490. Bug: http://curl.haxx.se/bug/view.cgi?id=1204
  1491. Reported by: Martin Jansen
  1492. - [Clemens Gruber brought this change]
  1493. Added libuv example multi-uv.c
  1494. Yang Tse (25 Mar 2013)
  1495. - NTLM: fix several NTLM code paths memory leaks
  1496. - WIN32 MemoryTracking: track wcsdup() _wcsdup() and _tcsdup() usage
  1497. As of 25-mar-2013 wcsdup() _wcsdup() and _tcsdup() are only used in
  1498. WIN32 specific code, so tracking of these has not been extended for
  1499. other build targets. Without this fix, memory tracking system on
  1500. WIN32 builds, when using these functions, would provide misleading
  1501. results.
  1502. In order to properly extend this support for all targets curl.h
  1503. would have to define curl_wcsdup_callback prototype and consequently
  1504. wchar_t should be visible before that in curl.h. IOW curl_wchar_t
  1505. defined in curlbuild.h and this pulling whatever system header is
  1506. required to get wchar_t definition.
  1507. Additionally a new curl_global_init_mem() function that also receives
  1508. user defined wcsdup() callback would be required.
  1509. - curl_ntlm_msgs.c: revert commit 463082bea4
  1510. reverts unreleased invalid memory leak fix
  1511. Daniel Stenberg (23 Mar 2013)
  1512. - RELEASE-NOTES: synced with bc6037ed3ec02
  1513. More changes, bugfixes and contributors!
  1514. - [Martin Jansen brought this change]
  1515. Curl_proxyCONNECT: count received headers
  1516. Proxy servers tend to add their own headers at the beginning of
  1517. responses. The size of these headers was not taken into account by
  1518. CURLINFO_HEADER_SIZE before this change.
  1519. Bug: http://curl.haxx.se/bug/view.cgi?id=1204
  1520. Steve Holme (21 Mar 2013)
  1521. - sasl: Corrected a few violations of the curl coding standards
  1522. Corrected some incorrectly positioned pointer variable declarations to
  1523. be "char *" rather than "char* ".
  1524. - multi.c: Corrected a couple of violations of the curl coding standards
  1525. Corrected some incorrectly positioned pointer variable declarations to
  1526. be "type *" rather than "type* ".
  1527. - imap-tests: Added CRLF to reply data to be compliant with RFC-822
  1528. Updated the reply data in tests: 800, 801, 802, 804 and 1321 to possess
  1529. the CRLF as per RFC-822.
  1530. - multi.c: Fix compilation warning
  1531. warning: an enumerated type is mixed with another type
  1532. - multi.c: fix compilation error
  1533. warning: conversion from enumeration type to different enumeration type
  1534. - lib1900.c: fix compilation warning
  1535. warning: declaration of 'time' shadows a global declaration
  1536. Yang Tse (20 Mar 2013)
  1537. - [John E. Malmberg brought this change]
  1538. build_vms.com: use existing curlbuild.h and parsing fix
  1539. This patch removes building curlbuild.h from the build_vms.com procedure
  1540. and uses the one in the daily or release tarball instead.
  1541. packages/vms/build_curlbuild_h.com is obsolete with this change.
  1542. Accessing the library module name "tool_main" needs different handling
  1543. when the optional extended parsing is enabled.
  1544. Tested on IA64/VMS 8.4 and VAX/VMS 7.3
  1545. Nick Zitzmann (19 Mar 2013)
  1546. - darwinssl: disable ECC ciphers under Mountain Lion by default
  1547. I found out that ECC doesn't work as of OS X 10.8.3, so those ciphers are
  1548. turned off until the next point release of OS X.
  1549. Steve Holme (18 Mar 2013)
  1550. - FEATURES: Small tidy up for constancy and grammar
  1551. Daniel Stenberg (18 Mar 2013)
  1552. - [Oliver Schindler brought this change]
  1553. Curl_proxyCONNECT: clear 'rewindaftersend' on success
  1554. After having done a POST over a CONNECT request, the 'rewindaftersend'
  1555. boolean could be holding the previous value which could lead to badness.
  1556. This should be tested for in a new test case!
  1557. Bug: https://groups.google.com/d/msg/msysgit/B31LNftR4BI/KhRTz0iuGmUJ
  1558. Steve Holme (18 Mar 2013)
  1559. - TODO: Reordered the protocol and security sections
  1560. Moved SMTP, POP3, IMAP and New Protocol sections to be listed after the
  1561. other protocols (FTP, HTTP and TELNET) and SASL to be after SSL and
  1562. GnuTLS as these are all security related.
  1563. Additionally fixed numbering of the SSL and GnuTLS sections as they
  1564. weren't consecutive.
  1565. Yang Tse (18 Mar 2013)
  1566. - tests: specify 'text' mode for some output files in verify section
  1567. Steve Holme (17 Mar 2013)
  1568. - imap: Fixed incorrect initial response generation for SASL AUTHENTICATE
  1569. Fixed incorrect initial response generation for the NTLM and LOGIN SASL
  1570. authentication mechanisms when the SASL-IR was detected.
  1571. Introduced in commit: 6da7dc026c14.
  1572. - FEATURES: Expanded the supported enhanced IMAP command list
  1573. - TODO: Corrected typo in TOC
  1574. - TODO: Added IMAP section and removed unused Other protocols section
  1575. - TODO: Added graceful base64 decoding failure to SMTP and POP3
  1576. - TODO: Corrected typo on section 10.2 heading
  1577. Yang Tse (16 Mar 2013)
  1578. - tests: 96, 558, 1330: strip build subdirectory dependent leading path
  1579. Steve Holme (15 Mar 2013)
  1580. - TODO: Added section 10.2 Initial response to POP3 to do list
  1581. - imap-tests: Corrected copy/paste error in test808 reply data
  1582. Yang Tse (15 Mar 2013)
  1583. - unit1330.c: fix date
  1584. - tests: add #96 #558 and #1330
  1585. These verfy that the 'memory tracking' subsystem is actually doing its
  1586. job when using curl tool (#96), a test in libtest (#558) and also a unit
  1587. test (#1330), in order to prevent regressions in this functionallity.
  1588. Steve Holme (15 Mar 2013)
  1589. - imap-tests: Added test808 for custom EXAMINE command
  1590. Daniel Stenberg (15 Mar 2013)
  1591. - HTTP proxy: insert slash in URL if missing
  1592. curl has been accepting URLs using slightly wrong syntax for a long
  1593. time, such as when completely missing as slash "http://example.org" or
  1594. missing a slash when a query part is given
  1595. "http://example.org?q=foobar".
  1596. curl would translate these into a legitimate HTTP request to servers,
  1597. although as was shown in bug #1206 it was not adjusted properly in the
  1598. cases where a HTTP proxy was used.
  1599. Test 1213 and 1214 were added to the test suite to verify this fix.
  1600. The test HTTP server was adjusted to allow us to specify test number in
  1601. the host name only without using any slashes in a given URL.
  1602. Bug: http://curl.haxx.se/bug/view.cgi?id=1206
  1603. Reported by: ScottJi
  1604. Steve Holme (14 Mar 2013)
  1605. - ftpserver.pl: Added EXAMINE_imap() for IMAP EXAMINE commands
  1606. Used hard coded data from RFC-3501 section 6.3.2.
  1607. Yang Tse (14 Mar 2013)
  1608. - curl_memory.h: introduce CURLX_NO_MEMORY_CALLBACKS usage possibility
  1609. This commit alone does not fix anything nor modifies existing
  1610. interfaces or behaviors, although it is a prerequisite for other
  1611. fixes.
  1612. - Makefile.vc6: add missing files
  1613. Linus Nielsen Feltzing (14 Mar 2013)
  1614. - pipelining: Remove dead code.
  1615. - Multiple pipelines and limiting the number of connections.
  1616. Introducing a number of options to the multi interface that
  1617. allows for multiple pipelines to the same host, in order to
  1618. optimize the balance between the penalty for opening new
  1619. connections and the potential pipelining latency.
  1620. Two new options for limiting the number of connections:
  1621. CURLMOPT_MAX_HOST_CONNECTIONS - Limits the number of running connections
  1622. to the same host. When adding a handle that exceeds this limit,
  1623. that handle will be put in a pending state until another handle is
  1624. finished, so we can reuse the connection.
  1625. CURLMOPT_MAX_TOTAL_CONNECTIONS - Limits the number of connections in total.
  1626. When adding a handle that exceeds this limit,
  1627. that handle will be put in a pending state until another handle is
  1628. finished. The free connection will then be reused, if possible, or
  1629. closed if the pending handle can't reuse it.
  1630. Several new options for pipelining:
  1631. CURLMOPT_MAX_PIPELINE_LENGTH - Limits the pipeling length. If a
  1632. pipeline is "full" when a connection is to be reused, a new connection
  1633. will be opened if the CURLMOPT_MAX_xxx_CONNECTIONS limits allow it.
  1634. If not, the handle will be put in a pending state until a connection is
  1635. ready (either free or a pipe got shorter).
  1636. CURLMOPT_CONTENT_LENGTH_PENALTY_SIZE - A pipelined connection will not
  1637. be reused if it is currently processing a transfer with a content
  1638. length that is larger than this.
  1639. CURLMOPT_CHUNK_LENGTH_PENALTY_SIZE - A pipelined connection will not
  1640. be reused if it is currently processing a chunk larger than this.
  1641. CURLMOPT_PIPELINING_SITE_BL - A blacklist of hosts that don't allow
  1642. pipelining.
  1643. CURLMOPT_PIPELINING_SERVER_BL - A blacklist of server types that don't allow
  1644. pipelining.
  1645. See the curl_multi_setopt() man page for details.
  1646. Yang Tse (13 Mar 2013)
  1647. - tool_main.c: remove redundant vms_show storage-class specifier
  1648. vms_show 'extern' storage-class specifier removed from tool_main.c due to...
  1649. - Advice from Tor Arntsen: http://curl.haxx.se/mail/lib-2013-03/0164.html
  1650. - HP OpenVMS docs stating that 'Extern is the default storage class for
  1651. variables declared outside a function.'
  1652. http://h71000.www7.hp.com/commercial/c/docs/dec_c_help_5.html
  1653. (Storage_Classes section)
  1654. - test509: libcurl initialization with memory callbacks and actual usage
  1655. Steve Holme (13 Mar 2013)
  1656. - pop3: Removed unnecessary transfer cancellation
  1657. Following commit e450f66a02d8 and the changes in the multi interface
  1658. being used internally, from 7.29.0, the transfer cancellation in
  1659. pop3_dophase_done() is no longer required.
  1660. Yang Tse (13 Mar 2013)
  1661. - Makefile.am: add VMS files not being included in tarball
  1662. - [Tom Grace brought this change]
  1663. build_vms.com: VMS build fixes
  1664. Added missing slash in cc_full_list.
  1665. Removed unwanted extra quotes inside symbol tool_main
  1666. for non-VAX architectures that triggered link failure.
  1667. Replaced curl_sys_inc with sys_inc.
  1668. - [Tom Grace brought this change]
  1669. tool_main.c: fix VMS global variable storage-class specifier
  1670. An extern submits a psect and a global reference to the linker to point
  1671. to it. Using "extern int vms_show = 0" also creates a globaldef.
  1672. The use of the extern by itself does declare a psect but does not declare
  1673. a globalsymbol. It does declare a globalref. But the linker needs one and
  1674. only one globaldef or there is an error.
  1675. Patrick Monnerat (12 Mar 2013)
  1676. - OS400: synchronize RPG binding
  1677. Steve Holme (12 Mar 2013)
  1678. - pop3: Fixed continuous wait when using --ftp-list
  1679. Don't initiate a transfer when using --ftp-list.
  1680. Kamil Dudka (12 Mar 2013)
  1681. - [Zdenek Pavlas brought this change]
  1682. curl_global_init: accept the CURL_GLOBAL_ACK_EINTR flag
  1683. The flag can be used in pycurl-based applications where using the multi
  1684. interface would not be acceptable because of the performance lost caused
  1685. by implementing the select() loop in python.
  1686. Bug: http://curl.haxx.se/bug/view.cgi?id=1168
  1687. Downstream Bug: https://bugzilla.redhat.com/919127
  1688. - easy: do not ignore poll() failures other than EINTR
  1689. Yang Tse (12 Mar 2013)
  1690. - curl.h: stricter CURL_EXTERN linkage decorations logic
  1691. No API change involved.
  1692. Info: http://curl.haxx.se/mail/lib-2013-02/0234.html
  1693. Daniel Stenberg (11 Mar 2013)
  1694. - THANKS: Latin-1'ified Jiri's name
  1695. Steve Holme (11 Mar 2013)
  1696. - test806: Added CRLF to reply data to be compliant with RFC-822
  1697. Daniel Stenberg (11 Mar 2013)
  1698. - test805: added crlf newlines to make data size match
  1699. since mails sent are supposed to have CRLF line endings I added them and
  1700. now the data size after (\Seen) matches again properly
  1701. - test: fix newline for the data check of 807
  1702. Yang Tse (11 Mar 2013)
  1703. - test801 to test807: fix protocol section line endings
  1704. Steve Holme (10 Mar 2013)
  1705. - Makefile.am: Corrected a couple of spurious tab characters
  1706. Corrected a couple of tab characters between test702 and test703, and
  1707. between test900 and test901 which should be spaces.
  1708. - [Jiri Hruska brought this change]
  1709. imap: Added test807 for custom request functionality (STORE)
  1710. - [Jiri Hruska brought this change]
  1711. imap: Added test806 for IMAP (folder) LIST command
  1712. - [Jiri Hruska brought this change]
  1713. imap: Added test805 for APPEND functionality
  1714. - [Jiri Hruska brought this change]
  1715. imap: Added test804 for skipping SELECT if in the same mailbox
  1716. - [Jiri Hruska brought this change]
  1717. imap: Added test802 and test803 for UIDVALIDITY verification
  1718. Added one test for a request with matching UIDVALIDITY and one which is
  1719. a mismatched request that will fail.
  1720. - [Jiri Hruska brought this change]
  1721. imap: Added test801 for UID and SECTION URL parameters
  1722. - [Jiri Hruska brought this change]
  1723. imap-tests: Accept quoted parameters in ftpserver.pl
  1724. Any IMAP parameter can come in escaped and in double quotes. Added a
  1725. simple function to unquote the command parameters and applied it to
  1726. the IMAP command handlers.
  1727. - [Jiri Hruska brought this change]
  1728. tests: Fix ftpserver.pl indentation
  1729. The whole of FETCH_imap() had one extra space of indentation, whilst
  1730. APPEND_imap() used indentation of 2 instead of 4 in places.
  1731. - Makefile.am: Corrected end of line filler character
  1732. The majority of lines, that specify a test file for inclusion, end with
  1733. a tab character before the slash whilst some end with a space. Corrected
  1734. those that end with a space to end with a tab character as well.
  1735. - email-tests: Updated the test data that corresponds to the test number
  1736. Finished segregating the email protocol tests, into their own protocol
  1737. based ranges, in preparation of adding more e-mail related tests to the
  1738. test suite.
  1739. - email-tests: Renamed the IMAP test to be 800
  1740. Continued segregating the email protocol tests, into their own protocol
  1741. based ranges, in preparation of adding more e-mail related tests to the
  1742. test suite.
  1743. - email-tests: Renamed the SMTP tests to be in the range 900-906
  1744. Continued segregating the email protocol tests, into their own protocol
  1745. based ranges, in preparation of adding more e-mail related tests to the
  1746. test suite.
  1747. - email-tests: Renamed the POP3 tests to be in the range 850-857
  1748. Started segregating the email protocol tests, into their own protocol
  1749. based ranges, in preparation of adding more e-mail related tests to the
  1750. test suite.
  1751. Daniel Stenberg (10 Mar 2013)
  1752. - hiperfifo: updated to use current libevent API
  1753. Patch by: Myk Taylor
  1754. Steve Holme (10 Mar 2013)
  1755. - imap: Reworked some function descriptions
  1756. - imap: Added some missing comments to imap_sendf()
  1757. - email: Removed hard returns from init functions
  1758. Daniel Stenberg (9 Mar 2013)
  1759. - curl_multi_wait: avoid second loop if nothing to do
  1760. ... hopefully this will also make clang-analyzer stop warning on
  1761. potentional NULL dereferences (which were false positives anyway).
  1762. - multi_runsingle: avoid NULL dereference
  1763. When Curl_do() returns failure, the connection pointer could be NULL so
  1764. the code path following needs to that that into account.
  1765. Bug: http://curl.haxx.se/mail/lib-2013-03/0062.html
  1766. Reported by: Eric Hu
  1767. Steve Holme (9 Mar 2013)
  1768. - imap: Re-factored all perform based functions
  1769. Standardised the naming of all perform based functions to be in the form
  1770. imap_perform_something().
  1771. Daniel Stenberg (9 Mar 2013)
  1772. - [Cédric Deltheil brought this change]
  1773. examples/getinmemory.c: abort the transfer if not enough memory
  1774. No more use exit(3) but instead tell libcurl that no byte has been
  1775. written to let it return a `CURLE_WRITE_ERROR`. In addition, check
  1776. curl easy handle return code.
  1777. - RELEASE-NOTES: synced with ca3c0ed3a9c
  1778. 8 more bugfixes, one change and a bunch of contributors
  1779. Yang Tse (9 Mar 2013)
  1780. - Makefile.am: empty AM_LDFLAGS definition for automake 1.7 compatibility
  1781. Steve Holme (9 Mar 2013)
  1782. - imap: Added description comments to all perform based functions
  1783. - imap: Removed the need for separate custom request functions
  1784. Moved the custom request processing into the LIST command as the logic
  1785. is the same.
  1786. - imap: Corrected typo in comment
  1787. Yang Tse (9 Mar 2013)
  1788. - Makefile.am: empty AM_LDFLAGS definition for automake 1.7 compatibility
  1789. Steve Holme (9 Mar 2013)
  1790. - imap: Moved imap_logout() to be grouped with the other perform functions
  1791. - email: Updated the function descriptions for the logout / quit functions
  1792. Updated the function description comments following commit 4838d196fdbf.
  1793. - email: Simplified the logout / quit functions
  1794. Moved the blocking state machine to the disconnect functions so that the
  1795. logout / quit functions are only responsible for sending the actual
  1796. command needed to logout or quit.
  1797. Additionally removed the hard return on failure.
  1798. - email: Tidied up the *_regular_transfer() functions
  1799. Added comments and simplified convoluted dophase_done comparison.
  1800. - email: Simplified nesting of if statements in *_doing() functions
  1801. Daniel Stenberg (8 Mar 2013)
  1802. - RELEASE-NOTES: mention that krb4 is up for consideration
  1803. Steve Holme (8 Mar 2013)
  1804. - imap: Fixed handling of untagged responses for the STORE custom command
  1805. Added an exception, for the STORE command, to the untagged response
  1806. processor in imap_endofresp() as servers will back respones containing
  1807. the FETCH keyword instead.
  1808. Yang Tse (8 Mar 2013)
  1809. - curlbuild.h.dist: enhance non-configure GCC ABI detection logic
  1810. GCC specific adjustments:
  1811. - check __ILP32__ before 32 and 64bit processor architectures in
  1812. order to detect ILP32 programming model on 64 bit processors
  1813. which, of course, also support LP64 programming model, when using
  1814. gcc 4.7 or newer.
  1815. - keep 32bit processor architecture checks in order to support gcc
  1816. versions older than 4.7 which don't define __ILP32__
  1817. - check __LP64__ for gcc 3.3 and newer, while keeping 64bit processor
  1818. architecture checks for older versions which don't define __LP64__
  1819. - curlbuild.h.dist: fix GCC build on ARM systems without configure script
  1820. Bug: http://curl.haxx.se/bug/view.cgi?id=1205
  1821. Reported by: technion
  1822. - [Gisle Vanem brought this change]
  1823. polarssl.c: fix header filename typo
  1824. - configure: use XC_LIBTOOL for portability across libtool versions
  1825. - xc-lt-iface.m4: provide XC_LIBTOOL macro
  1826. Steve Holme (7 Mar 2013)
  1827. - imap: Fixed SELECT not being performed for custom requests
  1828. - email: Minor code tidy up following recent changes
  1829. Removed unwanted braces and added variable initialisation.
  1830. - DOCS: Corrected the IMAP URL grammar of the UIDVALIDITY parameter
  1831. - FEATURES: Provided a little clarity in some IMAP features
  1832. - email: Optimised block_statemach() functions
  1833. Optimised the result test in each of the block_statemach() functions.
  1834. - DOCS: Added the list command to the IMAP URL section
  1835. Added examples of the list command and clarified existing example URLs
  1836. following recent changes.
  1837. - FEATURES: Updated for recent imap additions
  1838. Updated the imap features list, corrected a typo in the smtp features
  1839. and clarified a pop3 feature.
  1840. Daniel Stenberg (7 Mar 2013)
  1841. - version bump: the next release will be 7.30.0
  1842. - checksrc: ban unsafe functions
  1843. The list of unsafe functions currently consists of sprintf, vsprintf,
  1844. strcat, strncat and gets.
  1845. Subsequently, some existing code needed updating to avoid warnings on
  1846. this.
  1847. Steve Holme (7 Mar 2013)
  1848. - RELEASE-NOTES: Added missing imap fixes and additions
  1849. With all the recent imap changes it wasn't clear what new features and
  1850. fixes should be included in the release notes.
  1851. Nick Zitzmann (6 Mar 2013)
  1852. - RELEASE-NOTES: brought this up-to-date with the latest changes
  1853. Steve Holme (6 Mar 2013)
  1854. - [Jiri Hruska brought this change]
  1855. imap: Fixed test801 and test1321 to specify a message UID
  1856. Just a folder list would be retrieved if UID was not specified now.
  1857. - [Jiri Hruska brought this change]
  1858. imap: Fixed ftpserver.pl to allow verification even through LIST command
  1859. Commit 198012ee inadvertently broke LIST_imap().
  1860. - imap: Tidied up the APPEND and final APPEND response functions
  1861. Removed unnecessary state changes on failure and setting of result codes
  1862. on success.
  1863. - imap: Tidied up the final FETCH response function
  1864. Removed unnecessary state change on failure and setting of result code on
  1865. success.
  1866. - imap: Tidied up the LIST response function
  1867. Reworked comments as they referenced custom commands, removed
  1868. unnecessary state change on failure and setting of result code on
  1869. success.
  1870. - imap: Removed the custom request response function
  1871. Removed imap_state_custom_resp() as imap_state_list_resp() provides the
  1872. same functionality.
  1873. - [Jiri Hruska brought this change]
  1874. imap: Updated ftpserver.pl to be more compliant, added new commands
  1875. Enriched IMAP capabilities of ftpserver.pl in order to be able to
  1876. add tests for the new IMAP features.
  1877. * Added support for APPEND - Saves uploaded data to log/upload.$testno
  1878. * Added support for LIST - Returns the contents of <reply/> section in
  1879. the current test, like e.g FETCH.
  1880. * Added support for STORE - Returns hardcoded updated flags
  1881. * Changed handling of SELECT - Returns much more information in the
  1882. usual set of untagged responses; uses hardcoded data from an example
  1883. in the IMAP RFC
  1884. * Changed handling of FETCH - Fixed response format
  1885. - imap: Added check for empty UID in FETCH command
  1886. As the UID has to be specified by the user for the FETCH command to work
  1887. correctly, added a check to imap_fetch(), although strictly speaking it
  1888. is protected by the call from imap_perform().
  1889. Kamil Dudka (6 Mar 2013)
  1890. - nss: fix misplaced code enabling non-blocking socket mode
  1891. The option needs to be set on the SSL socket. Setting it on the model
  1892. takes no effect. Note that the non-blocking mode is still not enabled
  1893. for the handshake because the code is not yet ready for that.
  1894. Daniel Stenberg (6 Mar 2013)
  1895. - imap: fix compiler warning
  1896. imap.c:694:21: error: unused variable 'imapc' [-Werror=unused-variable]
  1897. Steve Holme (5 Mar 2013)
  1898. - imap: Added support for list command
  1899. - imap: Added list perform and response handler functions
  1900. - imap: Introduced IMAP_LIST state
  1901. - imap: Small tidy up of imap_select() to match imap_append()
  1902. Updated the style of imap_select() before adding the LIST command.
  1903. - imap: Moved mailbox check from the imap_do() function
  1904. In preparation for the addition of the LIST command, moved the mailbox
  1905. check from imap_do() to imap_select() and imap_append().
  1906. - curl_setup.h: Added S_IRDIR() macro for compilers that don't support it
  1907. Commit 26eaa8383001 introduces the use of S_ISDIR() yet some compilers,
  1908. such as MSVC don't support it, so we must define a substitute using
  1909. file flags and mask.
  1910. Daniel Stenberg (4 Mar 2013)
  1911. - AddFormData: prevent only directories from being posted
  1912. Commit f4cc54cb4746ae5a6d (shipped as part of the 7.29.0 release) was a
  1913. bug fix that introduced a regression in that while trying to avoid
  1914. allowing directory names, it also forbade "special" files like character
  1915. devices and more. like "/dev/null" as was used by Oliver who reported
  1916. this regression.
  1917. Reported by: Oliver Gondža
  1918. Bug: http://curl.haxx.se/mail/archive-2013-02/0040.html
  1919. Nick Zitzmann (3 Mar 2013)
  1920. - darwinssl: fix infinite loop if server disconnected abruptly
  1921. If the server hung up the connection without sending a closure alert,
  1922. then we'd keep probing the socket for data even though it's dead. Now
  1923. we're ready for this situation.
  1924. Bug: http://curl.haxx.se/mail/lib-2013-03/0014.html
  1925. Reported by: Aki Koskinen
  1926. Steve Holme (3 Mar 2013)
  1927. - imap: Added comments to imap_append()
  1928. - [Jiri Hruska brought this change]
  1929. imap: Added required mailbox check for FETCH and APPEND commands
  1930. - pingpong.c: Fix enumerated type mixed with another type
  1931. - smtp: Updated the coding style for state changes after a send operation
  1932. Some state changes would be performed after a failure test that
  1933. performed a hard return, whilst others would be performed within a test
  1934. for success. Updated the code, for consistency, so all instances are
  1935. performed within a success test.
  1936. - pop3: Updated the coding style for state changes after a send operation
  1937. Some state changes would be performed after a failure test that
  1938. performed a hard return, whilst others would be performed within a test
  1939. for success. Updated the code, for consistency, so all instances are
  1940. performed within a success test.
  1941. - imap: Fixed typo in variable assignment
  1942. - [Jiri Hruska brought this change]
  1943. imap: Fixed custom request handling in imap_done()
  1944. Fixed imap_done() so that neither the FINAL states are not entered when
  1945. a custom command has been performed.
  1946. - [Jiri Hruska brought this change]
  1947. imap: Enabled custom requests in imap_select_resp()
  1948. Changed imap_select_resp() to invoke imap_custom() instead of
  1949. imap_fetch() after the mailbox has been selected if a custom
  1950. command has been set.
  1951. - [Jiri Hruska brought this change]
  1952. imap: Enabled custom requests in imap_perform()
  1953. Modified imap_perform() to start with the custom command instead of
  1954. SELECT when a custom command is to be performed and no mailbox has
  1955. been given.
  1956. - [Jiri Hruska brought this change]
  1957. imap: Added custom request perform and response handler functions
  1958. Added imap_custom(), which initiates the custom command processing,
  1959. and an associated response handler imap_state_custom_resp(), which
  1960. handles any responses by sending them to the client as body data.
  1961. All untagged responses with the same name as the first word of the
  1962. custom request string are accepted, with the exception of SELECT and
  1963. EXAMINE which have responses that cannot be easily identified. An
  1964. extra check has been provided for them so that any untagged responses
  1965. are accepted for them.
  1966. - pop3: Fixed unnecessary parent structure reference
  1967. Updated pop3 code following recent imap changes.
  1968. - [Jiri Hruska brought this change]
  1969. imap: Added custom request parsing
  1970. Added imap_parse_custom_request() for parsing the CURLOPT_CUSTOMREQUEST
  1971. parameter which URL decodes the value and separates the request from
  1972. any parameters - This makes it easier to filter untagged responses
  1973. by the request command.
  1974. - [Jiri Hruska brought this change]
  1975. imap: Introduced custom request parameters
  1976. Added custom request parameters to the per-request structure.
  1977. - [Jiri Hruska brought this change]
  1978. imap: Introduced IMAP_CUSTOM state
  1979. - imap: Minor code tidy up
  1980. Minor tidy up of code layout and comments following recent changes.
  1981. - imap: Simplified the imap_state_append_resp() function
  1982. Introduced the result code variable to simplify the state changes and
  1983. remove the hard returns.
  1984. - imap: Changed successful response logic in imap_state_append_resp()
  1985. For consistency changed the logic of the imap_state_append_resp()
  1986. function to test for an unsucessful continuation response rather than a
  1987. succesful one.
  1988. - imap: Standardised imapcode condition tests
  1989. For consistency changed two if(constant != imapcode) tests to be
  1990. if(imapcode != constant).
  1991. - imap: Moved imap_append() to be with the other perform functions
  1992. - [Jiri Hruska brought this change]
  1993. imap: Enabled APPEND support in imap_perform()
  1994. Added logic in imap_perform() to perform an APPEND rather than SELECT
  1995. and FETCH if an upload has been specified.
  1996. - [Jiri Hruska brought this change]
  1997. imap: Implemented APPEND final processing
  1998. The APPEND operation needs to be performed in several steps:
  1999. 1) We send "<tag> APPEND <mailbox> <flags> {<size>}\r\n"
  2000. 2) Server responds with continuation respose "+ ...\r\n"
  2001. 3) We start the transfer and send <size> bytes of data
  2002. 4) Only now we end the request command line by sending "\r\n"
  2003. 5) Server responds with "<tag> OK ...\r\n"
  2004. This commit performs steps 4 and 5, in the DONE phase, as more
  2005. processing is required after the transfer.
  2006. - [Jiri Hruska brought this change]
  2007. imap: Added APPEND perform and response handler functions
  2008. Added imap_append() function to initiate upload and imap_append_resp()
  2009. to handle the continuation response and start the transfer.
  2010. - [Jiri Hruska brought this change]
  2011. imap: Introduced IMAP_APPEND and IMAP_APPEND_FINAL states
  2012. - [Jiri Hruska brought this change]
  2013. imap: Updated setting of transfer variables in imap_state_fetch_resp()
  2014. Add number of bytes retrieved from the PP cache to req.bytecount and set
  2015. req.maxdownload only when starting a proper download.
  2016. - [Jiri Hruska brought this change]
  2017. imap: Improved FETCH response parsing
  2018. Added safer parsing of the untagged FETCH response line and the size of
  2019. continuation data.
  2020. - imap: Fixed accidentally lossing the result code
  2021. Accidentally lost the result code in imap_state_capability() and
  2022. imap_state_login() with commit b06a78622609.
  2023. - imap: Another minor comment addition / tidy up
  2024. - imap: Updated the coding style for state changes after a send operation
  2025. Some state changes would be performed after a failure test that
  2026. performed a hard return, whilst others would be performed within a test
  2027. for success. Updated the code, for consistency, so all instances are
  2028. performed within a success test.
  2029. - pop3 / smtp: Small comment tidy up
  2030. Small tidy up to keep some comments consistant across each of the email
  2031. protocols.
  2032. - [Jiri Hruska brought this change]
  2033. imap: FETCH response handler cleanup before further changes
  2034. Removed superfluous NULL assignment after Curl_safefree() and rewrote
  2035. some comments and logging messages.
  2036. - pop3: Small tidy up of function arguments
  2037. - imap: Small tidy up of function arguments
  2038. - smtp: Corrected debug message for POP3_AUTH_FINAL constant
  2039. Following commit ad3177da24b8 corrected the debug message in state()
  2040. from AUTH to AUTH_FINAL.
  2041. - pop3: Corrected debug message for POP3_AUTH_FINAL constant
  2042. Following commit afad1ce753a1 corrected the debug message in state()
  2043. from AUTH to AUTH_FINAL.
  2044. - imap: Corrected debug message for IMAP_AUTHENTICATE_FINAL constant
  2045. Following commit 13006f3de9ec corrected the debug message in state()
  2046. from AUTHENTICATE to AUTHENTICATE_FINAL.
  2047. - [Jiri Hruska brought this change]
  2048. imap: Fixed error code returned for invalid FETCH response
  2049. If the FETCH command does not result in an untagged response the the
  2050. UID is probably invalid. As such do not return CURLE_OK.
  2051. - [Jiri Hruska brought this change]
  2052. imap: Added processing of the final FETCH responses
  2053. Not processing the final FETCH responses was not optimal, not only
  2054. because the response code would be ignored but it would also leave data
  2055. unread on the socket which would prohibit connection reuse.
  2056. - [Jiri Hruska brought this change]
  2057. imap: Introduced FETCH_FINAL state for processing final fetch responses
  2058. A typical FETCH response can be broken down into four parts:
  2059. 1) "* <uid> FETCH (<what> {<size>}\r\n", using continuation syntax
  2060. 2) <size> bytes of the actual message
  2061. 3) ")\r\n", finishing the untagged response
  2062. 4) "<tag> OK ...", finishing the command
  2063. Part 1 is read in imap_fetch_resp(), part 2 is consumed in the PERFORM
  2064. phase by the transfer subsystem, parts 3 and 4 are currently ignored.
  2065. - imap: fix autobuild warning
  2066. Removed whitespace from imap_perform()
  2067. - imap: fix compiler warning
  2068. error: declaration of 'imap' shadows a previous local
  2069. - smtp: Re-factored the final SMTP_AUTH constant
  2070. Changed the final SMTP_AUTH constant to SMTP_AUTH_FINAL for consistency
  2071. with the response function.
  2072. - pop3: Re-factored the final POP3_AUTH constant
  2073. Changed the final POP3_AUTH constant to POP3_AUTH_FINAL for consistency
  2074. with the response function.
  2075. - imap: Re-factored final IMAP_AUTHENTICATE constant
  2076. Changed the final IMAP_AUTHENTICATE constant to IMAP_AUTHENTICATE_FINAL
  2077. for consistency with the response function.
  2078. - imap: Updated the coding style of imap_state_servergreet_resp()
  2079. Updated the coding style, in this function, to be consistant with other
  2080. response functions rather then performing a hard return on failure.
  2081. - imap: Reversed the logic of the (un)successful tagged SELECT response
  2082. Reversed the logic of the unsuccessful vs successful tagged SELECT
  2083. response in imap_state_select_resp() to be more logical to read.
  2084. - imap: Reversed the logic of the (un)successful tagged CAPABILITY response
  2085. Reversed the logic of the unsuccessful vs successful tagged CAPABILITY
  2086. response in imap_state_capability_resp() to be more logical to read.
  2087. - imap: Corrected char* references with char *
  2088. Corrected char* references made in commit: 709b3506cd9b.
  2089. - [Jiri Hruska brought this change]
  2090. imap: Added processing of more than one response when sent in same packet
  2091. Added a loop to imap_statemach_act() in which Curl_pp_readresp() is
  2092. called until the cache is drained. Without this multiple responses
  2093. received in a single packet could result in a hang or delay.
  2094. - [Jiri Hruska brought this change]
  2095. imap: Added skipping of SELECT command if already in the same mailbox
  2096. Added storage and checking of the last mailbox userd to prevent
  2097. unnecessary switching.
  2098. - [Jiri Hruska brought this change]
  2099. imap: Introduced the mailbox variable
  2100. Added the mailbox variable to the per-connection structure in
  2101. preparation for checking for an already selected mailbox.
  2102. - email: Slight reordering of connection based variables
  2103. Reordered the state and ssl_done variables in order to provide more
  2104. consistency between the email protocols as well as for for an upcoming
  2105. change.
  2106. - imap: Tidied up comments for connection based variables
  2107. - DOCS: Added the IMAP UIDVALIDITY property to the CURLOPT_URL section
  2108. - [Jiri Hruska brought this change]
  2109. imap: Added verification of UIDVALIDITY mailbox attribute
  2110. Added support for checking the UIDVALIDITY, and aborting the request, if
  2111. it has been specified in the URL and the server response is different.
  2112. - [Jiri Hruska brought this change]
  2113. imap: Added support for parsing the UIDVALIDITY property
  2114. Added support for parsing the UIDVALIDITY property from the SELECT
  2115. response and storing it in the per-connection structure.
  2116. - [Jiri Hruska brought this change]
  2117. imap: Introduced the mailbox_uidvalidity variable
  2118. Added the mailbox_uidvalidity variable to the per-connection structure
  2119. in preparation for checking the UIDVALIDITY mailbox attribute.
  2120. - imap: Corrected comment in imap_endofresp()
  2121. - imap: Corrected whitespace
  2122. - [Jiri Hruska brought this change]
  2123. imap: Added filtering of CAPABILITY and FETCH untagged responses
  2124. Only responses that contain "CAPABILITY" and "FETCH", respectively,
  2125. will be sent to their response handler.
  2126. - [Jiri Hruska brought this change]
  2127. imap: Added a helper function for upcoming untagged response filtering
  2128. RFC 3501 states that "the client MUST be prepared to accept any response
  2129. at all times" yet we assume anything received with "* " at the beginning
  2130. is the untagged response we want.
  2131. Introduced a helper function that checks whether the input looks like a
  2132. response to specified command, so that we may filter the ones we are
  2133. interested in according to the current state.
  2134. - [Jiri Hruska brought this change]
  2135. imap: Moved CAPABILITY response handling to imap_state_capability_resp()
  2136. Introduced similar handling to the FETCH responses, where even the
  2137. untagged data responses are handled by the response handler of the
  2138. individual state.
  2139. Linus Nielsen Feltzing (26 Feb 2013)
  2140. - Remove unused variable in smtp_state_data_resp()
  2141. Steve Holme (25 Feb 2013)
  2142. - email: Small tidy up following recent changes
  2143. - smtp: Removed bytecountp from the per-request structure
  2144. Removed this pointer to a downloaded bytes counter because it was set in
  2145. smtp_init() to point to the same variable the transfer functions keep
  2146. the count in (k->bytecount), effectively making the code in transfer.c
  2147. "*k->bytecountp = k->bytecount" a no-op.
  2148. - pop3: Removed bytecountp from the per-request structure
  2149. Removed this pointer to a downloaded bytes counter because it was set in
  2150. pop3_init() to point to the same variable the transfer functions keep
  2151. the count in (k->bytecount), effectively making the code in transfer.c
  2152. "*k->bytecountp = k->bytecount" a no-op.
  2153. - [Jiri Hruska brought this change]
  2154. imap: Removed bytecountp from the per-request structure
  2155. Removed this pointer to a downloaded bytes counter because it was set in
  2156. imap_init() to point to the same variable the transfer functions keep
  2157. the count in (k->bytecount), effectively making the code in transfer.c
  2158. "*k->bytecountp = k->bytecount" a no-op.
  2159. - [Jiri Hruska brought this change]
  2160. imap: Adjusted SELECT and FETCH function order
  2161. Moved imap_select() and imap_fetch() to be grouped with the other
  2162. perform functions.
  2163. - [Jiri Hruska brought this change]
  2164. imap: Adjusted SELECT and FETCH state order in imap_statemach_act()
  2165. Exchanged the position of these states in the switch statements to
  2166. match the state enum, execution and function order.
  2167. - imap: Minor tidy up of comments in imap_parse_url_path()
  2168. Tidy up of comments before next round of imap changes.
  2169. - imap: Fixed incorrect comparison for STARTTLS in imap_endofresp()
  2170. Corrected the comparison type in addition to commit 1dac29fa83a9.
  2171. - DOCS: Corrected IMAP URL examples according to RFC5092
  2172. URL examples that included the UID weren't technically correct although
  2173. would pass the curl parser.
  2174. Nick Zitzmann (24 Feb 2013)
  2175. - darwinssl: fix undefined $ssllib warning in runtests.pl
  2176. I also added --with-darwinssl to the list of SSL options in configure.
  2177. Steve Holme (24 Feb 2013)
  2178. - imap: Added check for new internal imap response code
  2179. - imap: Changed the order of the response types in imap_endofresp()
  2180. From a maintenance point of view the code reads better to view tagged
  2181. responses, then untagged followed by continuation responses.
  2182. Additionally, this matches the order of responses in POP3.
  2183. - [Jiri Hruska brought this change]
  2184. imap: Added stricter parsing of continuation responses
  2185. Enhanced the parsing to only allow continuation responses in some
  2186. states.
  2187. - imap: Simplified memcmp() in tagged response parsing
  2188. - [Jiri Hruska brought this change]
  2189. imap: Reworked the logic of untagged command responses
  2190. - imap: Corrected spacing of trailing brace
  2191. - [Jiri Hruska brought this change]
  2192. imap: Added stricter parsing of tagged command responses
  2193. Enhanced the parsing of tagged responses which must start with "OK",
  2194. "NO" or "BAD"
  2195. - [Jiri Hruska brought this change]
  2196. imap: Simplified command response test in imap_endofresp()
  2197. - [Jiri Hruska brought this change]
  2198. imap: Corrected comment in imap_endofresp()
  2199. - DOCS: Corrected layout of POP3 and IMAP URL examples
  2200. Corrected layout issues with the POP3 and IMAP URL examples introduced
  2201. in commit cb3ae6894fb2.
  2202. - DOCS: Updated CURLOPT_URL section following recent POP3 and IMAP changes
  2203. Updated the POP3 sub-section to refer to message ID rather than mailbox.
  2204. Added an IMAP sub-section with example URLs depicting the specification
  2205. of mailbox, uid and section.
  2206. - pop3: Refactored the mailbox variable as it didn't reflect it's purpose
  2207. Updated the mailbox variable to correctly reflect it's purpose. The
  2208. name mailbox was a leftover from when IMAP and POP3 support was
  2209. initially added to curl.
  2210. - FEATURES: Updated following recent IMAP changes
  2211. - [Jiri Hruska brought this change]
  2212. imap: Added the ability to FETCH a specific UID and SECTION
  2213. Updated the FETCH command to send the UID and SECTION parsed from the
  2214. URL. By default the BODY specifier doesn't include a section, BODY[] is
  2215. now sent whereas BODY[TEXT] was previously sent. In my opinion
  2216. retrieving just the message text is rarely useful when dealing with
  2217. emails, as the headers are required for example, so that functionality
  2218. is not retained. In can however be simulated by adding SECTION=TEXT to
  2219. the URL.
  2220. Also updated test801 and test1321 due to the BODY change.
  2221. - email: Additional tidy up of comments following recent changes
  2222. - smtp: Removed some FTP heritage leftovers
  2223. Removed user and passwd from the SMTP struct as these cannot be set on
  2224. a per-request basis and are leftover from legacy FTP code.
  2225. Changed some comments still using FTP terminology.
  2226. - smtp: Moved the per-request variables to the per-request data structure
  2227. Moved the rcpt variable from the per-connection struct smtp_conn to the
  2228. new per-request struct and fixed references accordingly.
  2229. - pop3: Introduced a custom SMTP structure for per-request data
  2230. Created a new SMTP structure and changed the type of the smtp proto
  2231. variable in connectdata from FTP* to SMTP*.
  2232. unknown (23 Feb 2013)
  2233. - [Steve Holme brought this change]
  2234. imap: Minor correction of comments for max line length
  2235. Daniel Stenberg (23 Feb 2013)
  2236. - strcasestr: remove check for this unused function
  2237. - pop3: fix compiler warning
  2238. error: declaration of 'pop3' shadows a previous local
  2239. Steve Holme (23 Feb 2013)
  2240. - [Jiri Hruska brought this change]
  2241. imap: Added URL parsing of new variables
  2242. Updated the imap_parse_url_path() function to parse uidvalidity, uid and
  2243. section parameters based on RFC-5092.
  2244. - [Jiri Hruska brought this change]
  2245. imap: Introduced imap_is_bchar() function
  2246. Added imap_is_bchar() for testing if a given character is a valid bchar
  2247. or not.
  2248. - [Jiri Hruska brought this change]
  2249. imap: Introduced new per-request veriables
  2250. Added uidvalidity, uid and section variables to the per-request IMAP
  2251. structure in preparation for upcoming URL parsing.
  2252. - pingpong: Renamed curl_ftptransfer to curl_pp_transfer
  2253. - pop3: Removed some FTP heritage leftovers
  2254. Removed user and passwd from the POP3 struct as these cannot be set on
  2255. a per-request basis and are leftover from legacy FTP code.
  2256. Changed some comments still using FTP terminology.
  2257. - pop3: Moved the per-request variables to the per-request data structure
  2258. Moved the mailbox and custom request variables from the per-connection
  2259. struct pop3_conn to the new per-request struct and fixed references
  2260. accordingly.
  2261. - pop3: Introduced a custom POP3 structure for per-request data
  2262. Created a new POP3 structure and changed the type of the pop3 proto
  2263. variable in connectdata from FTP* to POP*.
  2264. - [Jiri Hruska brought this change]
  2265. imap: Fixed escaping of mailbox names
  2266. Used imap_atom() to escape mailbox names in imap_select().
  2267. - pingpong: Moved curl_ftptransfer definition to pingpong.h
  2268. Moved the ftp transfer structure into pingpong.h so other protocols that
  2269. require it don't have to include ftp.h.
  2270. - urldata.h: Fixed comment for opt_no_body variable
  2271. Corrected comment for opt_no_body variable to CURLOPT_NOBODY.
  2272. - email: Minor tidy up following IMAP changes
  2273. - [Jiri Hruska brought this change]
  2274. imap: Removed more FTP leftovers
  2275. Changed some variables and comments still using FTP terminology.
  2276. - [Jiri Hruska brought this change]
  2277. imap: Removed some FTP heritage leftovers
  2278. Removed user and passwd from the IMAP struct as these cannot be set on
  2279. a per-request basis and are leftover from legacy FTP code.
  2280. - [Jiri Hruska brought this change]
  2281. imap: Introduced a custom IMAP structure for per-request data
  2282. Created a new IMAP structure and changed the type of the imap proto
  2283. variable in connectdata from FTP* to the new IMAP*.
  2284. Moved the mailbox variable from the per-connection struct imap_conn to
  2285. the new per-request struct and fixed references accordingly.
  2286. - pop3: Updated do phrase clean-up comment
  2287. Following commit 65644b833532 for the IMAP module updated the clean-up
  2288. comment in POP3.
  2289. - imap: Fixed memory leak when performing multiple selects
  2290. Moved the clean-up of the mailbox variable from imap_disconnect() to
  2291. imap_done() as this variable is allocated in the do phase, yet would
  2292. have only been freed only once if multiple selects where preformed
  2293. on a single connection.
  2294. Daniel Stenberg (22 Feb 2013)
  2295. - [Alexander Klauer brought this change]
  2296. Documentation: Typo in docs/CONTRIBUTE
  2297. Fixes a typo get → git in docs/CONTRIBUTE.
  2298. - [Alexander Klauer brought this change]
  2299. repository: ignore patch files generated by git
  2300. Ignores the patch files generated by the 'git format-patch' command.
  2301. - [Alexander Klauer brought this change]
  2302. libcurl documentation: clarifications and typos
  2303. * Elaborates on default values of some curl_easy_setopt() options.
  2304. * Reminds the user to cast variadic arguments to curl_easy_setopt() to
  2305. 'void *' where curl internally interprets them as such.
  2306. * Clarifies the working of the CURLOPT_SEEKFUNCTION option for
  2307. curl_easy_setopt().
  2308. * Fixes typo 'forth' → 'fourth'.
  2309. * Elaborates on CURL_SOCKET_TIMEOUT.
  2310. * Adds some missing periods.
  2311. * Notes that the return value of curl_version() must not be passed to
  2312. free().
  2313. - [Alexander Klauer brought this change]
  2314. lib/url.c: Generic read/write data pointers
  2315. Always interprets the pointer passed with the CURLOPT_WRITEDATA or
  2316. CURLOPT_READDATA options of curl_easy_setopt() as a void pointer in
  2317. order to avoid problems in environments where FILE and void pointers
  2318. have non-trivial conversion.
  2319. - [Alexander Klauer brought this change]
  2320. libcurl documentation: updates HTML index
  2321. * Adds several links to documentation of library functions which were
  2322. missing.
  2323. * Marks documentation of deprecated library functions "(deprecated)".
  2324. * Removes spurious .html suffixes.
  2325. - ossl_seed: avoid recursive seeding!
  2326. Steve Holme (22 Feb 2013)
  2327. - [Jiri Hruska brought this change]
  2328. Fixed checking the socket if there is data waiting in the cache
  2329. Use Curl_pp_moredata() in Curl_pp_multi_statemach() to check if there is
  2330. more data to be received, rather than the socket state, as a task could
  2331. hang waiting for more data from the socket itself.
  2332. - imap.c: Fixed an incorrect variable reference
  2333. Fixed an incorrect variable reference which was introduced in commit
  2334. a1701eea289f as a result of a copy and paste from SMTP/POP3.
  2335. - [Jiri Hruska brought this change]
  2336. pingpong: Introduce Curl_pp_moredata()
  2337. A simple function to test whether the PP is not sending and there are
  2338. still more data in its receiver cache. This will be later utilized to:
  2339. 1) Change Curl_pp_multi_statemach() and Curl_pp_easy_statemach() to
  2340. not test socket state and just call user's statemach_act() function
  2341. when there are more data to process, because otherwise the task would
  2342. just hang, waiting for more data from the socket.
  2343. 2) Allow PP users to read multiple responses by looping as long as there
  2344. are more data available and current phase is not finished.
  2345. (Currently needed for correct processing of IMAP SELECT responses.)
  2346. Nick Zitzmann (19 Feb 2013)
  2347. - FEATURES: why yes, we do support metalink
  2348. I just noticed Metalink support wasn't listed as a feature of the tool.
  2349. - metalink: fix improbable crash parsing metalink filename
  2350. The this_url pointer wasn't being initialized, so if strdup() would return
  2351. null when copying the filename in a metalink file, then hilarity would
  2352. ensue during the cleanup phase. This change was brought to you by clang,
  2353. which noticed this and raised a warning.
  2354. Yang Tse (19 Feb 2013)
  2355. - smtp.c: fix enumerated type mixed with another type
  2356. - polarssl threadlock cleanup
  2357. Nick Zitzmann (18 Feb 2013)
  2358. - docs: schannel and darwinssl documentation improvements
  2359. Schannel and darwinssl use the certificates built into the
  2360. OS to do vert verification instead of bundles. darwinssl
  2361. is thread-safe. Corrected typos in the NSS docs.
  2362. Daniel Stenberg (18 Feb 2013)
  2363. - resolver_error: remove wrong error message output
  2364. The attempt to use gai_strerror() or alternative function didn't work as
  2365. the 'sock_error' field didn't contain the proper error code. But since
  2366. this hasn't been reported and thus isn't really a big deal I decided to
  2367. just scrap the whole attempt to output the detailed resolver error and
  2368. instead remain with just stating that the resolving of the name failed.
  2369. - [Kim Vandry brought this change]
  2370. Curl_resolver_is_resolved: show proper host name on failed resolve
  2371. - Curl_resolver_is_resolved: fix compiler warning
  2372. conversion to 'int' from 'long int' may alter its value
  2373. - compiler warning fix
  2374. follow-up to commit ed7174c6f66, rename 'wait' to 'block'
  2375. - compiler warning fix: declaration of 'wait' shadows a global declaration
  2376. It seems older gcc installations (at least) will cause warnings if we
  2377. name a variable 'wait'. Now changed to 'block' instead.
  2378. Reported by: Jiří Hruška
  2379. Bug: http://curl.haxx.se/mail/lib-2013-02/0247.html
  2380. Nick Zitzmann (17 Feb 2013)
  2381. - MacOSX-Framework: Make script work in Xcode 4.0 and later
  2382. Apple made a number of changes to Xcode 4. The SDKs were moved, the entire
  2383. Developer folder was moved, and PowerPC support was removed. The script
  2384. will now adapt to those changes and should be future-proofed against
  2385. additional changes in case Apple moves the Developer folder ever again.
  2386. Also, the minimum OS X version compiler option was removed, so that the
  2387. framework can be built against the latest SDK but still run in older cats.
  2388. Daniel Stenberg (17 Feb 2013)
  2389. - docs: refer to CURLOPT_ACCEPT_ENCODING instead of the old name
  2390. Steve Holme (16 Feb 2013)
  2391. - email: Tidied up result code variables
  2392. Tidied up result variables to be consistent in name, declaration order
  2393. and default values.
  2394. Nick Zitzmann (16 Feb 2013)
  2395. - ntlm_core: fix compiler warning when building with clang
  2396. Fixed a 64-to-32 compiler warning raised when building with
  2397. clang and the --with-darwinssl option.
  2398. Daniel Stenberg (16 Feb 2013)
  2399. - Guile-curl: a new libcurl binding
  2400. - polarsslthreadlock: #include the proper memory and debug includes
  2401. Pointed out by Steve Holme
  2402. Steve Holme (16 Feb 2013)
  2403. - email: Removed unnecessary forward declaration
  2404. Due to the reordering of functions in commit 586f5d361474 the forward
  2405. declaration to state_upgrade_tls() are no longer required.
  2406. - pop3.c: Added reference to RFC-5034
  2407. Daniel Stenberg (15 Feb 2013)
  2408. - [Willem Sparreboom brought this change]
  2409. PolarSSL: Change to cURL coding style
  2410. Repaired all curl/lib/checksrc.pl warnings in the previous four patches
  2411. - [Willem Sparreboom brought this change]
  2412. PolarSSL: WIN32 threading support for entropy
  2413. Added WIN32 threading support for PolarSSL entropy if
  2414. --enable-threaded-resolver config flag is set and process.h can be found.
  2415. - [Willem Sparreboom brought this change]
  2416. PolarSSL: pthread support for entropy
  2417. Added pthread support for polarssl entropy if --enable-threaded-resolver
  2418. config flag is set and pthread.h can be found.
  2419. - [Willem Sparreboom brought this change]
  2420. PolarSSL: changes to entropy/ctr_drbg/HAVEGE_RANDOM
  2421. Add non-threaded entropy and ctr_drbg and removed HAVEGE_RANDOM define
  2422. - [Willem Sparreboom brought this change]
  2423. PolarSSL: added human readable error strings
  2424. Print out human readable error strings for PolarSSL related errors
  2425. Steve Holme (15 Feb 2013)
  2426. - pop3: Removed unnecessary state changes on failure
  2427. - imap: Removed unnecessary state change on failure
  2428. Daniel Stenberg (15 Feb 2013)
  2429. - metalink_cleanup: yet another follow-up fix
  2430. - metalink_cleanup: define it without argument
  2431. Since the function takes no argument, the macro shouldn't take one as
  2432. some compilers will error out on that.
  2433. - rename "easy" statemachines: call them block instead
  2434. ... since they're not used by the easy interface really, I wanted to
  2435. remove the association. Also, I unified the pingpong statemachine driver
  2436. into a single function with a 'wait' argument: Curl_pp_statemach.
  2437. Yang Tse (15 Feb 2013)
  2438. - [Gisle Vanem brought this change]
  2439. curl_setup_once.h: definition of HAVE_CLOSE_S defines sclose() to close_s()
  2440. - [Gisle Vanem brought this change]
  2441. config-dos.h: define HAVE_CLOSE_S for MSDOS/Watt-32
  2442. - [Gisle Vanem brought this change]
  2443. config-dos.h: define strerror() to strerror_s_() for High-C
  2444. - [Gisle Vanem brought this change]
  2445. config-dos.h: define HAVE_TERMIOS_H only for djgpp
  2446. Steve Holme (14 Feb 2013)
  2447. - smtp.c: Fixed a trailing whitespace
  2448. Remove tailing whitespace introduced in commit 7ed689d24a4e.
  2449. - pop3: Fixed blocking SSL connect when connecting via POP3S
  2450. A call to Curl_ssl_connect() was accidentally left in when the SSL/TLS
  2451. connection layer was reworked in 7.29. Not only would this cause the
  2452. connection to block but had the additional overhead of calling the
  2453. non-blocking connect a little bit later.
  2454. - smtp: Refactored the smtp_state_auth_resp() function
  2455. Renamed smtp_state_auth_resp() function to match the implementations in
  2456. IMAP and POP3.
  2457. Daniel Stenberg (14 Feb 2013)
  2458. - remove ifdefs
  2459. Clarify the code by reducing ifdefs
  2460. - strlcat: remove function
  2461. This function was only used twice, both in places where performance
  2462. isn't crucial (socks + if2ip). Removing the use of this function removes
  2463. the need to have our private version for systems without it == reduced
  2464. amount of code.
  2465. Also, in the SOCKS case it is clearly better to fail gracefully rather
  2466. than to truncate the results.
  2467. This work was triggered by a bug report on the strcal prototype in
  2468. strequal.h.
  2469. strlcat was added in commit db70cd28 in February 2001!
  2470. Bug: http://curl.haxx.se/bug/view.cgi?id=1192
  2471. Reported by: Jeremy Huddleston
  2472. - Curl_FormBoundary: made static
  2473. As Curl_FormBoundary() is no longer used outside of this file (since
  2474. commit ad7291c1a9d), it is now renamed to formboundary() and is made
  2475. static.
  2476. - ossl_seed: fix the last resort PRNG seeding
  2477. Instead of just abusing the pseudo-randomizer from Curl_FormBoundary(),
  2478. this now uses Curl_ossl_random() to get entropy.
  2479. Steve Holme (13 Feb 2013)
  2480. - email: Tidy up before additional IMAP work
  2481. Replaced two explicit comparisons of CURLE_OK with boolean alternatives.
  2482. General tidy up of comments.
  2483. - smtp: Removed duplicate pingpong structure initialisation
  2484. The smtp_connect() function was setting the member variables of the
  2485. pingpong structure twice, once before calling Curl_pp_init() and once
  2486. after!
  2487. Yang Tse (13 Feb 2013)
  2488. - move msvc IDE related files to 'vs' directory tree
  2489. Use 'vs' directory tree given that 'vc' intended one clashes
  2490. with an already existing build target in file Makefile.dist.
  2491. Daniel Stenberg (13 Feb 2013)
  2492. - install-sh: updated to support multiple source files as arguments
  2493. Version 7.29.0 uses Makefiles generated with a newer version of the
  2494. autotools than the previous 7.28.1. These Makefiles try to install
  2495. e.g. header files by calling install-sh with multiple source files as
  2496. arguments. The bundled install-sh is to old and does not support this.
  2497. The problem only occurs, if install-sh is actually being used, ie. the
  2498. platform install executable is to old or not usable. Example: Solaris
  2499. 10.
  2500. The files install-sh and mkinstalldirs are now updated with the automake
  2501. 1.11.3 versions. A better fix might be to completely remove them from
  2502. git and force the files to be added/created during buildconf.
  2503. Bug: http://curl.haxx.se/bug/view.cgi?id=1195
  2504. Reported by: Rainer Jung
  2505. Yang Tse (13 Feb 2013)
  2506. - move msvc IDE related files to 'vc' directory tree
  2507. - msvc IDE 'vc' directory tree preparation
  2508. Steve Holme (12 Feb 2013)
  2509. - imap: Corrected a whitespace issue from previous commit
  2510. Fixed a small whitespace issue that crept in there in commit
  2511. 508cdf4da4d7.
  2512. - email: Another post optimisation of endofresp() tidy up
  2513. - sasl: Fixed null pointer reference when decoding empty digest challenge
  2514. Fixed a null pointer reference when an empty challenge is passed to the
  2515. Curl_sasl_create_digest_md5_message() function.
  2516. Bug: http://sourceforge.net/p/curl/bugs/1193/
  2517. Reported by: Saran Neti
  2518. - email: Post optimisation of endofresp() tidy up
  2519. Removed unnecessary end of line check and return.
  2520. Nick Zitzmann (12 Feb 2013)
  2521. - darwinssl: Fix send glitchiness with data > 32 or so KB
  2522. An ambiguity in the SSLWrite() documentation lead to a bad inference in the
  2523. code where we assumed SSLWrite() returned the amount of bytes written to
  2524. the socket, when that is not actually true; it returns the amount of data
  2525. that is buffered for writing to the socket if it returns errSSLWouldBlock.
  2526. Now darwinssl_send() returns CURLE_AGAIN if data is buffered but not written.
  2527. Reference URL: http://curl.haxx.se/mail/lib-2013-02/0145.html
  2528. Steve Holme (12 Feb 2013)
  2529. - pingpong.h: Fixed line length over 78 characters from b56c9eb48e3c
  2530. - pingpong: Optimised the endofresp() function
  2531. Reworked the pp->endofresp() function so that the conndata, line and
  2532. line length are passed down to it just as with Curl_client_write()
  2533. rather than each implementation of the function having to query
  2534. these values.
  2535. Additionally changed the int return type to bool as this is more
  2536. representative of the function's usage.
  2537. - email: Post STARTLS capability code tidy up (Part Three)
  2538. Corrected the order of the upgrade_tls() functions and moved the handler
  2539. upgrade and getsock() functions out from the middle of the state related
  2540. functions.
  2541. - email: Post STARTLS capability code tidy up (Part Two)
  2542. Corrected the order of the pop3_state_capa() / imap_state_capability()
  2543. and the pop3_state_capa_resp() / imap_state_capability_resp() functions
  2544. to match the execution order.
  2545. Daniel Stenberg (11 Feb 2013)
  2546. - [ulion brought this change]
  2547. SOCKS: fix socks proxy when noproxy matched
  2548. Test 1212 added to verify
  2549. Bug: http://curl.haxx.se/bug/view.cgi?id=1190
  2550. Steve Holme (11 Feb 2013)
  2551. - ntlm: Updated comments for the addition of SASL support to IMAP in v7.29
  2552. - RELEASE-NOTES: Updated following the recent imap/pop3/smtp changes
  2553. Linus Nielsen Feltzing (10 Feb 2013)
  2554. - Fix NULL pointer reference when closing an unused multi handle.
  2555. Steve Holme (10 Feb 2013)
  2556. - email: Post STARTLS capability code tidy up (Part One)
  2557. Corrected the order of the CAPA / CAPABILITY state machine constants to
  2558. match the execution order.
  2559. - imap: Fixed memory leak following commit f6010d9a0359
  2560. - smtp: Added support for the STARTTLS capability (Part Two)
  2561. Added honoring of the tls_supported flag when starting a TLS upgrade
  2562. rather than unconditionally attempting it. If the use_ssl flag is set
  2563. to CURLUSESSL_TRY and the server doesn't support TLS upgrades then the
  2564. connection will continue to authenticate. If this flag is set to
  2565. CURLUSESSL_ALL then the connection will complete with a failure as it
  2566. did previously.
  2567. - pop3: Added support for the STLS capability (Part Three)
  2568. Added honoring of the tls_supported flag when starting a TLS upgrade
  2569. rather than unconditionally attempting it. If the use_ssl flag is set
  2570. to CURLUSESSL_TRY and the server doesn't support TLS upgrades then the
  2571. connection will continue to authenticate. If this flag is set to
  2572. CURLUSESSL_ALL then the connection will complete with a failure as it
  2573. did previously.
  2574. - imap: Added support for the STARTTLS capability (Part Three)
  2575. Added honoring of the tls_supported flag when starting a TLS upgrade
  2576. rather than unconditionally attempting it. If the use_ssl flag is set
  2577. to CURLUSESSL_TRY and the server doesn't support TLS upgrades then the
  2578. connection will continue to authenticate. If this flag is set to
  2579. CURLUSESSL_ALL then the connection will complete with a failure as it
  2580. did previously.
  2581. Daniel Stenberg (10 Feb 2013)
  2582. - [Alessandro Ghedini brought this change]
  2583. htmltitle: fix suggested build command
  2584. Steve Holme (10 Feb 2013)
  2585. - pop3: Added support for the STLS capability (Part Two)
  2586. Added sending of initial CAPA command before STLS is sent. This allows
  2587. for the detection of the capability before trying to upgrade the
  2588. connection.
  2589. - imap: Added support for the STARTTLS capability (Part Two)
  2590. Added sending of initial CAPABILITY command before STARTTLS is sent.
  2591. This allows for the detection of the capability before trying to
  2592. upgrade the connection.
  2593. - smtp: Added support for the STLS capability (Part One)
  2594. Introduced detection of the STARTTLS capability, in order to add support
  2595. for TLS upgrades without unconditionally sending the STARTTLS command.
  2596. - pop3: Added support for the STLS capability (Part One)
  2597. Introduced detection of the STLS capability, in order to add support
  2598. for TLS upgrades without unconditionally sending the STLS command.
  2599. - imap: Added support for the STARTTLS capability (Part One)
  2600. Introduced detection of the STARTTLS capability, in order to add support
  2601. for TLS upgrades without unconditionally sending the STARTTLS command.
  2602. - RELEASE-NOTES: synced with 92f7606f29b704
  2603. - smtp: Fixed an issue when processing EHLO failure responses (Part 3)
  2604. Follow up fix to commit 62bd21746443 to cater for servers that don't
  2605. respond with a 250 in their EHLO responses. Additionally updated the
  2606. SMTP tests to respond with a 250 response code as per RFC5321.
  2607. - pop3: Fixed SASL authentication capability detection
  2608. Fixed the SASL capability detection to include the space character
  2609. before the authentication mechanism list. Otherwise a capability such
  2610. as SASLSOMETHING would be interpreted as enabling SASL and potentially
  2611. trying to identify SOMETHING as a mechanism.
  2612. - pop3: Fixed incorrect return value from pop3_endofresp()
  2613. Corrected an incorrect return value when -ERR is received from the
  2614. server - introduced in commit b5bb61ee697b (June 2012).
  2615. - smtp: Fixed an issue when processing EHLO failure responses (Part 2)
  2616. Follow up fix to commit 23d17190ee32 as EHLO capabilities can exist
  2617. within a positive response line.
  2618. - smtp: Fixed an issue with missing capabilities after the AUTH line
  2619. Follow up to commit 40f9bb787f05 to fix missing capabilities after an
  2620. AUTH line.
  2621. Nick Zitzmann (8 Feb 2013)
  2622. - darwinssl: Make certificate errors less techy
  2623. Previously if a problem was found with one of the server's certificates,
  2624. we'd log an OSStatus for the end user to look up. Now we explain what
  2625. was wrong with the site's certificate chain. Also un-did part of the
  2626. previous commit where the code wouldn't catch errSSLServerAuthCompleted
  2627. if built under Leopard.
  2628. Guenter Knauf (9 Feb 2013)
  2629. - Updated dependency libs.
  2630. Steve Holme (9 Feb 2013)
  2631. - imap: Corrected some comments
  2632. - smtp: Fixed an issue when processing EHLO failure responses
  2633. Fixed a small issue where smtp_endofresp() would look for capabilities
  2634. in the description part of a failure response. In theory a server
  2635. shouldn't respond with SIZE or AUTH in an EHLO command's failure
  2636. response but if it did then capabilities would be unnecessarily set
  2637. before eventually failing.
  2638. - pop3: Reworked pop3_endofresp() to simplify it little
  2639. Reworked pop3_endofresp() to simplify it and provide consistency between
  2640. imap and smtp.
  2641. - imap: Renamed state variables in imap_authenticate()
  2642. Renamed the authstate1 and authstate2 variables in imap_authenticate()
  2643. as the old name was a left over from when there was only one state
  2644. variable which was named due to a clash with the state() function.
  2645. Additionally this provides consistency with the smtp module.
  2646. - smtp: Reworked smtp_endofresp() to allow for extra capability detection
  2647. - smtp: Renamed smtp_state_auth_passwd_resp() function
  2648. Renamed the login password response function to better describe it's
  2649. purpose as well as for consistency with the imap and pop3 modules.
  2650. Daniel Stenberg (8 Feb 2013)
  2651. - [Gisle Vanem brought this change]
  2652. ntlm: fix memory leak
  2653. Running tests\libtest\libntlmconnect.exe reveals a 1 byte (!) leak in
  2654. ./lib/curl_ntlm_msgs.c:
  2655. perl ..\memanalyze.pl c:memdebug.curl
  2656. Leak detected: memory still allocated: 1 bytes
  2657. At 9771e8, there's 1 bytes.
  2658. allocated by curl_ntlm_msgs.c:399
  2659. Snippet from curl_ntlm_msgs.c:
  2660. /* setup ntlm identity's domain and length */
  2661. dup_domain.tchar_ptr = malloc(sizeof(TCHAR) * (domlen + 1));
  2662. (my domlen == 0).
  2663. 'dup_domain.tbyte_ptr' looks to be freed in Curl_ntlm_sspi_cleanup() via
  2664. 'ntlm->identity.Domain'. But I see no freeing of 'dup_domain.tchar_ptr'.
  2665. - DONE: consider callback-aborted transfers premature
  2666. This bug report properly identified that when doing SMTP and aborting
  2667. the transfer with a callback, it must be considered aborted prematurely
  2668. by the code to avoid QUIT etc to be attempted as that would cause a
  2669. hang.
  2670. The new test case 1507 verifies this behavior.
  2671. Reported by: Patricia Muscalu
  2672. Bug: http://curl.haxx.se/bug/view.cgi?id=1184
  2673. - FAQ: refreshed some phrases
  2674. Nick Zitzmann (7 Feb 2013)
  2675. - darwinssl: Fix build under Leopard
  2676. It turns out that Leopard (OS X 10.5) doesn't have constants for the ECDH
  2677. ciphers in its headers, so the cases for them have been taken out of the
  2678. build when building under Leopard. Also added a standard function for
  2679. getting a string description of a SecCertificateRef.
  2680. Steve Holme (7 Feb 2013)
  2681. - RELEASE-NOTES: Added new imap features
  2682. - imap: Added support for SASL-IR extension (Part 2)
  2683. Modified imap_authenticate() to add support for sending the initial
  2684. response with the AUTHENTICATE command, as per RFC4959.
  2685. - smtp: Updated SMTP_AUTH_PASSWD state constant
  2686. Changed the SMTP_AUTH_PASSWD state constant to SMTP_AUTH_LOGIN_PASSWD to
  2687. better describe the state as the second part of an AUTH LOGIN command,
  2688. as well as for consistency with the imap and pop3 modules.
  2689. - imap: Added support for SASL-IR extension (Part 1)
  2690. Introduced detection of the SASL-IR capability, in order to add support
  2691. for sending the initial response with the AUTHENTICATE command, as per
  2692. RFC4959.
  2693. Daniel Stenberg (7 Feb 2013)
  2694. - Revert "vc: remove explicit MSVC6 IDE project file and documentation"
  2695. This reverts commit 0e66d5878edc3d7ffc445116d194b58bbc7504b9.
  2696. Steve Holme (7 Feb 2013)
  2697. - imap: Changed response tag generation to be completely unique
  2698. Updated the automatic response tag generation to follow the examples
  2699. given in RC3501, which list a 4 character string such as A001, A002,
  2700. etc.
  2701. As a unique identifier should be generated for each command the string
  2702. generation is based on the connection id and the incrementing command
  2703. id.
  2704. Dan Fandrich (6 Feb 2013)
  2705. - Tweak the Android.mk file for its new location
  2706. This is untested, but ought to be enough to still allow it
  2707. to work automatically when the entire curl source tree is
  2708. dropped into a full Android source tree.
  2709. Daniel Stenberg (6 Feb 2013)
  2710. - vc: remove explicit MSVC6 IDE project file and documentation
  2711. VC6 is _very_ old and we provide working makefiles even for that
  2712. compiler. Users who build with the IDE never use that method and project
  2713. file anyway and it was just lingering in the root dir.
  2714. Steve Holme (6 Feb 2013)
  2715. - imap: Small variable rename in preparation for upcoming change
  2716. Renamed a couple of variables and updated some comments in
  2717. preparation for upcoming command id / response tag change.
  2718. Daniel Stenberg (6 Feb 2013)
  2719. - msvc: move Makefile.msvc.names into winbuild/
  2720. In an attempt to clear up misc files from the root dir
  2721. - build: move Android.mk to packages/Android/
  2722. - emacs files: remove from git and dist
  2723. We don't need them and I doubt many people used them. We also don't have
  2724. any configs for other editors and we wouldn't want that.
  2725. Steve Holme (6 Feb 2013)
  2726. - email: Moved starttls code in separate functions
  2727. To help maintain the readability of the code in imap.c, pop3.c and
  2728. smtp.c moved the starttls code into state_starttls() functions.
  2729. - [Nick Zitzmann brought this change]
  2730. FEATURES: More NTLM and SSL changes, added two others, fixed typo
  2731. Added IDN and HTTP data compression as they were left out of the
  2732. document until now.
  2733. Added notes for qssl, schannel and Secure Transport supporting SSLv2,
  2734. Secure Transport supports NTLM, and axTLS does not support SSLv3.
  2735. There was also a typo; "AUTH TSL" should be "AUTH TLS".
  2736. Kamil Dudka (6 Feb 2013)
  2737. - curl-config.in: do not randomly mix tabs and spaces
  2738. Daniel Stenberg (6 Feb 2013)
  2739. - 7.29.1: onwards!
  2740. - THANKS: 12 contributors from 7.29.0
  2741. Version 7.29.0 (6 Feb 2013)
  2742. Daniel Stenberg (6 Feb 2013)
  2743. - vms: config-vms.h is removed, no use trying to distribute it
  2744. - RELEASE-NOTES: mention the SASL buffer overflow
  2745. - [Eldar Zaitov brought this change]
  2746. Curl_sasl_create_digest_md5_message: fix buffer overflow
  2747. When negotiating SASL DIGEST-MD5 authentication, the function
  2748. Curl_sasl_create_digest_md5_message() uses the data provided from the
  2749. server without doing the proper length checks and that data is then
  2750. appended to a local fixed-size buffer on the stack.
  2751. This vulnerability can be exploited by someone who is in control of a
  2752. server that a libcurl based program is accessing with POP3, SMTP or
  2753. IMAP. For applications that accept user provided URLs, it is also
  2754. thinkable that a malicious user would feed an application with a URL to
  2755. a server hosting code targetting this flaw.
  2756. Bug: http://curl.haxx.se/docs/adv_20130206.html
  2757. Steve Holme (6 Feb 2013)
  2758. - FEATURES: Removed erroneous whitespace
  2759. Removed whitespace introduced in commit 5f8f20f5e65b that caused
  2760. formatting issues when generating the website docs.
  2761. Yang Tse (6 Feb 2013)
  2762. - setup-vms.h: post VMS patch cleanup - III
  2763. - rename post-config-vms.h to setup-vms.h
  2764. - move its inclusion into proper location in curl_setup.h
  2765. - vms_show: post VMS patch cleanup - II
  2766. - remove multiple declarations of vms_show and add comments
  2767. - tool_main.c: post VMS patch cleanup - I
  2768. - remove header inclusion already done in curl_setup_once.h
  2769. Steve Holme (6 Feb 2013)
  2770. - FEATURES: Added SSPI to list of NTLM libraries
  2771. - FEATURES: Added Secure Transport and qssl to list of SSL libraries
  2772. - FEATURES: Added email feature set
  2773. Added SMTP, SMTPS, POP3, POP3S, IMAP and IMAPS features.
  2774. - imap.h: Corrected incorrect comment clarification
  2775. Corrected comment clarification made in commit 167717b8069a.
  2776. - COPYING: Updated copyright year to include 2013
  2777. Daniel Stenberg (5 Feb 2013)
  2778. - RELEASE-NOTES: synced with 25f351424b3538
  2779. 8 more bug fixes mentioned
  2780. - [John E. Malmberg brought this change]
  2781. VMS: fix and generate the VMS build config
  2782. config_h.com is a new file that generates a config.h file based on the
  2783. curl_config.h.in file and a quick scan of the configure script. This is
  2784. actually a generic procedure that is shared with other VMS packages.
  2785. The existing pre-built config-vms.h had over 100 entries that were not
  2786. correct and in some cases conflicted with the build options available in
  2787. the build_vms.com.
  2788. generate_config_vms_h_curl.com is a helper procedure to the
  2789. config_h.com. It covers the cases that the generic config_h.com is not
  2790. able to figure out, and accepts input from the build_vms.com procedure.
  2791. build_curlbuild_h.com is a new file to generate the curlbuild.h file
  2792. that Curl is now using when it is using a curl_config.h file.
  2793. post-config-vms.h is a new file that is needed to provide VMS specific
  2794. definitions, and most of them need to be set before the system header
  2795. files are included.
  2796. The VMS build procedure is fixed:
  2797. 1. Fixed to link in the correct HP ssl library.
  2798. 2. Fixed to detect if HP Kerberos is installed.
  2799. 3. Fixed to detect if HP LDAP is installed.
  2800. 4. Fixed to detect if gnv$libzshr is installed.
  2801. 5. Simplified the input parameter parsing to not use a loop.
  2802. 6. Warn that 64 bit pointer option support is not complete
  2803. in comments.
  2804. 7. Default to IEEE floating if platform supports it so
  2805. resulting libcurl will be compatible with other
  2806. open source projects on VMS.
  2807. 8. Default to LARGEFILE if platform supports it.
  2808. 9. Default to enable SSL, LDAP, Kerberos, libz
  2809. if the libraries are present.
  2810. 10. Build with exact case global symbols for libcurl.
  2811. 11. Generate linker option file needed.
  2812. 12. Compiler list option only commonly needed items.
  2813. 13. fulllist option for those who really want it.
  2814. 14. Create debug symbol file on Alpha, IA64.
  2815. - Curl_proxyCONNECT: return once CONNECT is sent
  2816. By doing this unconditionally, we infer a simpler and more defined
  2817. behavior. This also has the upside that test 1021 no longer fails for me
  2818. even if I run with valgrind.
  2819. Also fixed some wrong comments.
  2820. Steve Holme (5 Feb 2013)
  2821. - email: Reworked comments in the endofresp() functions
  2822. Tidied up the comments in the endofresp() functions to be more
  2823. meaningful prior to release.
  2824. Marc Hoersken (5 Feb 2013)
  2825. - schannel: Removed extended error connection setup flag
  2826. According KB975858 this flag may cause problems on Windows 7 and
  2827. Windows Server 2008 R2 systems. Extended error information is not
  2828. currently used by libcurl and therefore not a requirement.
  2829. The flag may improve the SSL-connection shutdown in case of an
  2830. error. This means it might be a good improvement in the future.
  2831. Fixes bug/issue #1187 - thanks for the report
  2832. Daniel Stenberg (5 Feb 2013)
  2833. - [Tor Arntsen brought this change]
  2834. singleipconnect: Update *sockp for all CURLE_OK
  2835. The 56b7c87c7 change left a case where a good sockfd was not copied to
  2836. *sockp before returning with CURLE_OK
  2837. - curl_easy_perform: Value stored to 'mcode' is never read
  2838. pointed out by clang-analyzer
  2839. - singleipconnect: remove dead assignment
  2840. pointed out by clang-analyzer
  2841. Linus Nielsen Feltzing (5 Feb 2013)
  2842. - CURLMOPT_MAXCONNECTS: restore functionality
  2843. When a connection is no longer used, it is kept in the cache. If the
  2844. cache is full, the oldest idle connection is closed. If no connection is
  2845. idle, the current one is closed instead.
  2846. Steve Holme (5 Feb 2013)
  2847. - RELEASE-NOTES: Updated following recent changes to the email protocols
  2848. Added recent additions and fixes following the changes to imap, pop3
  2849. and smtp. Additionally added another contributor that helped to test
  2850. the imap sasl changes.
  2851. - email: Provided extra comments following recent pop3/imap fixes
  2852. Provided additional clarification about the logic of the authenticate()
  2853. functions following commit 6b6bdc83bd36 and b4270a9af1d0.
  2854. Daniel Stenberg (5 Feb 2013)
  2855. - [Andrei Kurushin brought this change]
  2856. winbuild: include version info for .dll .exe
  2857. Bug: http://curl.haxx.se/bug/view.cgi?id=1186
  2858. - FAQ: clarify 5.13 How do I stop an ongoing transfer
  2859. Rich Gray provided good feedback and we now clarify that you can in fact
  2860. stop a multi transfer at any point you like by removing the easy handle.
  2861. - [Matt Arsenault brought this change]
  2862. cmake: Fix mingw build
  2863. - [Sergei Nikulov brought this change]
  2864. cmake: updated OpenSSL build
  2865. Steve Holme (4 Feb 2013)
  2866. - pop3.c: Updated variable names to use shorter / more readable variant
  2867. Tidied up code from commit 6b6bdc83bdUpdated where a few instances of
  2868. the pop3c struct variable used the longer conndata struct rather than
  2869. matching what other code in pop3_authenticate() used.
  2870. Guenter Knauf (4 Feb 2013)
  2871. - updated copyright years.
  2872. - configure: update the copyright years for the output.
  2873. Steve Holme (3 Feb 2013)
  2874. - imap: Fixed no known authentication mechanism when fallback is required
  2875. Fixed an issue where (lib)curl is compiled without support for a
  2876. supported challenge-response based SASL authentication mechanism, such
  2877. as CRAM-MD5 or NTLM, the server doesn't support the LOGIN or PLAIN
  2878. mechanisms and (lib)curl doesn't fallback to Clear Text authentication.
  2879. Note: In order to fallback to Clear Text authentication properly this
  2880. fix adds support for the LOGINDISABLED server capability.
  2881. imap: Fixed no known authentication mechanism when fallback is required
  2882. Fixed an issue where (lib)curl is compiled without support for a
  2883. supported challenge-response based SASL authentication mechanism, such
  2884. as CRAM-MD5 or NTLM, the server doesn't support the LOGIN or PLAIN
  2885. mechanisms and (lib)curl doesn't fallback to Clear Text authentication.
  2886. Note: In order to fallback to Clear Text authentication properly this
  2887. fix adds support for the LOGINDISABLED server capability.
  2888. Related bug: http://curl.haxx.se/mail/lib-2013-02/0004.html
  2889. Reported by: Stanislav Ivochkin
  2890. - pop3: Fixed no known authentication mechanism when fallback is required
  2891. Fixed an issue where (lib)curl is compiled without support for a
  2892. supported challenge-response based SASL authentication mechanism, such
  2893. as CRAM-MD5 or NTLM, the server doesn't support the LOGIN or PLAIN
  2894. mechanisms and (lib)curl doesn't fallback to APOP or Clear Text
  2895. authentication.
  2896. Bug: http://curl.haxx.se/mail/lib-2013-02/0004.html
  2897. Reported by: Stanislav Ivochkin
  2898. Daniel Stenberg (1 Feb 2013)
  2899. - singleipconnect: simplify and clean up
  2900. Remove timeout argument that's never used.
  2901. Make the actual connection get detected on a single spot to reduce code
  2902. duplication.
  2903. Store the IPv6 state already when the connection is attempted.
  2904. - Curl_perfom: removed
  2905. Curl_perfom is no longer used anywhere since the always-multi commit
  2906. c43127414d89ccb9, and some related functions were used only from within
  2907. Curl_perfom.
  2908. Guenter Knauf (30 Jan 2013)
  2909. - Updated date.
  2910. Yang Tse (30 Jan 2013)
  2911. - zz40-xc-ovr.m4: fix 'wc' detection - follow-up 2
  2912. - Fix a pair of single quotes to double quotes.
  2913. URL: http://curl.haxx.se/mail/lib-2013-01/0355.html
  2914. Reported by: Tor Arntsen
  2915. - zz40-xc-ovr.m4: fix 'wc' detection - follow-up
  2916. - Take into account that 'wc' may return leading spaces and/or tabs.
  2917. - Set initial IFS to space, tab and newline.
  2918. - zz40-xc-ovr.m4: fix 'wc' detection
  2919. - Take into account that 'wc' may return leading spaces.
  2920. - Set internationalization behavior variables.
  2921. Tor Arntsen analyzed and reported the issue.
  2922. URL: http://curl.haxx.se/mail/lib-2013-01/0351.html
  2923. - zz40-xc-ovr.m4: check another three basic utilities
  2924. Guenter Knauf (29 Jan 2013)
  2925. - Fixed debug.c to work again unchanged.
  2926. Added CURLOPT_FOLLOWLOCATION since example.com is now redirected.
  2927. Daniel Stenberg (29 Jan 2013)
  2928. - [Nick Zitzmann brought this change]
  2929. darwinssl: Fix bug where packets were sometimes transmitted twice
  2930. There was a bug where, if SSLWrite() returned errSSLWouldBlock but did
  2931. succeed in transmitting at least something, then we'd incorrectly
  2932. resend the packet. Now we never take errSSLWouldBlock as a sign that
  2933. nothing was transferred to/from the server.
  2934. Bug: http://curl.haxx.se/mail/lib-2013-01/0295.html
  2935. Reported by: Bruno de Carvalho
  2936. - [Nick Zitzmann brought this change]
  2937. FAQ: "Darwinssl" is AKA "Secure Transport" and supports NTLM
  2938. - RELEASE-NOTES: only list Nick once
  2939. Even though he's a fine dude, once is enough for this time!
  2940. Yang Tse (28 Jan 2013)
  2941. - zz40-xc-ovr.m4: 1.0 interface stabilization
  2942. - Stabilization results in 4 public interface m4 macros:
  2943. XC_CONFIGURE_PREAMBLE
  2944. XC_CONFIGURE_PREAMBLE_VER_MAJOR
  2945. XC_CONFIGURE_PREAMBLE_VER_MINOR
  2946. XC_CHECK_PATH_SEPARATOR
  2947. - Avoid one level of internal indirection
  2948. - Update comments
  2949. - Drop XC_OVR_ZZ40 macro
  2950. Kamil Dudka (28 Jan 2013)
  2951. - docs: fix typos in man pages
  2952. Reported by: Jiri Jaburek
  2953. Bug: https://bugzilla.redhat.com/896544
  2954. - docs: update the comments about loading CA certs with NSS
  2955. Bug: https://bugzilla.redhat.com/696783
  2956. Guenter Knauf (28 Jan 2013)
  2957. - Updated dependency libs.
  2958. - Fixed simple.c to work again unchanged.
  2959. Added CURLOPT_FOLLOWLOCATION since example.com is now redirected.
  2960. Steve Holme (27 Jan 2013)
  2961. - smtp.c: Fixed unnecessary state change if starttls fails
  2962. The state machine should only be changed to SMTP_STARTTLS when the
  2963. STARTTLS command has been successfully sent to the server.
  2964. - pop3.c: Fixed unnecessary state change if starttls fails
  2965. The state machine should only be changed to POP3_STARTTLS when the
  2966. STLS command has been successfully sent to the server.
  2967. - imap.c: Fixed unnecessary state change if starttls fails
  2968. The state machine should only be changed to IMAP_STARTTLS when the
  2969. STARTTLS command has been successfully sent to the server.
  2970. - email: Updated comment regarding ssldone usage
  2971. Updated the ssldone comment as multi mode is always used internally now.
  2972. Yang Tse (26 Jan 2013)
  2973. - zz40-xc-ovr.m4: emit witness message in configure BODY
  2974. This avoids witness message in output when running configure --help,
  2975. while sending the message to config.log for other configure runs.
  2976. Steve Holme (25 Jan 2013)
  2977. - smtp.c: Added comments to smtp_endofresp()
  2978. Minor code tidy up to add comments similar to those used in the pop3
  2979. and imap end of resp functions, in order to assist anyone reading the
  2980. code and highlight the similarities between each of these protocols.
  2981. Yang Tse (25 Jan 2013)
  2982. - zz40-xc-ovr.m4: truly do version conditional overriding
  2983. - version conditional overriding
  2984. - catch unexpanded XC macros
  2985. - fix double words in comments
  2986. - zz40-xc-ovr.m4: fix variable assignment of subshell output bashism
  2987. Tor Arntsen analyzed and reported the issue.
  2988. URL: http://curl.haxx.se/mail/lib-2013-01/0306.html
  2989. - zz40-xc-ovr.m4: reinstate strict AC_REQUIRE macro dependencies
  2990. - zz40-xc-ovr.m4: avoid double single-quote usage
  2991. - zz40-xc-ovr.m4: parentheses balancing of 'case' statements
  2992. m4 quadrigraph shell comment technique allows proper autoconf
  2993. parentheses balancing in shell 'case' statements. The presence
  2994. of unbalanced parentheses may otherwise trigger expansion bugs.
  2995. Steve Holme (24 Jan 2013)
  2996. - smtp.c: Corrected RFC references
  2997. The most recent version of the SMTP RFC is RFC5321 and not RFC2821 as
  2998. previously documented.
  2999. Added RFC1870 and re-ordered list numerically.
  3000. - smtp.c: Fixed failure detection during TLS upgrade
  3001. smtp_state_upgrade_tls() would attempt to incorrectly complete the
  3002. upgrade to smtps and start the EHLO command if
  3003. Curl_ssl_connect_nonblocking() returned a failure code and if ssldone
  3004. was set to TRUE. This would only happen when a non-blocking API hadn't
  3005. been provided by the SSL implementation and curlssl_connect() was
  3006. called underneath.
  3007. - pop3.c: Fixed failure detection during TLS upgrade
  3008. pop3_state_upgrade_tls() would attempt to incorrectly complete the
  3009. upgrade to pop3s and start the CAPA command if
  3010. Curl_ssl_connect_nonblocking() returned a failure code and if ssldone
  3011. was set to TRUE. This would only happen when a non-blocking API hadn't
  3012. been provided by the SSL implementation and curlssl_connect() was
  3013. called underneath.
  3014. - imap.c: Fixed failure detection during TLS upgrade
  3015. imap_state_upgrade_tls() would attempt to incorrectly complete the
  3016. upgrade to imaps and start the CAPABILITY command if
  3017. Curl_ssl_connect_nonblocking() returned a failure code and if ssldone
  3018. was set to TRUE. This would only happen when a non-blocking API hadn't
  3019. been provided by the SSL implementation and curlssl_connect() was
  3020. called underneath.
  3021. Yang Tse (24 Jan 2013)
  3022. - zz40-xc-ovr.m4: internals overhauling
  3023. - Update comments
  3024. - Execute commands in subshells
  3025. - Faster path separator check
  3026. - Fix missing 'test' command
  3027. - Rename private macros
  3028. - Minimize AC_REQUIRE usage
  3029. Steve Holme (23 Jan 2013)
  3030. - email: Removed unnecessary return statements
  3031. Small tidy up to remove unnecessary return statements prior to the next
  3032. fix.
  3033. Yang Tse (23 Jan 2013)
  3034. - zz40-xc-ovr.m4: redirect errors and warnings to stderr
  3035. - zz40-xc-ovr.m4: AC_REQUIRE also XC_CONFIGURE_PREAMBLE success message
  3036. - zz60-xc-ovr.m4: tighten XC_OVR_ZZ60 macro placement requirements
  3037. - configure: use XC_CONFIGURE_PREAMBLE early checks
  3038. Some basic checks we make were placed early enough in generated
  3039. configure script when using autoconf 2.5X versions. Newer autoconf
  3040. versions expand these checks much further into the configure script,
  3041. rendering them useless. Using XC_CONFIGURE_PREAMBLE fixes placement
  3042. of early intended checks across all our autoconf supported versions.
  3043. - zz40-xc-ovr.m4: provide XC_CONFIGURE_PREAMBLE macro
  3044. Daniel Stenberg (23 Jan 2013)
  3045. - FAQ: update the SSL lib list and wording in question 2.2
  3046. Steve Holme (22 Jan 2013)
  3047. - curl_sasl.c: Corrected references to RFC
  3048. The most recent version of the RFC is RFC4422 and not RFC2222 as
  3049. previously documented.
  3050. - email: Corrected references to SASL RFC
  3051. The most recent version of the SASL RFC is RFC4422 and not RFC2222 as
  3052. previously documented.
  3053. Daniel Stenberg (22 Jan 2013)
  3054. - [Ulion brought this change]
  3055. formpost: support quotes, commas and semicolon in file names
  3056. - document the double-quote and backslash need be escaped if quoting.
  3057. - libcurl formdata escape double-quote in filename by backslash.
  3058. - curl formparse can parse filename both contains '"' and ',' or ';'.
  3059. - curl now can uploading file with ',' or ';' in filename.
  3060. Bug: http://curl.haxx.se/bug/view.cgi?id=1171
  3061. - memanalyze.pl: handle fopen() of file names with quotes
  3062. Yang Tse (21 Jan 2013)
  3063. - xc-cc-check.m4: re-evaluate exporting and AC_SUBST'ing vars
  3064. Notes:
  3065. When running a configure script that has nested packages (for example
  3066. libcurl's configure with --enable-ares and c-ares sources embedded in
  3067. curl tree) and AC_CONFIG_SUBDIRS([nested-subdir]) machinery is used to
  3068. automatically run the nested configure script from within the parent
  3069. configure script, it happens that the nested _shell_ script will
  3070. inherit shell variables exported from the parent _shell_ script.
  3071. If for example parent configure script sets and exports LDFLAGS and LIBS
  3072. variables with proper values in order to link either a parent library or
  3073. program with a library which will be configured and built by a nested
  3074. package; It will happen that when the nested configure script runs, the
  3075. nested library does not exist yet and _any_ link-test done in the nested
  3076. configure will fail, such as those that autoconf macros perform in order
  3077. to detect existing compiler and its characteristics, the result is that
  3078. the nested configure script will fail with errors such as:
  3079. configure: error: C compiler cannot create executables
  3080. For now, we no longer export variables previously exported here.
  3081. On the other hand, AC_SUBST'ing them is appropriate and even with nested
  3082. packages each package's config.status gets its own package values.
  3083. So we reinstate AC_SUBST'ing previously AC_SUBST'ed variables.
  3084. Daniel Stenberg (21 Jan 2013)
  3085. - FAQ: 3.22 curl -X gives me HTTP problems
  3086. Yang Tse (21 Jan 2013)
  3087. - xc-cc-check.m4: avoid recursive package automake'ing breakage
  3088. - xc-cc-check.m4: mark earlier variables that are to be exported
  3089. - configure: autotools compatibility fixes - step I
  3090. Fix proper macro expansion order across autotools versions for
  3091. C compiler and preprocessor program checks.
  3092. Steve Holme (20 Jan 2013)
  3093. - pop3.c: Fixed conditional compilation of the apop response function
  3094. Extended the fix from commit 8b15c84ea91e to additionally exclude
  3095. pop3_state_apop_resp() if the CURL_DISABLE_CRYPTO_AUTH flag is
  3096. defined.
  3097. Yang Tse (20 Jan 2013)
  3098. - Makefile.inc: fix $(top_srcdir) not allowed in _SOURCES variables
  3099. Daniel Stenberg (19 Jan 2013)
  3100. - formadd: reject trying to read a directory where a file is expected
  3101. Bug: http://curl.haxx.se/mail/archive-2013-01/0017.html
  3102. Reported by: Ulrich Doehner
  3103. - curl_easy_send.3: document return codes
  3104. Reported by: Craig Davison
  3105. Bug: http://curl.haxx.se/mail/lib-2013-01/0234.html
  3106. - curl_easy_recv.3: document return codes
  3107. Reported by: Craig Davison
  3108. Bug: http://curl.haxx.se/mail/lib-2013-01/0234.html
  3109. Steve Holme (19 Jan 2013)
  3110. - email: General code tidy up
  3111. Corrected some function argument definitions to maximize the 80
  3112. character line length limit and be in keeping with the curl
  3113. coding style.
  3114. - pop3.c: Fixed a problem with pop3s connections not connecting properly
  3115. Fixed an issue where Curl_ssl_connect_nonblocking() wouldn't complete
  3116. correctly and the ssldone flag wouldn't be set to true for pop3s based
  3117. connections.
  3118. Bug introduced in commit: 4ffb8a6398ed.
  3119. Daniel Stenberg (18 Jan 2013)
  3120. - RELEASE-NOTES: add references to several bugfixes+changes
  3121. Steve Holme (18 Jan 2013)
  3122. - RELEASE-NOTES: Added missing imap fix
  3123. Added missing imap fix as per commit 709b3506cd9b.
  3124. Yang Tse (18 Jan 2013)
  3125. - runtests.pl: make VPATH builds find valgrind.supp
  3126. Daniel Stenberg (18 Jan 2013)
  3127. - RELEASE-NOTES: synced with c43127414d89
  3128. - always-multi: always use non-blocking internals
  3129. Remove internal separated behavior of the easy vs multi intercace.
  3130. curl_easy_perform() is now using the multi interface itself.
  3131. Several minor multi interface quirks and bugs have been fixed in the
  3132. process.
  3133. Much help with debugging this has been provided by: Yang Tse
  3134. Yang Tse (17 Jan 2013)
  3135. - url.c: fix HTTP CONNECT tunnel establishment upon delayed response
  3136. Fixes initial proxy response being processed by the tunneled protocol
  3137. handler instead of the HTTP wrapper handler. This issue would trigger
  3138. upon delayed CONNECT response from the proxy.
  3139. Additionally fixes a multi interface code-path in which connections
  3140. would not time out properly.
  3141. This does not fix known bug #39.
  3142. URL: http://curl.haxx.se/mail/lib-2013-01/0191.html
  3143. Daniel Stenberg (16 Jan 2013)
  3144. - [Yves Arrouye brought this change]
  3145. --libcurl: fix for non-zero default options
  3146. If the default value for an option taking a long as its value is non
  3147. zero, and it is set by zero by a command line option, then that command
  3148. line option is not reflected in --libcurl's output. This is because line
  3149. 520-521 of tool_setopt.c look like:
  3150. if(!lval)
  3151. skip = TRUE;
  3152. An example of a command-line option doing so is the -k option that sets
  3153. CURLOPT_SLL_VERIFYPEER and CURLOPT_SSL_VERIFYHOST to 0L, when the
  3154. defaults are non-zero.
  3155. - FTP: reject illegal port numbers in EPSV 229 responses
  3156. Yang Tse (15 Jan 2013)
  3157. - commit bc682cbd follow-up
  3158. - build: use per-target '_CPPFLAGS' for those currently using default
  3159. Automake documents that doing this will make it choose a different name
  3160. for intermediate object files even when sharing source files across
  3161. targets of same Makefile.am.
  3162. Up to automake 1.13.1 target's intermediate object files were placed
  3163. in the build subdirectory of the target. We depended on this, probably
  3164. undocumented behavior, to achieve same behavior as if a per-target flag
  3165. had been specified when building targets that actually belong to
  3166. different Makefile.am files.
  3167. It seems automake 1.13.2 is going to break behavior mentioned above.
  3168. So, lets use a documented behavior in order to achieve same purpose,
  3169. across automake versions, no matter where automake wishes to place
  3170. intermediate object files.
  3171. Our build targets that already were using a per-target '_CFLAGS' or
  3172. '_CPPFLAGS' need no 'fixing', these were already 'fixed'. The only
  3173. Makefile.am or Makefile.in files in libcurl's source tree touched by
  3174. this 'fix' are tests/libtest/Makefile.inc and tests/unit/Makefile.inc.
  3175. - tests/libtest/Makefile.inc: sort build targets
  3176. - tests/Makefile.am: remove wildcard usage in EXTRA_DIST
  3177. Kamil Dudka (15 Jan 2013)
  3178. - nss: fix error messages for CURLE_SSL_{CACERT,CRL}_BADFILE
  3179. Do not use the error messages from NSS for errors not occurring in NSS.
  3180. Steve Holme (14 Jan 2013)
  3181. - TODO: Updated following IMAP SASL additions
  3182. Yang Tse (14 Jan 2013)
  3183. - configure: fix automake 1.13 compatibility
  3184. Tested with:
  3185. buildconf: autoconf version 2.69
  3186. buildconf: autom4te version 2.69
  3187. buildconf: autoheader version 2.69
  3188. buildconf: automake version 1.13.1
  3189. buildconf: aclocal version 1.13.1
  3190. buildconf: libtool version 2.4
  3191. buildconf: GNU m4 version 1.4.16
  3192. Daniel Stenberg (13 Jan 2013)
  3193. - BUGS: update bug tracker URL
  3194. ... and refresh number of lines of code
  3195. - Curl_resolver_getsock: fix the function description comment
  3196. It referred to it by the wrong name and said it returned the wrong value.
  3197. Reported by: Gisle Vanem
  3198. Kamil Dudka (11 Jan 2013)
  3199. - nss: clear session cache if a client cert from file is used
  3200. This commit fixes a regression introduced in 052a08ff.
  3201. NSS caches certs/keys returned by the SSL_GetClientAuthDataHook callback
  3202. and if we connect second time to the same server, the cached cert/key
  3203. pair is used. If we use multiple client certificates for different
  3204. paths on the same server, we need to clear the session cache to force
  3205. NSS to call the hook again. The commit 052a08ff prevented the session
  3206. cache from being cleared if a client certificate from file was used.
  3207. The condition is now fixed to cover both cases: consssl->client_nickname
  3208. is not NULL if a client certificate from the NSS database is used and
  3209. connssl->obj_clicert is not NULL if a client certificate from file is
  3210. used.
  3211. Review by: Kai Engert
  3212. Yang Tse (11 Jan 2013)
  3213. - sockfilt.c: log file descriptor number on read/write error
  3214. - [Gisle Vanem brought this change]
  3215. packages/DOS/common.dj: remove COFF debug info generation
  3216. gcc on DOS hasn't really supported COFF-debug (-gcoff) on djgpp for a
  3217. long time.
  3218. "Sounds like the COFF debug info generation has bit-rotted in GCC.
  3219. Nothing new here, no other platform uses COFF AFAIK."
  3220. So lets drop it too.
  3221. URL: http://curl.haxx.se/mail/lib-2013-01/0130.html
  3222. - curl: ignore SIGPIPE - compilation fix - follow-up
  3223. - test servers: handle W32/W64 SIGBREAK with exit_signal_handler
  3224. - test servers: fix errno, ERRNO and SOCKERRNO usage for W32/W64
  3225. - sockfilt.c: fix some W64 compiler warnings
  3226. Daniel Stenberg (9 Jan 2013)
  3227. - [Nick Zitzmann brought this change]
  3228. docs: the --with-darwinssl option is available on Apple OSes
  3229. Yang Tse (9 Jan 2013)
  3230. - curl: ignore SIGPIPE - compilation fix
  3231. - build: fix circular header inclusion with other packages
  3232. This commit renames lib/setup.h to lib/curl_setup.h and
  3233. renames lib/setup_once.h to lib/curl_setup_once.h.
  3234. Removes the need and usage of a header inclusion guard foreign
  3235. to libcurl. [1]
  3236. Removes the need and presence of an alarming notice we carried
  3237. in old setup_once.h [2]
  3238. ----------------------------------------
  3239. 1 - lib/setup_once.h used __SETUP_ONCE_H macro as header inclusion guard
  3240. up to commit ec691ca3 which changed this to HEADER_CURL_SETUP_ONCE_H,
  3241. this single inclusion guard is enough to ensure that inclusion of
  3242. lib/setup_once.h done from lib/setup.h is only done once.
  3243. Additionally lib/setup.h has always used __SETUP_ONCE_H macro to
  3244. protect inclusion of setup_once.h even after commit ec691ca3, this
  3245. was to avoid a circular header inclusion triggered when building a
  3246. c-ares enabled version with c-ares sources available which also has
  3247. a setup_once.h header. Commit ec691ca3 exposes the real nature of
  3248. __SETUP_ONCE_H usage in lib/setup.h, it is a header inclusion guard
  3249. foreign to libcurl belonging to c-ares's setup_once.h
  3250. The renaming this commit does, fixes the circular header inclusion,
  3251. and as such removes the need and usage of a header inclusion guard
  3252. foreign to libcurl. Macro __SETUP_ONCE_H no longer used in libcurl.
  3253. 2 - Due to the circular interdependency of old lib/setup_once.h and the
  3254. c-ares setup_once.h header, old file lib/setup_once.h has carried
  3255. back from 2006 up to now days an alarming and prominent notice about
  3256. the need of keeping libcurl's and c-ares's setup_once.h in sync.
  3257. Given that this commit fixes the circular interdependency, the need
  3258. and presence of mentioned notice is removed.
  3259. All mentioned interdependencies come back from now old days when
  3260. the c-ares project lived inside a curl subdirectory. This commit
  3261. removes last traces of such fact.
  3262. Daniel Stenberg (8 Jan 2013)
  3263. - curl: ignore SIGPIPE
  3264. This is a work-around for bug #1180 which is really libcurl's inability
  3265. to ignore SIGPIPE in a few cases. With this work-around at least curl
  3266. won't suffer from it!
  3267. Bug: http://curl.haxx.se/bug/view.cgi?id=1180
  3268. Reported by: Lluís Batlle i Rossell
  3269. Yang Tse (8 Jan 2013)
  3270. - sockfilt.c: fix some compiler warnings
  3271. Daniel Stenberg (8 Jan 2013)
  3272. - Revert "configure: update req to 2.59"
  3273. This reverts commit 7a6d8b1b1a8fcc184c36d6b6e741e32250b4bacb.
  3274. URL: http://curl.haxx.se/mail/lib-2013-01/0103.html
  3275. Steve Holme (8 Jan 2013)
  3276. - pop3: Added support for non-blocking SSL upgrade
  3277. Added support for asynchronous SSL upgrade when using the
  3278. multi-interface.
  3279. Daniel Stenberg (8 Jan 2013)
  3280. - configure: update req to 2.59
  3281. I ran the 2.59 version of autoupdate that updates obsoleted configure.ac
  3282. constructs to the 2.59 standard. With a little hands-on fiddling I
  3283. prevented it from ruining the quoting in AS_HELP_STRING() uses.
  3284. I subsequently also bumped the required autoconf version to 2.59
  3285. (released in December 2003) as I don't have an older autoconf version
  3286. around to test with and I can't be bothered to install one either...
  3287. Inspired by: Björn Stenberg
  3288. Related blog post: http://cazfi.livejournal.com/195108.html
  3289. Steve Holme (7 Jan 2013)
  3290. - imap.c: Small tidy up to add missing comment
  3291. - imap: Added support for sasl digest-md5 authentication
  3292. - imap: Added support for sasl cram-md5 authentication
  3293. Marc Hoersken (7 Jan 2013)
  3294. - tests/server/sockfilt.c: Fixed integer comparison warning
  3295. - tests/server/sockfilt.c: Include required Win32 headers
  3296. Steve Holme (7 Jan 2013)
  3297. - imap: Added support for sasl ntlm authentication
  3298. - imap: Added support for sasl login authentication
  3299. - pop3.c: Fixed default authentication detection
  3300. Fixed an issue where a server may positively respond to the CAPA command
  3301. but not list clear text as a valid authentication type.
  3302. - curl_sasl.c: Small code tidy up following imap changes
  3303. - smtp.c: Small code tidy up following imap changes
  3304. - pop3.c: Small code tidy up following imap changes
  3305. - imap: Added support for sasl plain text authentication
  3306. Marc Hoersken (6 Jan 2013)
  3307. - tests/server/sockfilt.c: Fixed support for listening sockets
  3308. This commit fixes support for sockets that are ready to accept
  3309. a new connection and have previously been put into listening mode.
  3310. It also includes changes which are the result of investigation
  3311. regarding Windows STDIN. These changes are the preparation for further
  3312. improvements regarding support for reading data from STDIN on Windows.
  3313. Open issue: WaitForMultipleObjectsEx does not support PIPE handles
  3314. which are returned by GetStdHandle while running without a GUI.
  3315. - tests/server/sockfilt.c: Set Windows Console to binary mode
  3316. - tests/server/sockfilt.c: Improved log error messages
  3317. Include error code and parameters in error messages.
  3318. Steve Holme (6 Jan 2013)
  3319. - imap: Introduced the continue response in imap_endofresp()
  3320. - imap: Added support for SASL based authentication mechanism detection
  3321. Added support for detecting the supported SASL authentication mechanisms
  3322. via the CAPABILITY command.
  3323. Yang Tse (6 Jan 2013)
  3324. - Revert changes relative to lib/*.[ch] recent renaming
  3325. This reverts renaming and usage of lib/*.h header files done
  3326. 28-12-2012, reverting 2 commits:
  3327. f871de0... build: make use of 76 lib/*.h renamed files
  3328. ffd8e12... build: rename 76 lib/*.h files
  3329. This also reverts removal of redundant include guard (redundant thanks
  3330. to changes in above commits) done 2-12-2013, reverting 1 commit:
  3331. c087374... curl_setup.h: remove redundant include guard
  3332. This also reverts renaming and usage of lib/*.c source files done
  3333. 3-12-2013, reverting 3 commits:
  3334. 13606bb... build: make use of 93 lib/*.c renamed files
  3335. 5b6e792... build: rename 93 lib/*.c files
  3336. 7d83dff... build: commit 13606bbfde follow-up 1
  3337. Start of related discussion thread:
  3338. http://curl.haxx.se/mail/lib-2013-01/0012.html
  3339. Asking for confirmation on pushing this revertion commit:
  3340. http://curl.haxx.se/mail/lib-2013-01/0048.html
  3341. Confirmation summary:
  3342. http://curl.haxx.se/mail/lib-2013-01/0079.html
  3343. NOTICE: The list of 2 files that have been modified by other
  3344. intermixed commits, while renamed, and also by at least one
  3345. of the 6 commits this one reverts follows below. These 2 files
  3346. will exhibit a hole in history unless git's '--follow' option
  3347. is used when viewing logs.
  3348. lib/curl_imap.h
  3349. lib/curl_smtp.h
  3350. Daniel Stenberg (6 Jan 2013)
  3351. - mk-ca-bundle.1: convert syntax to what's used elsewhere
  3352. ... mostly to make sure roffit works better on it, but also to make our
  3353. man pages use a more unified style.
  3354. - mk-ca-bundle.1: mention new -f, fix outputfile output
  3355. also edited a few sentences to become more verbose
  3356. - mk-ca-bundle: add -f, support passing to stdout and more
  3357. 1. When the downloaded data file from Mozilla is current, but the output
  3358. bundle does not exist: continue processing to create the bundle. The
  3359. goal is to have the output file - not just download the latest input.
  3360. 2. added -f option to force re-processing the file. Useful for
  3361. debugging/testing the process.
  3362. 3. added support for output to '-' (stdout), allowing the output to be
  3363. piped.
  3364. 4. All progress and error messages go to STDERR rather than STDOUT (3)
  3365. 5. The script opened and closed the output file many times
  3366. unnecessarily. It now opens it once, does the output and closes it.
  3367. 6. Backup of the input files happens after successful processing, not
  3368. before.
  3369. 7. The output is written to a temporary file, and renamed to the
  3370. requested name after backup - this greatly reduces the window where the
  3371. file can be seen partially written.
  3372. 8. all die calls have a \n at the end to suppress perl's traceback - the
  3373. traceback isn't useful to end users.
  3374. Patch: http://curl.haxx.se/mail/lib-2013-01/0045.html
  3375. Yang Tse (5 Jan 2013)
  3376. - imap test server: fix typo in name of SELECT_imap() sub definition
  3377. IMAP test server breaking typo introduced with commit b708a522a1
  3378. Steve Holme (4 Jan 2013)
  3379. - imap test server: Added support for the CAPABILITY command
  3380. Added support for the CAPABILITY command in preparation of upcoming
  3381. changes.
  3382. Daniel Stenberg (3 Jan 2013)
  3383. - writeout: -w now supports remote_ip/port and local_ip/port
  3384. Added mention to the curl.1 man page.
  3385. Test case 1223 verifies remote_ip/port.
  3386. Yang Tse (3 Jan 2013)
  3387. - test 1222: 8 chars object name generation && test 1221: adjustments
  3388. Daniel Stenberg (3 Jan 2013)
  3389. - INTERNALS: remove "footnote" never used
  3390. Yang Tse (3 Jan 2013)
  3391. - build: commit 13606bbfde follow-up 1
  3392. Daniel Stenberg (3 Jan 2013)
  3393. - FAQ: Can I write a server with libcurl?
  3394. Yang Tse (3 Jan 2013)
  3395. - build: rename 93 lib/*.c files
  3396. 93 lib/*.c source files renamed to use our standard naming scheme.
  3397. This commit only does the file renaming.
  3398. ----------------------------------------
  3399. renamed: lib/amigaos.c -> lib/curl_amigaos.c
  3400. renamed: lib/asyn-ares.c -> lib/curl_asyn_ares.c
  3401. renamed: lib/asyn-thread.c -> lib/curl_asyn_thread.c
  3402. renamed: lib/axtls.c -> lib/curl_axtls.c
  3403. renamed: lib/base64.c -> lib/curl_base64.c
  3404. renamed: lib/bundles.c -> lib/curl_bundles.c
  3405. renamed: lib/conncache.c -> lib/curl_conncache.c
  3406. renamed: lib/connect.c -> lib/curl_connect.c
  3407. renamed: lib/content_encoding.c -> lib/curl_content_encoding.c
  3408. renamed: lib/cookie.c -> lib/curl_cookie.c
  3409. renamed: lib/cyassl.c -> lib/curl_cyassl.c
  3410. renamed: lib/dict.c -> lib/curl_dict.c
  3411. renamed: lib/easy.c -> lib/curl_easy.c
  3412. renamed: lib/escape.c -> lib/curl_escape.c
  3413. renamed: lib/file.c -> lib/curl_file.c
  3414. renamed: lib/fileinfo.c -> lib/curl_fileinfo.c
  3415. renamed: lib/formdata.c -> lib/curl_formdata.c
  3416. renamed: lib/ftp.c -> lib/curl_ftp.c
  3417. renamed: lib/ftplistparser.c -> lib/curl_ftplistparser.c
  3418. renamed: lib/getenv.c -> lib/curl_getenv.c
  3419. renamed: lib/getinfo.c -> lib/curl_getinfo.c
  3420. renamed: lib/gopher.c -> lib/curl_gopher.c
  3421. renamed: lib/gtls.c -> lib/curl_gtls.c
  3422. renamed: lib/hash.c -> lib/curl_hash.c
  3423. renamed: lib/hmac.c -> lib/curl_hmac.c
  3424. renamed: lib/hostasyn.c -> lib/curl_hostasyn.c
  3425. renamed: lib/hostcheck.c -> lib/curl_hostcheck.c
  3426. renamed: lib/hostip.c -> lib/curl_hostip.c
  3427. renamed: lib/hostip4.c -> lib/curl_hostip4.c
  3428. renamed: lib/hostip6.c -> lib/curl_hostip6.c
  3429. renamed: lib/hostsyn.c -> lib/curl_hostsyn.c
  3430. renamed: lib/http.c -> lib/curl_http.c
  3431. renamed: lib/http_chunks.c -> lib/curl_http_chunks.c
  3432. renamed: lib/http_digest.c -> lib/curl_http_digest.c
  3433. renamed: lib/http_negotiate.c -> lib/curl_http_negotiate.c
  3434. renamed: lib/http_negotiate_sspi.c -> lib/curl_http_negotiate_sspi.c
  3435. renamed: lib/http_proxy.c -> lib/curl_http_proxy.c
  3436. renamed: lib/idn_win32.c -> lib/curl_idn_win32.c
  3437. renamed: lib/if2ip.c -> lib/curl_if2ip.c
  3438. renamed: lib/imap.c -> lib/curl_imap.c
  3439. renamed: lib/inet_ntop.c -> lib/curl_inet_ntop.c
  3440. renamed: lib/inet_pton.c -> lib/curl_inet_pton.c
  3441. renamed: lib/krb4.c -> lib/curl_krb4.c
  3442. renamed: lib/krb5.c -> lib/curl_krb5.c
  3443. renamed: lib/ldap.c -> lib/curl_ldap.c
  3444. renamed: lib/llist.c -> lib/curl_llist.c
  3445. renamed: lib/md4.c -> lib/curl_md4.c
  3446. renamed: lib/md5.c -> lib/curl_md5.c
  3447. renamed: lib/memdebug.c -> lib/curl_memdebug.c
  3448. renamed: lib/mprintf.c -> lib/curl_mprintf.c
  3449. renamed: lib/multi.c -> lib/curl_multi.c
  3450. renamed: lib/netrc.c -> lib/curl_netrc.c
  3451. renamed: lib/non-ascii.c -> lib/curl_non_ascii.c
  3452. renamed: lib/curl_non-ascii.h -> lib/curl_non_ascii.h
  3453. renamed: lib/nonblock.c -> lib/curl_nonblock.c
  3454. renamed: lib/nss.c -> lib/curl_nss.c
  3455. renamed: lib/nwlib.c -> lib/curl_nwlib.c
  3456. renamed: lib/nwos.c -> lib/curl_nwos.c
  3457. renamed: lib/openldap.c -> lib/curl_openldap.c
  3458. renamed: lib/parsedate.c -> lib/curl_parsedate.c
  3459. renamed: lib/pingpong.c -> lib/curl_pingpong.c
  3460. renamed: lib/polarssl.c -> lib/curl_polarssl.c
  3461. renamed: lib/pop3.c -> lib/curl_pop3.c
  3462. renamed: lib/progress.c -> lib/curl_progress.c
  3463. renamed: lib/qssl.c -> lib/curl_qssl.c
  3464. renamed: lib/rawstr.c -> lib/curl_rawstr.c
  3465. renamed: lib/rtsp.c -> lib/curl_rtsp.c
  3466. renamed: lib/security.c -> lib/curl_security.c
  3467. renamed: lib/select.c -> lib/curl_select.c
  3468. renamed: lib/sendf.c -> lib/curl_sendf.c
  3469. renamed: lib/share.c -> lib/curl_share.c
  3470. renamed: lib/slist.c -> lib/curl_slist.c
  3471. renamed: lib/smtp.c -> lib/curl_smtp.c
  3472. renamed: lib/socks.c -> lib/curl_socks.c
  3473. renamed: lib/socks_gssapi.c -> lib/curl_socks_gssapi.c
  3474. renamed: lib/socks_sspi.c -> lib/curl_socks_sspi.c
  3475. renamed: lib/speedcheck.c -> lib/curl_speedcheck.c
  3476. renamed: lib/splay.c -> lib/curl_splay.c
  3477. renamed: lib/ssh.c -> lib/curl_ssh.c
  3478. renamed: lib/sslgen.c -> lib/curl_sslgen.c
  3479. renamed: lib/ssluse.c -> lib/curl_ssluse.c
  3480. renamed: lib/strdup.c -> lib/curl_strdup.c
  3481. renamed: lib/strequal.c -> lib/curl_strequal.c
  3482. renamed: lib/strerror.c -> lib/curl_strerror.c
  3483. renamed: lib/strtok.c -> lib/curl_strtok.c
  3484. renamed: lib/strtoofft.c -> lib/curl_strtoofft.c
  3485. renamed: lib/telnet.c -> lib/curl_telnet.c
  3486. renamed: lib/tftp.c -> lib/curl_tftp.c
  3487. renamed: lib/timeval.c -> lib/curl_timeval.c
  3488. renamed: lib/transfer.c -> lib/curl_transfer.c
  3489. renamed: lib/url.c -> lib/curl_url.c
  3490. renamed: lib/version.c -> lib/curl_version.c
  3491. renamed: lib/warnless.c -> lib/curl_warnless.c
  3492. renamed: lib/wildcard.c -> lib/curl_wildcard.c
  3493. ----------------------------------------
  3494. - build: make use of 93 lib/*.c renamed files
  3495. 93 *.c source files renamed to use our standard naming scheme.
  3496. This change affects 77 files in libcurl's source tree.
  3497. Daniel Stenberg (3 Jan 2013)
  3498. - INSTALL: unify the SSL library texts
  3499. Make them smaller and more similar for each separate SSL library
  3500. supported by the configure build
  3501. Yang Tse (2 Jan 2013)
  3502. - curl_setup.h: remove redundant include guard
  3503. - build and tests: curl_10char_object_name() shell function
  3504. lib/objnames.inc provides definition of curl_10char_object_name() shell
  3505. function. The intended purpose of this function is to transliterate a
  3506. (*.c) source file name that may be longer than 10 characters, or not,
  3507. into a string with at most 10 characters which may be used as an OS/400
  3508. object name.
  3509. Test case 1221 does unit testng of this function and also verifies
  3510. that it is possible to generate distinct short object names for all
  3511. curl and libcurl *.c source file names.
  3512. lib/objnames-test.sh is the shell script used for test case 1221.
  3513. tests/runtests.pl modified to accept shell script test cases.
  3514. More details inside lib/objnames.inc and lib/objnames-test.sh
  3515. - configure.ac: replace AM_CONFIG_HEADER with AC_CONFIG_HEADERS
  3516. automake 1.13 errors if AM_CONFIG_HEADER is used in configure script.
  3517. automake 1.13 no longer autoupdates AM_CONFIG_HEADER to
  3518. AC_CONFIG_HEADERS, thing which automake has been doing since automake
  3519. version 1.7
  3520. Given that our first automake supported version is automake 1.7,
  3521. simply replacing AM_CONFIG_HEADER usage with AC_CONFIG_HEADERS seems
  3522. enough to yet support same automake versions.
  3523. Dave Reisner reported issue with 1.13 and provided patch.
  3524. http://curl.haxx.se/mail/lib-2012-12/0246.html
  3525. - curl-override.m4: provide AC_CONFIG_MACRO_DIR definition conditionally
  3526. Provide a 'traceable' AC_CONFIG_MACRO_DIR definition only when using
  3527. an autoconf version that does not provide it, instead of what we were
  3528. doing up to now of providing and overriding AC_CONFIG_MACRO_DIR for
  3529. all autoconf versions.
  3530. Steve Holme (30 Dec 2012)
  3531. - imap.c: Minor follow up tidy up
  3532. - imap: Code tidy up prior to adding support for the CAPABILITY command
  3533. * Changing the order of the state machine to represent the order in
  3534. which commands are sent to the server.
  3535. * Reworking the imap_endofresp() function as the FETCH response doesn't
  3536. include the command id and shouldn't be part of the length comparison
  3537. that takes into account the id string.
  3538. - pop3_doing: Applied debug info message when function fails
  3539. Applied the same debug message as used in smtp_doing() and imap_doing()
  3540. when pop3_multi_statemach() fails.
  3541. - imap_doing: don't call imap_dophase_done() if already failed
  3542. Applied the POP3 fix from commit 2897ce7dc2e1 so imap_dophase_done()
  3543. isn't called if imap_multi_statemach() fails.
  3544. - smtp_doing: don't call smtp_dophase_done() if already failed
  3545. Applied the POP3 fix from commit 2897ce7dc2e1 so smtp_dophase_done()
  3546. isn't called if smtp_multi_statemach() fails.
  3547. Yang Tse (29 Dec 2012)
  3548. - examples/certinfo.c: fix compiler warning
  3549. Steve Holme (29 Dec 2012)
  3550. - pop3.c: Removed unnecessary POP3_STOP state changes
  3551. Removed unnecessary state changes in pop3_state_starttls_resp()
  3552. following previous fix in IMAP module.
  3553. - smtp.c: Added extra comments around SMTP_STOP state change
  3554. Provided extra comments in the SMTP module following previous IMAP fix.
  3555. - imap.c: Fixed bad state error when logging in with invalid credentials
  3556. Fixed a problem with the state machine when attempting to log in with
  3557. invalid credentials. The server would report login failure but libcurl
  3558. would not read the response due to inappropriate IMAP_STOP states being
  3559. set after the login was sent.
  3560. Yang Tse (29 Dec 2012)
  3561. - imap.c: remove trailing whitespace
  3562. Steve Holme (28 Dec 2012)
  3563. - imap.c: Code tidy up - Part 2
  3564. - imap.c: Code tidy up - Part 1
  3565. Applied some of the comment and layout changes that had already been
  3566. applied to the pop3 and smtp code over the last 6 to 9 months.
  3567. This is in preparation of adding SASL based authentication.
  3568. - pop3.c: Minor code tidy up
  3569. Minor tidy up of comments and layout prior to next part of imap work.
  3570. - smtp: Minor code tidy up
  3571. Minor tidy up of comments and layout prior to next part of imap work.
  3572. - curl_imap.h: Tidy up of comments to be more readable
  3573. - imap.c: Code tidy up renaming imapsendf() to imap_sendf()
  3574. Renamed imapsendf() to imap_sendf() to be more in keeping with the
  3575. other imap functions as well as Curl_pp_sendf() that it replaces.
  3576. Yang Tse (28 Dec 2012)
  3577. - build: rename 76 lib/*.h files
  3578. 76 private header files renamed to use our standard naming scheme.
  3579. This commit only does the file renaming.
  3580. ----------------------------------------
  3581. renamed: amigaos.h -> curl_amigaos.h
  3582. renamed: arpa_telnet.h -> curl_arpa_telnet.h
  3583. renamed: asyn.h -> curl_asyn.h
  3584. renamed: axtls.h -> curl_axtls.h
  3585. renamed: bundles.h -> curl_bundles.h
  3586. renamed: conncache.h -> curl_conncache.h
  3587. renamed: connect.h -> curl_connect.h
  3588. renamed: content_encoding.h -> curl_content_encoding.h
  3589. renamed: cookie.h -> curl_cookie.h
  3590. renamed: cyassl.h -> curl_cyassl.h
  3591. renamed: dict.h -> curl_dict.h
  3592. renamed: easyif.h -> curl_easyif.h
  3593. renamed: escape.h -> curl_escape.h
  3594. renamed: file.h -> curl_file.h
  3595. renamed: fileinfo.h -> curl_fileinfo.h
  3596. renamed: formdata.h -> curl_formdata.h
  3597. renamed: ftp.h -> curl_ftp.h
  3598. renamed: ftplistparser.h -> curl_ftplistparser.h
  3599. renamed: getinfo.h -> curl_getinfo.h
  3600. renamed: gopher.h -> curl_gopher.h
  3601. renamed: gtls.h -> curl_gtls.h
  3602. renamed: hash.h -> curl_hash.h
  3603. renamed: hostcheck.h -> curl_hostcheck.h
  3604. renamed: hostip.h -> curl_hostip.h
  3605. renamed: http.h -> curl_http.h
  3606. renamed: http_chunks.h -> curl_http_chunks.h
  3607. renamed: http_digest.h -> curl_http_digest.h
  3608. renamed: http_negotiate.h -> curl_http_negotiate.h
  3609. renamed: http_proxy.h -> curl_http_proxy.h
  3610. renamed: if2ip.h -> curl_if2ip.h
  3611. renamed: imap.h -> curl_imap.h
  3612. renamed: inet_ntop.h -> curl_inet_ntop.h
  3613. renamed: inet_pton.h -> curl_inet_pton.h
  3614. renamed: krb4.h -> curl_krb4.h
  3615. renamed: llist.h -> curl_llist.h
  3616. renamed: memdebug.h -> curl_memdebug.h
  3617. renamed: multiif.h -> curl_multiif.h
  3618. renamed: netrc.h -> curl_netrc.h
  3619. renamed: non-ascii.h -> curl_non-ascii.h
  3620. renamed: nonblock.h -> curl_nonblock.h
  3621. renamed: nssg.h -> curl_nssg.h
  3622. renamed: parsedate.h -> curl_parsedate.h
  3623. renamed: pingpong.h -> curl_pingpong.h
  3624. renamed: polarssl.h -> curl_polarssl.h
  3625. renamed: pop3.h -> curl_pop3.h
  3626. renamed: progress.h -> curl_progress.h
  3627. renamed: qssl.h -> curl_qssl.h
  3628. renamed: rawstr.h -> curl_rawstr.h
  3629. renamed: rtsp.h -> curl_rtsp.h
  3630. renamed: select.h -> curl_select.h
  3631. renamed: sendf.h -> curl_sendf.h
  3632. renamed: setup.h -> curl_setup.h
  3633. renamed: setup_once.h -> curl_setup_once.h
  3634. renamed: share.h -> curl_share.h
  3635. renamed: slist.h -> curl_slist.h
  3636. renamed: smtp.h -> curl_smtp.h
  3637. renamed: sockaddr.h -> curl_sockaddr.h
  3638. renamed: socks.h -> curl_socks.h
  3639. renamed: speedcheck.h -> curl_speedcheck.h
  3640. renamed: splay.h -> curl_splay.h
  3641. renamed: ssh.h -> curl_ssh.h
  3642. renamed: sslgen.h -> curl_sslgen.h
  3643. renamed: ssluse.h -> curl_ssluse.h
  3644. renamed: strdup.h -> curl_strdup.h
  3645. renamed: strequal.h -> curl_strequal.h
  3646. renamed: strerror.h -> curl_strerror.h
  3647. renamed: strtok.h -> curl_strtok.h
  3648. renamed: strtoofft.h -> curl_strtoofft.h
  3649. renamed: telnet.h -> curl_telnet.h
  3650. renamed: tftp.h -> curl_tftp.h
  3651. renamed: timeval.h -> curl_timeval.h
  3652. renamed: transfer.h -> curl_transfer.h
  3653. renamed: url.h -> curl_url.h
  3654. renamed: urldata.h -> curl_urldata.h
  3655. renamed: warnless.h -> curl_warnless.h
  3656. renamed: wildcard.h -> curl_wildcard.h
  3657. ----------------------------------------
  3658. - build: make use of 76 lib/*.h renamed files
  3659. 76 private header files renamed to use our standard naming scheme.
  3660. This change affects 322 files in libcurl's source tree.
  3661. - lib/*.h: use our standard naming scheme for header inclusion guards
  3662. Steve Holme (28 Dec 2012)
  3663. - imsp.c: Fixed usernames and passwords that contain escape characters
  3664. Fixed a problem with sending usernames and passwords that contain
  3665. backslash, quotation mark and space characters.
  3666. Daniel Stenberg (27 Dec 2012)
  3667. - curl.1: extend the -X, --request description
  3668. - RELEASE-NOTES: synced with e3ed2b82e6
  3669. - [Nick Zitzmann brought this change]
  3670. darwinssl: Fixed inability to disable peer verification
  3671. ... on Snow Leopard and Lion
  3672. Snow Leopard introduced the SSLSetSessionOption() function, but it
  3673. doesn't disable peer verification as expected on Snow Leopard or
  3674. Lion (it works as expected in Mountain Lion). So we now use sysctl()
  3675. to detect whether or not the user is using Snow Leopard or Lion,
  3676. and if that's the case, then we now use the deprecated
  3677. SSLSetEnableCertVerify() function instead to disable peer verification.
  3678. Yang Tse (26 Dec 2012)
  3679. - curl tool: rename hugehelp files to tool_hugehelp
  3680. - curl tool: renaming hugehelp files to tool_hugehelp
  3681. - sockfilt.c: commit b44da5a82a follow-up 2
  3682. - sockfilt.c: commit b44da5a82a follow-up
  3683. - sockfilt.c: fix some compiler warnings
  3684. - curl_multi_remove_handle: commit 0aabfd9963 follow-up
  3685. Daniel Stenberg (25 Dec 2012)
  3686. - lib556: enable VERBOSE to ease debugging on failures
  3687. Marc Hoersken (25 Dec 2012)
  3688. - socklift.c: Quick fix to re-add missing code
  3689. - socklift.c: Added select_ws function to support Windows
  3690. WinSock select() does not support standard file descriptors,
  3691. it can only check SOCKETs. The following function is an attempt
  3692. to create a select() function with support for other handles.
  3693. Yang Tse (25 Dec 2012)
  3694. - Enable tests 1503, 1504 and 1505
  3695. - curl_multi_remove_handle: fix memory leak triggered with CURLOPT_RESOLVE
  3696. - Curl_hash_clean: OOM handling fix
  3697. - test 1504 and 1505: same as 1502 but with different cleanup sequences
  3698. Daniel Stenberg (24 Dec 2012)
  3699. - Curl_conncache_foreach: allow callback to break loop
  3700. ... and have it take a proper 'struct connectdata *' as first argument
  3701. - pop3_doing: don't call pop3_dophase_done() if already failed
  3702. ... it also clobbered the 'result' return value so that it wouldn't
  3703. return the error back to the parent function properly, which broke test
  3704. 809 when run with 'multi-always'.
  3705. Yang Tse (23 Dec 2012)
  3706. - test 1503: same as 1502 but with a different cleanup sequence
  3707. - test 1502: OOM handling fixes
  3708. - curl_multi_wait: OOM handling fix
  3709. - [Daniel Stenberg brought this change]
  3710. curl_multi_wait: avoid an unnecessary memory allocation
  3711. - runtests.pl: prepend $srcdir to HTTPTLS server config files path
  3712. - multi.c: OOM handling fix
  3713. - lib543.c: OOM handling fixes
  3714. - configure: add internal sanity check (warn only) on vars for makefiles
  3715. Daniel Stenberg (21 Dec 2012)
  3716. - SCP: relative path didn't work
  3717. When prefixing a path with /~/ it is supposed to be used relative to the
  3718. user's home directory but it didn't work. Now we cut off the entire
  3719. three byte sequenct "/~/" which seems to be how OpenSSH does it.
  3720. Bug: http://curl.haxx.se/bug/view.cgi?id=1173
  3721. Reported by: Balaji Parasuram
  3722. Yang Tse (21 Dec 2012)
  3723. - configure: LIBMETALINK_CFLAGS actually is LIBMETALINK_CPPFLAGS
  3724. - configure: add minimal sanity check on user provided CFLAGS and CPPFLAGS
  3725. - bundles connection caching: some out of memory handling fixes
  3726. - libntlmconnect.c: fix compiler warnings and OOM handling
  3727. - configure.ac: clear local test intended variables before use
  3728. - VC6 IDE: link with advapi32.lib when using WIN32 crypto API (md5.c)
  3729. - curl-functions.m4: improve gethostname arg 2 data type check
  3730. - setup_once.h: HP-UX specific 'bool', 'false' and 'true' definitions.
  3731. Also reverts commit f254c59dc7
  3732. - configure: check if compiler halts on function prototype mismatch
  3733. - warnless.c: fix compiler warnings
  3734. - curl-functions.m4: add gethostname arg 2 data type check and definition
  3735. Daniel Stenberg (14 Dec 2012)
  3736. - [Nick Zitzmann brought this change]
  3737. darwinssl: Fix implicit conversion compiler warnings
  3738. The Clang compiler found a few implicit conversion problems that have
  3739. now been fixed.
  3740. Yang Tse (14 Dec 2012)
  3741. - setup_once.h: HP-UX <sys/socket.h> issue workaround
  3742. Issue: When building a 32bit target with large file support HP-UX
  3743. <sys/socket.h> header file may simultaneously provide two different
  3744. sets of declarations for sendfile and sendpath functions, one with
  3745. static and another with external linkage. Given that we do not use
  3746. mentioned functions we really don't care which linkage is the
  3747. appropriate one, but on the other hand, the double declaration emmits
  3748. warnings when using the HP-UX compiler and errors when using modern
  3749. gcc versions resulting in fatal compilation errors.
  3750. Mentioned issue is now fixed as long as we don't use sendfile nor
  3751. sendpath functions.
  3752. - setup_once.h: refactor inclusion of <unistd.h> and <sys/socket.h>
  3753. Inclusion of top two most included header files now done in setup_once.h
  3754. - setup_once.h: HP-UX specific TRUE and FALSE definitions
  3755. Some HP-UX system headers require TRUE defined to 1 and FALSE to 0.
  3756. Daniel Stenberg (12 Dec 2012)
  3757. - gopher: #include cleanup
  3758. Remove all system file includes from this file as they're not needed
  3759. Reported by: Dan Fandrich
  3760. Yang Tse (11 Dec 2012)
  3761. - examples/simplessl.c: fix compiler warning
  3762. - examples/externalsocket.c: fix SunPro compilation issue
  3763. - examples/simplessl.c: fix compiler warning
  3764. - build: add bundles and conncache files to other build systems
  3765. - conncache: fix enumerated type mixed with another type
  3766. - examples/anyauthput.c: fix Tru64 compilation issue
  3767. Daniel Stenberg (8 Dec 2012)
  3768. - [Colin Watson brought this change]
  3769. configure: fix cross pkg-config detection
  3770. When cross-compiling, CURL_CHECK_PKGCONFIG was checking for the cross
  3771. pkg-config using ${host}-pkg-config.
  3772. The gold standard for doing this correctly is pkg-config's own macro,
  3773. PKG_PROG_PKG_CONFIG. However, on the assumption that you have a good
  3774. reason not to use that directly (reduced dependencies for maintainer
  3775. builds?), the behaviour of cURL's version should at least match.
  3776. PKG_PROG_PKG_CONFIG uses AC_PATH_TOOL, which ultimately ends up trying
  3777. ${host_alias}-pkg-config; this is not quite the same as what cURL does,
  3778. and may differ because ${host} has been run through config.sub. For
  3779. instance, when cross-building to the armhf architecture on Ubuntu,
  3780. ${host_alias} is arm-linux-gnueabihf while ${host} is
  3781. arm-unknown-linux-gnueabihf. This may also have been the cause of the
  3782. problem reported at http://curl.haxx.se/mail/lib-2012-04/0224.html.
  3783. AC_PATH_TOOL is significantly simpler than cURL's current code, and
  3784. dates back to well before the current minimum of Autoconf 2.57, so let's
  3785. use it instead.
  3786. - [Linus Nielsen Feltzing brought this change]
  3787. Introducing a new persistent connection caching system using "bundles".
  3788. A bundle is a list of all persistent connections to the same host.
  3789. The connection cache consists of a hash of bundles, with the
  3790. hostname as the key.
  3791. The benefits may not be obvious, but they are two:
  3792. 1) Faster search for connections to reuse, since the hash
  3793. lookup only finds connections to the host in question.
  3794. 2) It lays out the groundworks for an upcoming patch,
  3795. which will introduce multiple HTTP pipelines.
  3796. This patch also removes the awkward list of "closure handles",
  3797. which were needed to send QUIT commands to the FTP server
  3798. when closing a connection.
  3799. Now we allocate a separate closure handle and use that
  3800. one to close all connections.
  3801. This has been tested in a live system for a few weeks, and of
  3802. course passes the test suite.
  3803. - [Fabian Keil brought this change]
  3804. runtests and friends: Do not add undefined values to @INC
  3805. On FreeBSD this fixes the warning:
  3806. Use of uninitialized value $p in string eq at /usr/local/lib/perl5/5.14.2/BSDPAN/BSDPAN.pm line 36.
  3807. Steve Holme (5 Dec 2012)
  3808. - Merge pull request #52 from isn-/master
  3809. small compilation fix