~ubuntu-branches/ubuntu/saucy/curl/saucy-201307251546

« back to all changes in this revision

Viewing changes to CHANGES

  • Committer: Package Import Robot
  • Author(s): Alessandro Ghedini
  • Date: 2012-03-23 16:24:51 UTC
  • mto: (3.6.1 experimental) (1.3.1)
  • mto: This revision was merged to the branch mainline in revision 59.
  • Revision ID: package-import@ubuntu.com-20120323162451-z4gstlabjkgnrh7h
Tags: upstream-7.25.0
Import upstream version 7.25.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
 
7
7
                                  Changelog
8
8
 
 
9
Version 7.25.0 (22 Mar 2012)
 
10
 
 
11
Daniel Stenberg (22 Mar 2012)
 
12
- RELEASE-NOTES: synced with b8b2cf612b2
 
13
 
 
14
Yang Tse (22 Mar 2012)
 
15
- tests #1400 #1401: add missing keywords
 
16
 
 
17
- http_proxy.h: fix builds with proxy or http disabled
 
18
 
 
19
- parsedate.c: fix a numeric overflow
 
20
 
 
21
Daniel Stenberg (22 Mar 2012)
 
22
- [Andrei Cipu brought this change]
 
23
 
 
24
  cookies: strip the numerical ipv6 host properly
 
25
  
 
26
  The commit e650dbde86d4 that stripped off [brackets] from ipv6-only host
 
27
  headers for the sake of cookie parsing wrongly incremented the host
 
28
  pointer which would cause a bad free() call later on.
 
29
 
 
30
Yang Tse (22 Mar 2012)
 
31
- test #598: add to Makefile.am
 
32
 
 
33
- test #598: OOM handling fixes
 
34
 
 
35
- fix several compiler warnings
 
36
 
 
37
Daniel Stenberg (22 Mar 2012)
 
38
- CONNECT: fix multi interface regression
 
39
  
 
40
  The refactoring of HTTP CONNECT handling in commit 41b0237834232 that
 
41
  made it protocol independent broke it for the multi interface. This fix
 
42
  now introduce a better state handling and moved some logic to the
 
43
  http_proxy.c source file.
 
44
  
 
45
  Reported by: Yang Tse
 
46
  Bug: http://curl.haxx.se/mail/lib-2012-03/0162.html
 
47
 
 
48
- SWS: refuse to serve CONNECT unless running as proxy
 
49
 
 
50
Yang Tse (21 Mar 2012)
 
51
- curl-functions.m4: update detection logic of getaddrinfo() thread-safeness
 
52
  
 
53
  Take in account that POSIX standard Issue 7 drops h_errno support. Now, we also
 
54
  consider getaddrinfo() to be thread-safe when (_POSIX_C_SOURCE >= 200809L) or
 
55
  (_XOPEN_SOURCE >= 700) independently of whether h_errno exists or not.
 
56
 
 
57
- fix several compiler warnings
 
58
 
 
59
- tests 140X: fix --libcurl generated source file reading mode for MSYS builds
 
60
 
 
61
- tool_easysrc.c: fix --libcurl option output file text translation mode
 
62
  
 
63
  Use fopen() with "w" mode instead of "wt" to fix cygwin builds.
 
64
 
 
65
- build: remove tool_cb_skt.[ch] references
 
66
 
 
67
Daniel Stenberg (18 Mar 2012)
 
68
- RELEASE-NOTES: synced with ad77420ac761b
 
69
  
 
70
  3 more bugs, 1 more contributor
 
71
 
 
72
- lwip: basic checks and macros for compatiblity
 
73
 
 
74
Yang Tse (17 Mar 2012)
 
75
- tool_setopt.c: more OOM handling fixes
 
76
 
 
77
Daniel Stenberg (16 Mar 2012)
 
78
- cmake: list_spaces_append_once fails with spaces in filename
 
79
  
 
80
  Windows standard libraries are located in C:/Program Files/Microsoft
 
81
  SDKs/[...]. They are already included in the default MSVC
 
82
  LIBPATH. Hence, find_library(WSOCK32_LIBRARY wsock32) and
 
83
  find_library(WS2_32_LIBRARY ws2_32) are not needed. They return the full
 
84
  path to the libraries including spaces. Of course,
 
85
  list_spaces_append_once will mangle the result and the build fails.
 
86
  
 
87
  Bug: http://curl.haxx.se/bug/view.cgi?id=3494968
 
88
 
 
89
Yang Tse (16 Mar 2012)
 
90
- http_proxy.c: fix OOM handling
 
91
 
 
92
- tool_setopt.c: fix OOM handling
 
93
 
 
94
- fix several compiler warnings
 
95
 
 
96
- fix some compiler warnings
 
97
 
 
98
Daniel Stenberg (13 Mar 2012)
 
99
- [Maxim Prohorov brought this change]
 
100
 
 
101
  resolve with c-ares: don't resolve IPv6 when not working
 
102
  
 
103
  If the Curl_ipv6works() function says no, there is no reason to try AAAA
 
104
  names even if libcurl was built with IPv6 support enabled.
 
105
  
 
106
  Bug: http://curl.haxx.se/mail/lib-2012-03/0045.html
 
107
 
 
108
unknown (10 Mar 2012)
 
109
- [Steve Holme brought this change]
 
110
 
 
111
  smtp.c: Changed the curl error code for EHLO and HELO responses
 
112
  
 
113
  Changed the returned curl error codes for EHLO and HELO responses from
 
114
  CURLE_LOGIN_DENIED to CURLE_REMOTE_ACCESS_DENIED as a negative response
 
115
  from these commands represents no service as opposed to a login error.
 
116
 
 
117
Daniel Stenberg (10 Mar 2012)
 
118
- RELEASE-NOTES: synced with e650dbde86
 
119
  
 
120
  New: 12 bugs, 3 changes, 6 contributors and updated counters at the top
 
121
 
 
122
- [Andrei Cipu brought this change]
 
123
 
 
124
  Curl_http: strip off [brackets] from ipv6-only host headers
 
125
  
 
126
  Since the host name is passed in to the cookie engine it will not work
 
127
  correctly if the brackets are left in the name.
 
128
  
 
129
  Bug:http://curl.haxx.se/mail/lib-2012-03/0036.html
 
130
 
 
131
- [Armel Asselin brought this change]
 
132
 
 
133
  CURLSSH_OPT_AUTH: documented it has no effect
 
134
 
 
135
- [John Joseph Bachir brought this change]
 
136
 
 
137
  mk-ca-bundle.pl: use LWP::UserAgent with proper https verify behavior.
 
138
  
 
139
  An alternative would be:
 
140
  
 
141
  1. specify HTTPS_CA_DIR and/or HTTPS_CA_FILE
 
142
  2. ensure that Net::SSL is being used, and IO::Socket::SSL is NOT being
 
143
     used
 
144
  
 
145
  This question and answer explain:
 
146
  http://stackoverflow.com/questions/74358/
 
147
 
 
148
- [John Joseph Bachir brought this change]
 
149
 
 
150
  access the CA source file using HTTPS
 
151
 
 
152
- includes: remove inclusion of unused file http_proxy.h
 
153
 
 
154
- CONNECT: made generically not per-protocol
 
155
  
 
156
  Curl_protocol_connect() now does the tunneling through the HTTP proxy if
 
157
  requested instead of letting each protocol specific connection function
 
158
  do it.
 
159
 
 
160
- ssh_connect: tunnel through HTTP proxy if requested
 
161
 
 
162
- LWIP: don't consider HAVE_ERRNO_H to be winsock
 
163
  
 
164
  The check for Winsock definition was a bit too broad
 
165
  
 
166
  Bug: http://curl.haxx.se/mail/lib-2012-03/0046.html
 
167
 
 
168
- [Dave Reisner brought this change]
 
169
 
 
170
  curl-config: only provide libraries with --libs
 
171
  
 
172
  In line with the manpage, curl-config --libs should only provide the necessary
 
173
  library flags for the linker in order to compile software with libcurl. Also
 
174
  with this change, we match what the pkg-config file provides.
 
175
 
 
176
- CONTRIB: Please don't send pull requests
 
177
 
 
178
- libcurl docs: version corrections
 
179
  
 
180
  Correct some inconsistencies in which version some things were added.
 
181
  
 
182
  Bug: http://curl.haxx.se/bug/view.cgi?id=3494091
 
183
  Reported by: "curlybugs"
 
184
 
 
185
- CONNECT: fix ipv6 address in the Request-Line
 
186
  
 
187
  Commit 466150bc64d fixed the Host: header with CONNECT, but I then
 
188
  forgot the preceeding request-line. Now this too uses [brackets]
 
189
  properly if a ipv6 numerical address was given.
 
190
  
 
191
  Bug: http://curl.haxx.se/bug/view.cgi?id=3493129
 
192
  Reported by: "Blacat"
 
193
 
 
194
- [Steve Holme brought this change]
 
195
 
 
196
  SMTP: Added support for returning SMTP response codes
 
197
  
 
198
  Set the conn->data->info.httpcode variable in smtp_statemach_act() to
 
199
  allow Curl_getinfo() to return the SMTP response code via the
 
200
  CURLINFO_RESPONSE_CODE action.
 
201
 
 
202
- curl.1: updated --libcurl
 
203
  
 
204
  With Colin Hogben's recent work, --libcurl now also works with -F and
 
205
  more. Remove the previous caveat.
 
206
 
 
207
- test: --libcurl fixes
 
208
  
 
209
  The line endings broke when I saved the three recent patches (my fault,
 
210
  not Colin's) to 'git am' them.
 
211
  
 
212
  Adjusted the stripping of the test program for comparing to also exclude
 
213
  the SSH key file name as that will differ and use a local path name.
 
214
 
 
215
- [Colin Hogben brought this change]
 
216
 
 
217
  Add helper script convsrctest.pl to manipulate --libcurl tests.
 
218
  
 
219
  The intention is to take the output of curl's --libcurl option,
 
220
  as exercised in test 14xx, and generate a corresponding test15xx
 
221
  in which the generated code is compiled and run.  This will verify
 
222
  that the generated code behaves equivalently to the original
 
223
  invocation of the curl command.
 
224
  
 
225
  The script is not yet integrated into the configure / makefile
 
226
  machinery.
 
227
 
 
228
- [Colin Hogben brought this change]
 
229
 
 
230
  Add tests for curl's --libcurl output.
 
231
  
 
232
  These tests check the output of the --libcurl option of curl,
 
233
  including the improved option handling added in a related patch.
 
234
 
 
235
- [Colin Hogben brought this change]
 
236
 
 
237
  Generate lists and use symbols in --libcurl code output.
 
238
  
 
239
  This patch improves the output of curl's --libcurl option by
 
240
  generating code which builds curl_httppost and curl_slist lists, and
 
241
  uses symbolic names for enum and flag values.  Variants of the
 
242
  my_setopt macro in tool_setopt.h are added in order to pass extra type
 
243
  information to the code-generation step in tool_setopt.c.
 
244
  
 
245
  If curl is configured with --disable-libcurl-option then the macros
 
246
  call curl_easy_setopt directly.
 
247
 
 
248
- [Steve Holme brought this change]
 
249
 
 
250
  smtp.c: Fixed an issue with writing postdata
 
251
  
 
252
  Fixed a problem in smtp_done() when writing out the postdata as
 
253
  Curl_write() would periodically return zero bytes written.
 
254
 
 
255
- CURLOPT_MAIL_AUTH: added in 7.25.0
 
256
  
 
257
  Brought in commit 0cf0ab6f300
 
258
 
 
259
- pop3 test server: send terminating ".CRLF" only
 
260
  
 
261
  With commit 035ef06bda7 applied, the test pop3 server needs to send
 
262
  ".\r\n" as the body terminating sequence and there needs to be a final
 
263
  CRLF in the actual body in the test data file.
 
264
 
 
265
- [Steve Holme brought this change]
 
266
 
 
267
  pop3.c: Fixed drop of final CRLF in EOB checking
 
268
  
 
269
  Curl_pop3_write() would drop the final CRLF of a message as it was
 
270
  considered part of the EOB as opposed to part of the message. Whilst
 
271
  the EOB sequence needs to be searched for by the function only the
 
272
  final 3 characters should be removed as per RFC-1939 section 3.
 
273
  
 
274
  Reported by: Rich Gray
 
275
  Bug: http://curl.haxx.se/mail/lib-2012-02/0051.html
 
276
 
 
277
- [Steve Holme brought this change]
 
278
 
 
279
  smtp.c: Fixed an issue with the EOB checking
 
280
  
 
281
  Curl_smtp_escape_eob() would leave off final CRLFs from emails ending
 
282
  in multiple blank lines additionally leaving the smtpc->eob variable
 
283
  with the character count in, which would cause problems for additional
 
284
  emails when sent through multiple calls to curl_easy_perform() after a
 
285
  CURLOPT_CONNECT_ONLY.
 
286
 
 
287
- CURLE_FTP_PRET_FAILED: listed twice
 
288
  
 
289
  Make sure it is mentioned once and with the correct description
 
290
 
 
291
- --mail-auth documented
 
292
 
 
293
- [Steve Holme brought this change]
 
294
 
 
295
  SMTP: Code policing and tidy up
 
296
 
 
297
- [Steve Holme brought this change]
 
298
 
 
299
  curl: Added support for --mail-auth
 
300
  
 
301
  Added an extra command-line argument to support the optional AUTH
 
302
  parameter in SMTPs MAIL FROM command.
 
303
 
 
304
Kamil Dudka (16 Feb 2012)
 
305
- docs: mention that NTLM works with NSS, too
 
306
 
 
307
Daniel Stenberg (15 Feb 2012)
 
308
- [Steve Holme brought this change]
 
309
 
 
310
  DOCS: Added information for CURLOPT_MAIL_AUTH.
 
311
  
 
312
  Added information relating to the new CURLOPT_MAIL_AUTH parameter and
 
313
  reworked CURLOPT_MAIL_FROM and CURLOPT_MAIL_RCPT to be a clearer.
 
314
  
 
315
  Fixed inconsistencies of "vocalisation of the abbreviation" versus
 
316
  "vocalisation of the first word" for all abbreviations.
 
317
  
 
318
  Corrected a typo in CURLOPT_NOPROXY.
 
319
 
 
320
- [Steve Holme brought this change]
 
321
 
 
322
  smtp.c: Fixed use of angled brackets in AUTH parameter.
 
323
  
 
324
  Fixed the use of angled brackets "<>" in the optional AUTH parameter as
 
325
  per RFC-2554 section 5. The address should not include them but an
 
326
  empty address should be replaced by them.
 
327
 
 
328
- [Steve Holme brought this change]
 
329
 
 
330
  smtp_mail: Added support to MAIL FROM for the optional AUTH parameter
 
331
  
 
332
  Added a new CURLOPT_MAIL_AUTH option that allows the calling program to
 
333
  set the optional AUTH parameter in the MAIL FROM command.
 
334
  
 
335
  When this option is specified and an authentication mechanism is used
 
336
  to communicate with the mail server then the AUTH parameter will be
 
337
  included in the MAIL FROM command. This is particularly useful when the
 
338
  calling program is acting as a relay in a trusted environment and
 
339
  performing server to server communication, as it allows the relaying
 
340
  server to specify the address of the mailbox that was used to
 
341
  authenticate and send the original email.
 
342
 
 
343
- [toddouska brought this change]
 
344
 
 
345
  cyassl: update to CyaSSL 2.0.x API
 
346
  
 
347
  Modify configure.ac to test for new CyaSSL Init function and remove
 
348
  default install path to system.  Change to CyaSSL OpenSSL header and
 
349
  proper Init in code as well.
 
350
  
 
351
  Note that this no longer detects or works with CyaSSL before v2
 
352
 
 
353
- LIBCURL_VERSION_NUM: 0x071900
 
354
  
 
355
  I accidentally left the lowest bits 01 before
 
356
 
 
357
- [Steve Holme brought this change]
 
358
 
 
359
  SMTP: Fixed error when using CURLOPT_CONNECT_ONLY
 
360
  
 
361
  Fixed incorrect behavior in smtp_done() which would cause the end of
 
362
  block data to be sent to the SMTP server if libcurl was operating in
 
363
  connect only mode. This would cause the server to return an error as
 
364
  data would not be expected which in turn caused libcurl to return
 
365
  CURLE_RECV_ERROR.
 
366
 
 
367
- s/7.24.1/7.25.0
 
368
  
 
369
  We will go straight to 7.25.0 due to the new additions
 
370
 
 
371
- curlver.h: bumped to 7.25.0
 
372
  
 
373
  and updated the end year in the generic copyright string
 
374
 
 
375
- RELEASE-NOTES: synced with 2b26eb985
 
376
  
 
377
  9 bug fixes, 4 changes and numerous contributors
 
378
  
 
379
  Bumped release version and option counters
 
380
 
 
381
- [Colin Hogben brought this change]
 
382
 
 
383
  configure: add option disable --libcurl output
 
384
 
 
385
- [Alessandro Ghedini brought this change]
 
386
 
 
387
  curl tool: allow negative numbers as option values
 
388
  
 
389
  Fix the str2num() function to not check if the input string starts with a
 
390
  digit, since strtol() supports numbers prepended with '-' (and '+') too.
 
391
  This makes the --max-redirs option work as documented.
 
392
 
 
393
- parse_proxy: simply memory handling
 
394
  
 
395
  ... by making sure that the string is always freed after the invoke as
 
396
  parse_proxy will always copy the data and this way there's a single
 
397
  free() instead of multiple ones.
 
398
 
 
399
- parse_proxy: bail out on zero-length proxy names!
 
400
  
 
401
  The proxy parser function strips off trailing slashes off the proxy name
 
402
  which could lead to a mistaken zero length proxy name which would be
 
403
  treated as no proxy at all by subsequent functions!
 
404
  
 
405
  This is now detected and an error is returned. Verified by the new test
 
406
  1329.
 
407
  
 
408
  Reported by: Chandrakant Bagul
 
409
  Bug: http://curl.haxx.se/mail/lib-2012-02/0000.html
 
410
 
 
411
Kamil Dudka (9 Feb 2012)
 
412
- nss: add support for the CURLSSLOPT_ALLOW_BEAST option
 
413
  
 
414
  ... and fix some typos from the 62d15f1 commit.
 
415
 
 
416
Daniel Stenberg (9 Feb 2012)
 
417
- [Rob Ward brought this change]
 
418
 
 
419
  configure: don't modify LD_LIBRARY_PATH for cross compiles
 
420
 
 
421
- --ssl-allow-beast added
 
422
  
 
423
  This new option tells curl to not work around a security flaw in the
 
424
  SSL3 and TLS1.0 protocols. It uses the new libcurl option
 
425
  CURLOPT_SSL_OPTIONS with the CURLSSLOPT_ALLOW_BEAST bit set.
 
426
 
 
427
- CURLOPT_SSL_OPTIONS: added
 
428
  
 
429
  Allow an appliction to set libcurl specific SSL options. The first and
 
430
  only options supported right now is CURLSSLOPT_ALLOW_BEAST.
 
431
  
 
432
  It will make libcurl to disable any work-arounds the underlying SSL
 
433
  library may have to address a known security flaw in the SSL3 and TLS1.0
 
434
  protocol versions.
 
435
  
 
436
  This is a reaction to us unconditionally removing that behavior after
 
437
  this security advisory:
 
438
  
 
439
  http://curl.haxx.se/docs/adv_20120124B.html
 
440
  
 
441
  ... it did however cause a lot of programs to fail because of old
 
442
  servers not liking this work-around. Now programs can opt to decrease
 
443
  the security in order to interoperate with old servers better.
 
444
 
 
445
- [Dave Reisner brought this change]
 
446
 
 
447
  curl: use new library-side TCP_KEEPALIVE options
 
448
  
 
449
  Use the new library CURLOPT_TCP_KEEPALIVE rather than disabling this via
 
450
  the sockopt callback. If --keepalive-time is used, apply the value to
 
451
  CURLOPT_TCP_KEEPIDLE and CURLOPT_TCP_KEEPINTVL.
 
452
 
 
453
- [Dave Reisner brought this change]
 
454
 
 
455
  add library support for tuning TCP_KEEPALIVE
 
456
  
 
457
  This adds three new options to control the behavior of TCP keepalives:
 
458
  
 
459
  - CURLOPT_TCP_KEEPALIVE: enable/disable probes
 
460
  - CURLOPT_TCP_KEEPIDLE: idle time before sending first probe
 
461
  - CURLOPT_TCP_KEEPINTVL: delay between successive probes
 
462
  
 
463
  While not all operating systems support the TCP_KEEPIDLE and
 
464
  TCP_KEEPINTVL knobs, the library will still allow these options to be
 
465
  set by clients, silently ignoring the values.
 
466
 
 
467
- curl_easy_reset: reset the referer string
 
468
  
 
469
  When CURLOPT_REFERER has been used, curl_easy_reset() did not properly
 
470
  clear it.
 
471
  
 
472
  Verified with the new test 598
 
473
  
 
474
  Bug: http://curl.haxx.se/bug/view.cgi?id=3481551
 
475
  Reported by: Michael Day
 
476
 
 
477
Yang Tse (7 Feb 2012)
 
478
- curl tool: allow glob-loops to abort again upon critical errors
 
479
  
 
480
  This prevents clobbering of non recoverable error return codes while
 
481
  retaining intended functionality of commit 65103efe
 
482
 
 
483
Daniel Stenberg (6 Feb 2012)
 
484
- curl tool: don't abort glob-loop due to failures
 
485
  
 
486
  We want to continue to the next URL to try even on failures returned
 
487
  from libcurl. This makes -f with ranges still get subsequent URLs even
 
488
  if occasional ones return error. This was a regression as it used to
 
489
  work and broke in the 7.23.0 release.
 
490
  
 
491
  Added test case 1328 to verify the fix.
 
492
  
 
493
  Bug: http://curl.haxx.se/bug/view.cgi?id=3481223
 
494
  Reported by: Juan Barreto
 
495
 
 
496
- CONNECT: send correct Host: with IPv6 numerical address
 
497
  
 
498
  When the target host was given as a IPv6 numerical address, it was not
 
499
  properly put within square brackets for the Host: header in the CONNECT
 
500
  request. The "normal" request did fine.
 
501
  
 
502
  Reported by: "zooloo"
 
503
  Bug: http://curl.haxx.se/bug/view.cgi?id=3482093
 
504
 
 
505
- [Martin Storsjo brought this change]
 
506
 
 
507
  Explicitly link to the nettle/gcrypt libraries
 
508
  
 
509
  When support for nettle was added in 64f328c787ab, I overlooked
 
510
  the fact that AC_CHECK_LIB doesn't add the tested lib to LIBS
 
511
  if the check succeeded, if a custom success code block was present.
 
512
  (The previous version of the check had an empty block for
 
513
  successful checks, adding the lib to LIBS implicitly.)
 
514
  
 
515
  Therefore, explicitly add either nettle or gcrypt to LIBS, after
 
516
  deciding which one to use. Even if they can be linked in
 
517
  transitively, it is safer to actually link explicitly to them.
 
518
  
 
519
  This fixes building with gnutls with linkers that don't allow
 
520
  linking transitively, such as for windows.
 
521
 
 
522
- [Pierre Ynard brought this change]
 
523
 
 
524
  more resilient connection times among IP addresses
 
525
  
 
526
  When connecting to a domain with multiple IP addresses, allow different,
 
527
  decreasing connection timeout values. This should guarantee some
 
528
  connections attempts with sufficiently long timeouts, while still
 
529
  providing fallback.
 
530
 
 
531
- [Pierre Ynard brought this change]
 
532
 
 
533
  remove write-only variable
 
534
 
 
535
Pierre Joye (26 Jan 2012)
 
536
- Merge branch 'master' of github.com:bagder/curl
 
537
 
 
538
- - fix IPV6 and IDN options
 
539
 
 
540
Yang Tse (25 Jan 2012)
 
541
- TODO-RELEASE: added item #308
 
542
 
 
543
Daniel Stenberg (25 Jan 2012)
 
544
- THANKS: imported contributors from 7.24.0 RELEASE-NOTES
 
545
 
 
546
Yang Tse (25 Jan 2012)
 
547
- test harness: update stunnel.pem Diffie-Hellman parameters from 512 to 1024 bit
 
548
 
 
549
- version: start working on 7.24.1-DEV
 
550
 
 
551
Dan Fandrich (24 Jan 2012)
 
552
- curl_easy_setopt.3: Fixed SEEKDATA & CLOSESOCKETDATA descriptions
 
553
 
9
554
Version 7.24.0 (24 Jan 2012)
10
555
 
11
556
Daniel Stenberg (24 Jan 2012)
4742
5287
- Don't list NTLM in curl-config when HTTP is disabled
4743
5288
  
4744
5289
  Also, fixed Curl_proxyCONNECT() stub with HTTP disabled.
4745
 
 
4746
 
- Fixed compatibility macro CURLE_URL_MALFORMAT_USER
4747
 
 
4748
 
Daniel Stenberg (5 Apr 2011)
4749
 
- return code cleanup: build, init and run-time errors
4750
 
  
4751
 
  Stop the abuse of CURLE_FAILED_INIT as return code for things not being
4752
 
  init related by introducing two new return codes:
4753
 
  
4754
 
  CURLE_NOT_BUILT_IN and CURLE_UNKNOWN_OPTION
4755
 
  
4756
 
  CURLE_NOT_BUILT_IN replaces return code 4 that has been obsoleted for
4757
 
  several years. It is used for returning error when something is
4758
 
  attempted to be used but the feature/option was not enabled or
4759
 
  explictitly disabled at build-time. Getting this error mostly means that
4760
 
  libcurl needs to be rebuilt.
4761
 
  
4762
 
  CURLE_FAILED_INIT is now saved and used strictly for init
4763
 
  failures. Getting this problem means something went seriously wrong,
4764
 
  like a resource shortage or similar.
4765
 
  
4766
 
  CURLE_UNKNOWN_OPTION is the option formerly known as
4767
 
  CURLE_UNKNOWN_TELNET_OPTION (and the old name is still present,
4768
 
  separately defined to be removed in a very distant future). This error
4769
 
  code is meant to be used to return when an option is given to libcurl
4770
 
  that isn't known. This problem would mostly indicate a problem in the
4771
 
  program that uses libcurl.
4772
 
 
4773
 
- FTP+proxy: macrofied functions when proxy disabled
4774
 
  
4775
 
  In my attempts to reduce #ifdefs in code, the SOCKS functions are now
4776
 
  macros when libcurl is built without proxy support and therefore the FTP
4777
 
  code could avoid some #ifs.
4778
 
 
4779
 
- RELEASE-NOTES: synced with db59b6202d8
4780
 
 
4781
 
- [Ben Noordhuis brought this change]
4782
 
 
4783
 
  [pop3 starttls] PASS command was not sent after upgrade to TLS.
4784
 
 
4785
 
- [Ben Noordhuis brought this change]
4786
 
 
4787
 
  [pop3 starttls] the command to send is STLS, not STARTTLS.
4788
 
 
4789
 
Dan Fandrich (4 Apr 2011)
4790
 
- Added http_proxy.c to the Symbian build files
4791
 
 
4792
 
Daniel Stenberg (4 Apr 2011)
4793
 
- http-proxy: move proxy code to http_proxy.c
4794
 
  
4795
 
  The new http_proxy.* files now host HTTP proxy specific code (500+ lines
4796
 
  moved out from http.c), and as a consequence there is a macro introduced
4797
 
  for the Curl_proxyCONNECT() function so that code can use it without
4798
 
  actually supporting proxy (or HTTP) in builds.
4799
 
 
4800
 
- disable cookies: remove ifdefs, move code
4801
 
  
4802
 
  1 - make sure to #define macros for cookie functions in the cookie
4803
 
  header when cookies are disabled to avoid having to use #ifdefs in code
4804
 
  using those functions.
4805
 
  
4806
 
  2 - move cookie-specific code to cookie.c and use the functio
4807
 
  conditionally as mentioned in (1).
4808
 
  
4809
 
  net result: 6 #if lines removed, and 9 lines of code less
4810
 
 
4811
 
Kamil Dudka (4 Apr 2011)
4812
 
- nss: fix a crash within SSL_AuthCertificate()
4813
 
  
4814
 
  The bug was introduced in 806dbb0 (a wrong value was passed in as the
4815
 
  first argument to the default callback in our wrapper).
4816
 
 
4817
 
Daniel Stenberg (3 Apr 2011)
4818
 
- multi: shorten lines
4819
 
  
4820
 
  We keep them less than 80 columns
4821
 
 
4822
 
- multi: conn goes bad when data change
4823
 
  
4824
 
  Within multi_socket when conn is used as a shorthand, data could be
4825
 
  changed and multi_runsingle could modify the connectdata struct to deal
4826
 
  with. This bug has not been included in a public release.
4827
 
  
4828
 
  Using 'conn' like that turned out to be ugly. This change is a partial
4829
 
  revert of commit f1c6cd42f474df59.
4830
 
  
4831
 
  Reported by: Miroslav Spousta
4832
 
  Bug: http://curl.haxx.se/bug/view.cgi?id=3265485
4833
 
 
4834
 
Guenter Knauf (1 Apr 2011)
4835
 
- Increased script version.
4836
 
 
4837
 
- Make use of proxy vars if set.
4838
 
  
4839
 
  Posted to the list by Quanah Gibson-Mount [quanah zimbra.com].
4840
 
 
4841
 
- Use var again instead of hard-coded filename.
4842
 
 
4843
 
Daniel Stenberg (29 Mar 2011)
4844
 
- [Gisle Vanem brought this change]
4845
 
 
4846
 
  typo fix
4847
 
 
4848
 
- curl_easy_setopt.3: mention TFTP read callback flaw
4849
 
  
4850
 
  The read callback must return the exact requested amount of data when it
4851
 
  is used for doing TFTP uploads. This is due to how it deals with data
4852
 
  internally. This could/should be fixed but for now we document the
4853
 
  existing behavior.
4854
 
  
4855
 
  Reported by: Colin Blair
4856
 
  Bug: http://curl.haxx.se/mail/lib-2011-03/0319.html
4857
 
 
4858
 
Yang Tse (27 Mar 2011)
4859
 
- configure: fix libtool warning
4860
 
 
4861
 
Daniel Stenberg (25 Mar 2011)
4862
 
- [Peter Sylvester brought this change]
4863
 
 
4864
 
  TSL-SRP: enabled with OpenSSL
4865
 
  
4866
 
  If a new enough OpenSSL version is used, configure detects the TLS-SRP
4867
 
  support and enables it.
4868
 
 
4869
 
- RELEASE-NOTES: synced with 11c2db2aa2a
4870
 
 
4871
 
- fix: re-use of bound connections
4872
 
  
4873
 
  When asked to bind the local end of a connection when doing a request,
4874
 
  the code will now disqualify other existing connections from re-use even
4875
 
  if they are connected to the correct remote host.
4876
 
  
4877
 
  This will also affect which connections that can be used for pipelining,
4878
 
  so that only connections that aren't bound or bound to the same
4879
 
  device/port you're asking for will be considered.
4880
 
 
4881
 
- symbols-in-versions: make test 1119 happy
4882
 
 
4883
 
- rtsp: move protocol code to dedicated file
4884
 
  
4885
 
  The RTSP-specific function for checking for "dead" connection is better
4886
 
  located in rtsp.c. The code using this is now written without #ifdefs as
4887
 
  the function call is instead turned into a macro (in rtsp.h) when RTSP
4888
 
  is disabled.
4889
 
 
4890
 
- MAIL-ETIQUETTE: intro and spam
4891
 
  
4892
 
  Added a little generic info section about the lists and a section about
4893
 
  how to deal with trolls and spam on the lists.
4894
 
 
4895
 
- TODO-RELEASE: 1 fixed, 1 notabug
4896
 
  
4897
 
  Fixed:
4898
 
  
4899
 
  271 - fix the IPv6-working probing to only exist at one place in the code and
4900
 
        only get done once
4901
 
  
4902
 
  A problem not repeatable and no proper recipe given and therefore simply
4903
 
  removed for now until we hear something else:
4904
 
  
4905
 
  282 - 100 Continue responses should return the "final" HTTP response code:
4906
 
        "Getting the HTTP response code following a 100 Continue"
4907
 
 
4908
 
- ipv6: only probe once
4909
 
  
4910
 
  Move ipv6-functional-probe into a single function that is used from all
4911
 
  places that need to know.
4912
 
  
4913
 
  Make the probe function store the result in a static variable so that
4914
 
  subsequent invokes just returns the previous result and won't have to
4915
 
  probe again.
4916
 
 
4917
 
- headers: more copyright headers added
4918
 
 
4919
 
- MAIL-ETIQUETTE: how to behave
4920
 
  
4921
 
  This is a new documentation for the source tree. This information has
4922
 
  been present since a long time at
4923
 
  http://curl.haxx.se/mail/etiquette.html but now it is put into a plain
4924
 
  text version too for wider distribution. The web version will be
4925
 
  automatically generated from this source document.
4926
 
 
4927
 
Julien Chaffraix (21 Mar 2011)
4928
 
- progress: don't print the last update on a separate line.
4929
 
  
4930
 
  Curl_posttransfer is called too soon to add the final new line.
4931
 
  Moved the new line logic to pgrsDone as there is no more call to
4932
 
  update the progress status after this call.
4933
 
  
4934
 
  Reported by: Dmitri Shubin <sbn_at_tbricks.com>
4935
 
  http://curl.haxx.se/mail/lib-2010-12/0162.html
4936
 
 
4937
 
Daniel Stenberg (21 Mar 2011)
4938
 
- TODO-RELEASE: fixed 2, got 3 new!
4939
 
 
4940
 
- [Dave Reisner brought this change]
4941
 
 
4942
 
  libcurl.m4: Add missing quotes in AC_LINK_IFELSE
4943
 
  
4944
 
  This avoids warnings generated by autoconf 2.68.
4945
 
  
4946
 
  Signed-off-by: Dave Reisner <d@falconindy.com>
4947
 
 
4948
 
- retry-request: rewind if data was sent
4949
 
  
4950
 
  When libcurl sends a HTTP request on a re-used connection and detects it
4951
 
  being closed (ie no data at all was read from it), it is important to
4952
 
  rewind if any data in the request was sent using the read callback or
4953
 
  was read from file, as otherwise the retried request will be broken.
4954
 
  
4955
 
  Reported by: Chris Smowton
4956
 
  Bug: http://curl.haxx.se/bug/view.cgi?id=3195205
4957
 
 
4958
 
- configure: avoid $VERSION
4959
 
  
4960
 
  To reduce the risk of variable name conflicts, use CURLVERSION instead
4961
 
  of VERSION.
4962
 
 
4963
 
- symbols-in-versions: many corrections
4964
 
  
4965
 
  Scanned with a tool that checked for mistakes and this is the subsequent
4966
 
  cleanup.
4967
 
 
4968
 
Julien Chaffraix (20 Mar 2011)
4969
 
- unit1305: Fixed the test to match our coding style.
4970
 
 
4971
 
- url: 0 is PROTOPT_NONE.
4972
 
  
4973
 
  Tiny tweak after Daniel's refactoring of the protocol handlers.
4974
 
 
4975
 
Daniel Stenberg (19 Mar 2011)
4976
 
- pop3: add state name in debug array
4977
 
  
4978
 
  We have an array with the state names only built and used when built
4979
 
  debug enabled and this need to list all the states from the .h
4980
 
 
4981
 
Dan Fandrich (18 Mar 2011)
4982
 
- Added two more POP3 tests
4983
 
 
4984
 
- pop3: use Curl_safefree() to allow torture tests to succeed
4985
 
 
4986
 
Daniel Stenberg (18 Mar 2011)
4987
 
- symbol-scan.pl: detect duplicates
4988
 
  
4989
 
  Test 1119 now also makes sure that symbols-in-versions doesn't contain
4990
 
  any duplicates
4991
 
 
4992
 
- CONTRIBUTE: minor edits
4993
 
  
4994
 
  Slightly modified to become a nicer web page when converted for the site
4995
 
 
4996
 
- RELEASE-NOTES: synced with 0c05ee3a33d4d7
4997
 
 
4998
 
- pop3: remove unused variable
4999
 
 
5000
 
Dan Fandrich (17 Mar 2011)
5001
 
- Added support for LISTing a single POP3 message
5002
 
  
5003
 
  Added tests for a number of POP3 LIST operations, including one
5004
 
  that shows a curl problem when listing no messages, so is
5005
 
  disabled.
5006
 
 
5007
 
- pop3: fixed memory leak in an error retrieval case
5008
 
 
5009
 
Daniel Stenberg (17 Mar 2011)
5010
 
- symbols-in-versions: remove duplicates
5011
 
 
5012
 
- symbols-in-versions: 2 corrections
5013
 
  
5014
 
  CURLE_CHUNK_FAILED and CURLE_FTP_BAD_FILE_LIST were introduced in
5015
 
  7.21.0, not 7.20.1
5016
 
 
5017
 
- connection setup: if HTTP is disabled asking for HTTP proxy is bad
5018
 
 
5019
 
- FAQ: better english
5020
 
  
5021
 
  Reported by: Andre Guibert de Bruet
5022
 
 
5023
 
- scan-build warning
5024
 
  
5025
 
  Value stored to 'len' is never read
5026
 
 
5027
 
- ldap_recv: check return code from ldap_get_dn_ber
5028
 
 
5029
 
- compiler warnings fixed
5030
 
  
5031
 
  Use (void)[variable] to inhibit unused argument/variables warnings.
5032
 
 
5033
 
- [Ben Noordhuis brought this change]
5034
 
 
5035
 
  SMTP-multi: non-blocking connect
5036
 
  
5037
 
  Use Curl_ssl_connect_nonblocking() when upgrading the connection to
5038
 
  TLS/SSL while using the multi interface.
5039
 
 
5040
 
- [Ben Noordhuis brought this change]
5041
 
 
5042
 
  SMTP in multi mode: use Curl_ssl_connect_nonblocking() when connecting.
5043
 
 
5044
 
- lib582: use curl_socket_t for portability
5045
 
 
5046
 
- buildfix: spell define correctly
5047
 
 
5048
 
Kamil Dudka (15 Mar 2011)
5049
 
- nss: do not ignore value of CURLOPT_SSL_VERIFYPEER
5050
 
  
5051
 
  When NSS-powered libcurl connected to a SSL server with
5052
 
  CURLOPT_SSL_VERIFYPEER equal to zero, NSS remembered that the peer
5053
 
  certificate was accepted by libcurl and did not ask the second time when
5054
 
  connecting to the same server with CURLOPT_SSL_VERIFYPEER equal to one.
5055
 
  
5056
 
  This patch turns off the SSL session cache for the particular SSL socket
5057
 
  if peer verification is disabled.  In order to avoid any performance
5058
 
  impact, the peer verification is completely skipped in that case, which
5059
 
  makes it even faster than before.
5060
 
  
5061
 
  Bug: https://bugzilla.redhat.com/678580
5062
 
 
5063
 
Guenter Knauf (15 Mar 2011)
5064
 
- Removed unused var.
5065
 
 
5066
 
Daniel Stenberg (15 Mar 2011)
5067
 
- configure: stop using the deprecated AM_INIT_AUTOMAKE syntax
5068
 
 
5069
 
- protocol handler cleanup: SSL awareness
5070
 
  
5071
 
  As a follow-up to commit 8831000bc0: don't assume that the SSL powered
5072
 
  protocol alternatives are available.
5073
 
 
5074
 
- ldap: use the new protocol handler setup
5075
 
  
5076
 
  Use the new flags field and stop using the old protocol defines.
5077
 
 
5078
 
- TODO-RELEASE: add and remove issues
5079
 
  
5080
 
  Removed a fixed issue, added five new existing ones and clarified one of
5081
 
  the previous ones.
5082
 
 
5083
 
- protocols: use CURLPROTO_ internally
5084
 
  
5085
 
  The PROT_* set of internal defines for the protocols is no longer
5086
 
  used. We now use the same bits internally as we have defined in the
5087
 
  public header using the CURLPROTO_ prefix. This is for simplicity and
5088
 
  because the PROT_* prefix was already used duplicated internally for a
5089
 
  set of KRB4 values.
5090
 
  
5091
 
  The PROTOPT_* defines were moved up to just below the struct definition
5092
 
  within which they are used.
5093
 
 
5094
 
- protocol handler: added flags field
5095
 
  
5096
 
  The protocol handler struct got a 'flags' field for special information
5097
 
  and characteristics of the given protocol.
5098
 
  
5099
 
  This now enables us to move away central protocol information such as
5100
 
  CLOSEACTION and DUALCHANNEL from single defines in a central place, out
5101
 
  to each protocol's definition. It also made us stop abusing the protocol
5102
 
  field for other info than the protocol, and we could start cleaning up
5103
 
  other protocol-specific things by adding flags bits to set in the
5104
 
  handler struct.
5105
 
  
5106
 
  The "protocol" field connectdata struct was removed as well and the code
5107
 
  now refers directly to the conn->handler->protocol field instead. To
5108
 
  make things work properly, the code now always store a conn->given
5109
 
  pointer that points out the original handler struct so that the code can
5110
 
  learn details from the original protocol even if conn->handler is
5111
 
  modified along the way - for example when switching to go over a HTTP
5112
 
  proxy.
5113
 
 
5114
 
Patrick Monnerat (14 Mar 2011)
5115
 
- - Take new char * options into account in OS400 curl_easy_setopt_ccsid().
5116
 
  - Keep RPG binding, STRING_* table end check and OS400 README up to date.
5117
 
 
5118
 
Daniel Stenberg (14 Mar 2011)
5119
 
- FAQ: indent tables
5120
 
  
5121
 
  Lines that are indented with at least 5 spaces get special treatment by
5122
 
  the script that converts it to HTML on the site.
5123
 
 
5124
 
- sslgen: define Curl_ssl_connect_nonblocking for non-SSL
5125
 
  
5126
 
  The non-blocking connect improvement for IMAP showed that we didn't
5127
 
  properly define the Curl_ssl_connect_nonblocking function for non-SSL
5128
 
  builds.
5129
 
  
5130
 
  Reported by: Tor Arntsen
5131
 
 
5132
 
- configure: removed wrongly claimed default paths
5133
 
  
5134
 
  Several --with-XXX options claimed the wrong default path in their help
5135
 
  outputs.
5136
 
  
5137
 
  Reported by: Vincent Torri
5138
 
 
5139
 
- [Ask Bjørn Hansen brought this change]
5140
 
 
5141
 
  mk-ca-bundle.pl: Only download if modified
5142
 
  
5143
 
  Only download and convert the certdata to the ca-bundle.crt if Mozilla
5144
 
  changed the data
5145
 
  
5146
 
  The Perl LWP module (which in a bit of a circular reference is used by
5147
 
  mk-ca-bundle.pl) is now indirectly using this script. I made this small
5148
 
  tweak to make it easier to automatically maintain the generated
5149
 
  ca-bundle.crt file in version control.
5150
 
 
5151
 
- SSH: add protocol lock direction
5152
 
  
5153
 
  Some protocols have to call the underlying functions without regard to
5154
 
  what exact state the socket signals. For example even if the socket says
5155
 
  "readable", the send function might need to be called while uploading,
5156
 
  or vice versa. This is the case for libssh2 based protocols: SCP and
5157
 
  SFTP and we now introduce a define to set those protocols and we make
5158
 
  the multi interface code aware of this concept.
5159
 
  
5160
 
  This is another fix to make test 582 run properly.
5161
 
 
5162
 
- state: add missing state to debug table
5163
 
  
5164
 
  As a new state recently was added to the IMAP state machine it has to be
5165
 
  in the array of names as well as otherwise libcurl crashes when a debug
5166
 
  version runs...
5167
 
 
5168
 
- test 582: enabled again
5169
 
  
5170
 
  Commit ca37692bf43b5ef should now hopefully make it run
5171
 
 
5172
 
- ssh_statemach_act: set cselect for sftp upload
5173
 
  
5174
 
  For uploads we want to use the _sending_ function even when the socket
5175
 
  turns out readable as the underlying libssh2 sftp send function will
5176
 
  deal with both accordingly. This is what the cselect_bits magic is for.
5177
 
  
5178
 
  Fixes test 582.
5179
 
 
5180
 
- RELEASE-NOTES: synced with e649a7baae2
5181
 
 
5182
 
- Revert "test582: enabled"
5183
 
  
5184
 
  This reverts commit b8478187406cf625c9d0f10b45a082221130cc92.
5185
 
 
5186
 
- Merge branch 'imap' of https://github.com/bnoordhuis/curl into bnoordhuis-imap
5187
 
 
5188
 
- TODO-RELEASE: fixed four isues
5189
 
  
5190
 
  These issues are now addressed:
5191
 
  
5192
 
  276 - Karl M's vc makefile patch
5193
 
  277 - The "Stall when uploading to sftp using multi interface"  bug
5194
 
  279 - curl_multi_remove_handle() crashes
5195
 
  280 - Marcus Sundberg's gss patch
5196
 
 
5197
 
- [Karl M brought this change]
5198
 
 
5199
 
  VC: add missing file
5200
 
  
5201
 
  http_negotiate_sspi.c was added to the source tree recently
5202
 
 
5203
 
- [Marcus Sundberg brought this change]
5204
 
 
5205
 
  GSS: handle reuse fix
5206
 
  
5207
 
  Make GSS authentication work when a curl handle is reused for multiple
5208
 
  authenticated requests, by always setting negdata->state in
5209
 
  output_auth_headers().
5210
 
  
5211
 
  Signed-off-by: Marcus Sundberg <marcus.sundberg@aptilo.com>
5212
 
 
5213
 
- test583: verify early SSH multi remove handle
5214
 
  
5215
 
  This test case is meant to verify that the logic in commit
5216
 
  60172a0446bbe3f8b actually works. This test failed for me before that
5217
 
  change and it works after it.
5218
 
 
5219
 
- SFTP: gracefully handle shutdown early
5220
 
  
5221
 
  When using the multi interface and a handle using SFTP was removed very
5222
 
  early on, we would get a segfault due to the code assumed data was there
5223
 
  that hadn't yet been setup.
5224
 
  
5225
 
  Bug: http://curl.haxx.se/mail/lib-2011-03/0066.html
5226
 
  Reported by: Saqib Ali
5227
 
 
5228
 
- [Manuel Massing brought this change]
5229
 
 
5230
 
  CURL_CHECK_FUNC_RECVFROM: android/bionic fix
5231
 
  
5232
 
  recvfrom in bionic (the android libc) deviates from POSIX and uses a
5233
 
  const in the 5th argument ("const struct sockaddr *") so the check now
5234
 
  tests for that as well.
5235
 
 
5236
 
- test582: enabled
5237
 
 
5238
 
- PROT_CLOSEACTION: added SFTP and SCP
5239
 
  
5240
 
  Both SFTP and SCP are protocols that need to shut down stuff properly
5241
 
  when the connection is about to get torned down. The primary effect of
5242
 
  not doing this shows up as memory leaks (when using SCP or SFTP with the
5243
 
  multi interface).
5244
 
  
5245
 
  This is one of the problems detected by test 582.
5246
 
 
5247
 
- readwrite_upload: stop upload at file size
5248
 
  
5249
 
  As we know how much to send, we can and should stop once we've sent that
5250
 
  much data as it avoids having to rely on other mechanisms to detect the
5251
 
  end.
5252
 
  
5253
 
  This is one of the problems detected by test 582.
5254
 
  
5255
 
  Reported by: Henry Ludemann <misc@hl.id.au>
5256
 
 
5257
 
- sftp upload: expire to advance state machine
5258
 
  
5259
 
  When using the multi_socket API to do SFTP upload, it is important that
5260
 
  we set a quick expire when leaving the SSH_SFTP_UPLOAD_INIT state as
5261
 
  there's nothing happening on the socket so there's no read or write to
5262
 
  wait for, but the next libssh2 API function needs to be called to get
5263
 
  the ball rolling.
5264
 
  
5265
 
  This is one of the problems detected by test 582.
5266
 
  
5267
 
  Reported by: Henry Ludemann <misc@hl.id.au>
5268
 
 
5269
 
- test582: improved info messages